diff --git a/pages.json b/pages.json index ee89adb..361ab5f 100644 --- a/pages.json +++ b/pages.json @@ -364,6 +364,17 @@ //app页面不显示滚动条 "scrollIndicator": "none" } + }, + { // 客服 + "path": "customerservice/index", + "style": { + "navigationBarTitleText": "客服", + "usingComponents": { + // #ifdef MP-WEIXIN + "chat": "plugin://myPlugin/chat" + // #endif + } + } } ] diff --git a/pages/customerservice/index.vue b/pages/customerservice/index.vue deleted file mode 100644 index e69de29..0000000 diff --git a/pages/product/customerservice/index.vue b/pages/product/customerservice/index.vue new file mode 100644 index 0000000..a3356d7 --- /dev/null +++ b/pages/product/customerservice/index.vue @@ -0,0 +1,78 @@ + + \ No newline at end of file diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 26a605e..2a25917 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -162,10 +162,10 @@ 店铺 - + 购物车 @@ -486,7 +486,11 @@ export default { this.getGoodsCollectionFun(this.goodsDetail.id); } }, - + linkMsgDetail () { + uni.navigateTo({ + url: '/pages/product/customerservice/index' + }) + }, // 格式化金钱 1999 --> [1999,00] formatPrice(val) { if (typeof val == "undefined") {