Commit 14265875 authored by zhengke's avatar zhengke

增加跳转

parent 6095ee5e
...@@ -185,7 +185,6 @@ Page({ ...@@ -185,7 +185,6 @@ Page({
dataList: res.pageData, dataList: res.pageData,
ScreenStatus: false ScreenStatus: false
}) })
}).catch(err => { }) }).catch(err => { })
}, },
//点击重置 //点击重置
...@@ -212,6 +211,14 @@ Page({ ...@@ -212,6 +211,14 @@ Page({
}) })
this.onLoad(); this.onLoad();
}, },
//跳转至详情
Godetail(e) {
console.log(e);
let item = e.currentTarget.dataset;
wx.navigateTo({
url: '/pages/GroupTour/GroupDetails/GroupDetails?idDes=' + encodeURIComponent(item.id) + "&tcid=" + item.tcid,
})
},
ScreenOpen() { ScreenOpen() {
this.setData({ this.setData({
ScreenStatus: true, ScreenStatus: true,
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<view wx:for="{{startCityList}}" bindtap='getStartCity' data-id="{{item.id}}" data-index="{{index}}" wx:key="index" class="{{ckedStartCity==index?'ScrollActive':''}}">{{item.startCityName}}</view> <view wx:for="{{startCityList}}" bindtap='getStartCity' data-id="{{item.id}}" data-index="{{index}}" wx:key="index" class="{{ckedStartCity==index?'ScrollActive':''}}">{{item.startCityName}}</view>
</scroll-view> </scroll-view>
<!-- 列表数据 --> <!-- 列表数据 -->
<view class="ListItem" wx:for="{{dataList}}" wx:key="index"> <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> </view>
...@@ -62,13 +62,6 @@ ...@@ -62,13 +62,6 @@
<!-- 筛选多条件 --> <!-- 筛选多条件 -->
<view bindtap='CloseScreen' data-target="self" class="screen" hidden="{{!ScreenStatus}}"> <view bindtap='CloseScreen' data-target="self" class="screen" hidden="{{!ScreenStatus}}">
<view> <view>
<!-- <view class="title">系列</view>
<view class="xl">
<text>本州 147升级版</text>
<text>希尔顿假期系列</text>
<text>希尔顿假期系列</text>
<text>小王子x列</text>
</view> -->
<view class="title">出发日期</view> <view class="title">出发日期</view>
<view class="DatePicker"> <view class="DatePicker">
<picker class="pcikerView" mode="date" value="{{date}}" data-type="{{1}}" bindchange="bindDateChange"> <picker class="pcikerView" mode="date" value="{{date}}" data-type="{{1}}" bindchange="bindDateChange">
......
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