From 35b784bffc614e58df2e559ebf06a0b4e227fe37 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 28 Apr 2021 16:02:14 +0800 Subject: [PATCH] no message --- app.js | 2 +- pages/agent/ability-item/index.js | 2 +- pages/agent/ability-item/index.wxml | 2 +- pages/agent/appointment/index.js | 2 +- pages/client/factory-list/index.js | 1 - pages/client/index/index.js | 6 +++--- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app.js b/app.js index 1f3e00b..539fc8d 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,7 @@ //app.js App({ evn: 0, // 0: 开发版本;1:测试版本;2:生产版本 - tmplIds: [''], + tmplIds: ['AFoM5TOfsgERsfcetNSB0UlmEixnLF1ySXr54Bqno2M', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'], version: '1.4.1', xAppId: '503258978847953926', userInfo: null, diff --git a/pages/agent/ability-item/index.js b/pages/agent/ability-item/index.js index 3c96be9..ae32396 100644 --- a/pages/agent/ability-item/index.js +++ b/pages/agent/ability-item/index.js @@ -53,7 +53,7 @@ Component({ } var categoryId = this.data.item.paperCategoryList[this.data.cateIndex].categoryId var activityId = this.data.item.activityId - var unitPrice = this.data.item.paperCategoryList[this.data.item.cateIndex].unitPrice + var unitPrice = this.data.item.paperCategoryList[this.data.cateIndex].unitPrice wx.navigateTo({ url: `/pages/agent/appointment/index?id=${this.data.item.paperMillId}&categoryId=${categoryId}&activityId=${activityId}&unitPrice=${unitPrice}` }) } } diff --git a/pages/agent/ability-item/index.wxml b/pages/agent/ability-item/index.wxml index 8bd41e4..7940d54 100644 --- a/pages/agent/ability-item/index.wxml +++ b/pages/agent/ability-item/index.wxml @@ -15,7 +15,7 @@ - + {{cateItem.categoryName}} {{formate.formatePrice(cateItem.unitPrice)}}元/吨 diff --git a/pages/agent/appointment/index.js b/pages/agent/appointment/index.js index b9fe6fe..1d620a9 100644 --- a/pages/agent/appointment/index.js +++ b/pages/agent/appointment/index.js @@ -238,7 +238,7 @@ Scene({ this.data.form.carInfos = vehicleList var that = this wx.requestSubscribeMessage({ - tmplIds: app.agentMsgIds, + tmplIds: app.tmplIds, complete(res) { that.submitOrder() } diff --git a/pages/client/factory-list/index.js b/pages/client/factory-list/index.js index e84a1f4..67ad0c3 100644 --- a/pages/client/factory-list/index.js +++ b/pages/client/factory-list/index.js @@ -12,7 +12,6 @@ Page({ loading: true, requesting: false, finished: false, - top: 0, orderList: [], form: { funcType: 0, diff --git a/pages/client/index/index.js b/pages/client/index/index.js index ac91acd..ce3d042 100644 --- a/pages/client/index/index.js +++ b/pages/client/index/index.js @@ -10,9 +10,9 @@ Page({ safeBottom: app.globalData.safeBottom, fragment: app.globalData.safeFragmentHeight, tabList: [ - { index: 0, value: 'message', badge: 0, name: '消息', blue: '/assets/image/tabbar/mall-blue.png', gray: '/assets/image/tabbar/mall-gray.png' }, - { index: 1, value: 'work', badge: 0, name: '工作台', blue: '/assets/image/tabbar/process-blue.png', gray: '/assets/image/tabbar/process-gray.png' }, - { index: 2, value: 'home', badge: 0, name: '我的', blue: '/assets/image/tabbar/home-blue.png', gray: '/assets/image/tabbar/home-gray.png' } + { index: 0, value: 'message', badge: 0, name: '消息', blue: '/assets/tabbar/mall-blue.png', gray: '/assets/tabbar/mall-gray.png' }, + { index: 1, value: 'work', badge: 0, name: '工作台', blue: '/assets/tabbar/process-blue.png', gray: '/assets/tabbar/process-gray.png' }, + { index: 2, value: 'home', badge: 0, name: '我的', blue: '/assets/tabbar/home-blue.png', gray: '/assets/tabbar/home-gray.png' } ], tabIndex: 1, visiable: true