Commit 6095ee5e authored by zhengke's avatar zhengke

修改跟团游

parent 7f0cfa25
...@@ -74,7 +74,6 @@ Page({ ...@@ -74,7 +74,6 @@ Page({
} }
}, },
ChangeSite(val) { ChangeSite(val) {
console.log(val.detail);
this.data.listmsg.companyId = val.companyId; this.data.listmsg.companyId = val.companyId;
this.data.listmsg.cityId = val.cityId; this.data.listmsg.cityId = val.cityId;
this.setData({ this.setData({
...@@ -89,7 +88,6 @@ Page({ ...@@ -89,7 +88,6 @@ Page({
cityId: this.data.site.cityId, cityId: this.data.site.cityId,
} }
app.$api('b2b_get_GetGroupSearchItem', tagmsg).then(res => { app.$api('b2b_get_GetGroupSearchItem', tagmsg).then(res => {
console.log(res);
res.startCity.unshift({ res.startCity.unshift({
id: 0, id: 0,
startCityName: '不限' startCityName: '不限'
...@@ -124,7 +122,6 @@ Page({ ...@@ -124,7 +122,6 @@ Page({
}, },
//点击月份的到出发结束日期 //点击月份的到出发结束日期
getStartMonth(e) { getStartMonth(e) {
console.log(e);
let year = new Date().getFullYear(); let year = new Date().getFullYear();
let month = e.target.dataset.type; let month = e.target.dataset.type;
let firstdate = year + '-' + month + '-01'; let firstdate = year + '-' + month + '-01';
...@@ -150,7 +147,6 @@ Page({ ...@@ -150,7 +147,6 @@ Page({
}, },
//点击过滤条件 //点击过滤条件
changeOrderType(e) { changeOrderType(e) {
console.log(e);
let type = e.target.dataset.type; let type = e.target.dataset.type;
if (this.data.orderindex == type) { if (this.data.orderindex == type) {
this.data.ordertype = this.data.ordertype == 0 ? 1 : 0 this.data.ordertype = this.data.ordertype == 0 ? 1 : 0
...@@ -162,9 +158,6 @@ Page({ ...@@ -162,9 +158,6 @@ Page({
orderindex: this.data.orderindex, orderindex: this.data.orderindex,
ordertype: this.data.ordertype ordertype: this.data.ordertype
}) })
console.log(this.data.orderindex, 'orderindex');
console.log(this.data.ordertype, 'ordertype');
this.onLoad(); this.onLoad();
}, },
...@@ -184,12 +177,10 @@ Page({ ...@@ -184,12 +177,10 @@ Page({
this.setData({ this.setData({
listmsg: that.data.listmsg listmsg: that.data.listmsg
}) })
console.log("listmsg", that.data.listmsg)
app.$api('b2b_get_GetB2BTravelPageList', that.data.listmsg).then(res => { app.$api('b2b_get_GetB2BTravelPageList', that.data.listmsg).then(res => {
res.pageData.forEach(x => { res.pageData.forEach(x => {
x.newImgCover = JSON.parse(x.imgCover); x.newImgCover = JSON.parse(x.imgCover);
}) })
console.log(res.pageData, 'ssss');
this.setData({ this.setData({
dataList: res.pageData, dataList: res.pageData,
ScreenStatus: false ScreenStatus: false
...@@ -213,7 +204,6 @@ Page({ ...@@ -213,7 +204,6 @@ Page({
}, },
//点击出发城市 //点击出发城市
getStartCity(e) { getStartCity(e) {
console.log(e);
this.data.listmsg.startCityId = e.target.dataset.id; this.data.listmsg.startCityId = e.target.dataset.id;
this.data.ckedStartCity = e.target.dataset.index; this.data.ckedStartCity = e.target.dataset.index;
this.setData({ this.setData({
......
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