diff --git a/pages/index/index.vue b/pages/index/index.vue index 0abc14f..4fd57a8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -884,8 +884,9 @@ }) break; case 3: + uni.navigateTo({ - url: '/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=' + + url: '/pages/users/supply_procurement/index?type_id=12&isDetail=1&product_type=98&cate_id=' + this.userInfoData.mer_info.category_id }) break; diff --git a/pages/store/home/index.vue b/pages/store/home/index.vue index 3617143..96e6f1b 100644 --- a/pages/store/home/index.vue +++ b/pages/store/home/index.vue @@ -11,7 +11,7 @@ - + @@ -1077,10 +1077,11 @@ // this.tabs = this.tabs2 // this.service_open = false // } - if (res.data.business_status == 2) { + if (res.data.business_status == 2) { this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3 } else { this.tabs = this.tabs5 + this.type=7 } this.tab(this.type) // #ifdef H5 diff --git a/pages/users/supply_procurement/index.vue b/pages/users/supply_procurement/index.vue index c23819d..6313251 100644 --- a/pages/users/supply_procurement/index.vue +++ b/pages/users/supply_procurement/index.vue @@ -11,7 +11,7 @@ - +

先货后款

diff --git a/utils/uniMPevent.js b/utils/uniMPevent.js index 83795db..b85f87b 100644 --- a/utils/uniMPevent.js +++ b/utils/uniMPevent.js @@ -56,6 +56,7 @@ export const initEvent = () => { }); } if (ret.event == 'log') { + console.log('收到小程序事件: ' + JSON.stringify(ret)); } }); diff --git a/utils/uniMPfunction.js b/utils/uniMPfunction.js index 3d207f1..cbfd557 100644 --- a/utils/uniMPfunction.js +++ b/utils/uniMPfunction.js @@ -18,4 +18,7 @@ export const uniMPgetLocation = () => { } }); }) -} \ No newline at end of file +} + + +