diff --git a/common/config.js b/common/config.js index 94f9838..842471c 100644 --- a/common/config.js +++ b/common/config.js @@ -141,11 +141,12 @@ module.exports = { registerUserApp:REAUEST_ROOTPATH + "/mobile/weixin/registerUserApp" ,//app注册 getScenicListByGuids:REAUEST_ROOTPATH + "/mobile/scenic/getScenicListByGuids" ,//获取热门景点列表 deleteUserApp:REAUEST_ROOTPATH + "/mobile/weixin/deleteUserApp" ,//注销账号 - - + + //票务这边的 pageComplaintinfo:PWPATH+"/app-api/wechatshop/complaintinfo/pageComplaintinfo",//获得投诉建议分页 createComplaintinfo: PWPATH +"/app-api/wechatshop/complaintinfo/createComplaintinfo",//创建投诉建议 + getComplaintinfo: PWPATH +"/app-api/wechatshop/complaintinfo/getComplaintinfo",//投诉建议详情 getTicketSortList: PWPATH + "/app-api/wechatshop/ticket/getTicketSortList",//获取门票分类 getTicketList: PWPATH + "/app-api/wechatshop/ticket/getTicketList",//获取门票列表分页 isQuota: PWPATH + "/app-api/wechatshop/ticket/isQuota",//查询是否限购 diff --git a/pages.json b/pages.json index 1200fbf..49001e7 100644 --- a/pages.json +++ b/pages.json @@ -32,7 +32,6 @@ { "root": "subPageA", "pages": [ - { "path": "scenic/sceniclist/sceniclist", "style": { @@ -91,7 +90,6 @@ } } }, - { "path": "method/methodlist/methodlist", "style": { @@ -127,8 +125,6 @@ } } }, - - { "path": "scenic/scenicdetial/scenicdetial", "style": { @@ -146,7 +142,6 @@ "navigationBarTitleText": "攻略简介" } }, - { "path": "search/search", "style": { @@ -159,8 +154,6 @@ "navigationBarTitleText": "720全景" } }, - - { "path": "scenic/scenicdetial/ticket/ticket", "style": { @@ -170,15 +163,12 @@ } } }, - - { "path": "personcenter/middlePage", "style": { "navigationBarTitleText": "加载中" } }, - { "path": "personcenter/aboutus", "style": { @@ -192,7 +182,6 @@ "navigationBarTitleText": "系统更新" } }, - { "path": "personcenter/scanCodeRecord/scanCodeRecord", "style": { @@ -298,7 +287,6 @@ "navigationBarTitleText": "娱乐场所" } }, - { "path": "cate/index", "style": { @@ -412,6 +400,12 @@ "navigationBarTitleText": "" } }, + { + "path": "suggest/jianyiDetail", + "style": { + "navigationBarTitleText": "" + } + }, { "path": "tousu/tousulist/tousulist", "style": { @@ -520,4 +514,4 @@ } ] } -} +} \ No newline at end of file diff --git a/subPageB/suggest/jianyiDetail.vue b/subPageB/suggest/jianyiDetail.vue new file mode 100644 index 0000000..9b50342 --- /dev/null +++ b/subPageB/suggest/jianyiDetail.vue @@ -0,0 +1,192 @@ + + + + + \ No newline at end of file diff --git a/subPageB/suggest/sug_list.vue b/subPageB/suggest/sug_list.vue index f3cfc5d..33f7b37 100644 --- a/subPageB/suggest/sug_list.vue +++ b/subPageB/suggest/sug_list.vue @@ -23,8 +23,8 @@ - - + + {{ item.ctype }} @@ -45,7 +45,7 @@ {{ item.creason }} - + @@ -145,6 +145,12 @@ export default { // this.getUserMsg(); }, methods: { + getComplaintinfo(val){ + console.log(val, '投诉详情') + uni.navigateTo({ + url: '/subPageB/suggest/jianyiDetail?type=' + this.type + '&id=' + val.guid, + }) + }, onReachScroll: function (t) { if (this.loadType) { this.page++; @@ -217,7 +223,7 @@ export default { "creason": data[i].creason, "address": data[i].address, "ctype": data[i].ctype, - "imgList": data[i].cimages, + "imgList": data[i].cimages==""?[]:data[i].cimages, "showHideType": "zhed_gao", "upDownType": "down_touj" }