diff --git a/app.js b/app.js index caeee4c..a3a5f26 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ App({ // 获取前端配置文件 commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest131? true : false; + data.isTest = data.isTest140? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/search/list/index.wxml b/pages/search/list/index.wxml index 6fc1997..a6b8cce 100644 --- a/pages/search/list/index.wxml +++ b/pages/search/list/index.wxml @@ -71,6 +71,17 @@ + + + + + {{item.ext.name}} + + {{item.ext.begin_date}}-{{item.ext.end_date}} + {{item.ext.from_platform}} + + + diff --git a/project.private.config.json b/project.private.config.json index 3255440..0e91f87 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -10,8 +10,8 @@ "name": "subPackages/foodListNew/index", "pathName": "subPackages/foodListNew/index", "query": "", - "scene": null, - "launchMode": "default" + "launchMode": "default", + "scene": null } ] } diff --git a/utils/util.js b/utils/util.js index ae04163..8756297 100644 --- a/utils/util.js +++ b/utils/util.js @@ -297,6 +297,12 @@ const gotoDetail = (item,isPagePoint,queryStr="") =>{ url: '/pages/info/activityInfo/index?id='+(item.act_calendar_id || item.id)+queryStr }) break; + case "act_calendar": + // 活动 + wx.navigateTo({ + url: '/pages/info/activityInfo/index?id='+(item.act_calendar_id || item.id)+queryStr + }) + break; case "movie": // 产品 电影票 let tempUrl = 'https://m.cloud.sz-trip.com'+`/MovieInfo?id=${item.third_id || item.id}`+'&title='+item.title+queryStr