Commit 735b4f75 authored by zhengke's avatar zhengke

增加天数

parent c27593fb
...@@ -213,7 +213,6 @@ Page({ ...@@ -213,7 +213,6 @@ Page({
}, },
//跳转至详情 //跳转至详情
Godetail(e) { Godetail(e) {
console.log(e);
let item = e.currentTarget.dataset; let item = e.currentTarget.dataset;
wx.navigateTo({ wx.navigateTo({
url: '/pages/GroupTour/GroupDetails/GroupDetails?idDes=' + encodeURIComponent(item.id) + "&tcid=" + item.tcid, url: '/pages/GroupTour/GroupDetails/GroupDetails?idDes=' + encodeURIComponent(item.id) + "&tcid=" + item.tcid,
...@@ -236,7 +235,6 @@ Page({ ...@@ -236,7 +235,6 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
console.log("options", options)
let that=this; let that=this;
if (options.lineId){ if (options.lineId){
that.data.listmsg.lineId=options.lineId; that.data.listmsg.lineId=options.lineId;
......
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
<view class="ListItem" wx:for="{{dataList}}" wx:key="index" data-id="{{item.id}}" data-tcid="{{item.tcid}}" bindtap='Godetail'> <view class="ListItem" wx:for="{{dataList}}" wx:key="index" data-id="{{item.id}}" data-tcid="{{item.tcid}}" bindtap='Godetail'>
<view class="imgView"> <view class="imgView">
<image src="{{item.newImgCover[0].Url}}"></image> <image src="{{item.newImgCover[0].Url}}"></image>
<view class="ListDays">
{{item.dayNum}}天
</view>
</view> </view>
<view class="ItemRight" style="width:460rpx;padding-left:15rpx"> <view class="ItemRight" style="width:460rpx;padding-left:15rpx">
<view class="text2 f26">{{item.title}}</view> <view class="text2 f26">{{item.title}}</view>
......
...@@ -47,7 +47,20 @@ ...@@ -47,7 +47,20 @@
padding: 30rpx 30rpx 15rpx 30rpx; padding: 30rpx 30rpx 15rpx 30rpx;
border-bottom: 1rpx solid #e9e9e9; border-bottom: 1rpx solid #e9e9e9;
} }
.ListItem .ListDays{
position: absolute;
left:0;
top:0;
border-top-left-radius: 6rpx;
border-bottom-right-radius: 6rpx;
width:60rpx;
height:40rpx;
background-color: #61DCD4;
color:#fff;
text-align: center;
line-height: 40rpx;
font-size:25rpx;
}
.ListView { .ListView {
border-top: 1rpx solid #e9e9e9; border-top: 1rpx solid #e9e9e9;
width: 100%; width: 100%;
...@@ -59,6 +72,8 @@ ...@@ -59,6 +72,8 @@
width: 210rpx; width: 210rpx;
height: 210rpx; height: 210rpx;
border-radius: 6rpx; border-radius: 6rpx;
overflow: hidden;
position: relative;
} }
.ListItem>view { .ListItem>view {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment