From 9aff0b29d4d68e3b2d4118c27e2c792037455440 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 06 六月 2023 13:42:46 +0800 Subject: [PATCH] no message --- uniapp/pages/goods/goodsDetail.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/uniapp/pages/goods/goodsDetail.vue b/uniapp/pages/goods/goodsDetail.vue index 5843ac4..c0ac99a 100644 --- a/uniapp/pages/goods/goodsDetail.vue +++ b/uniapp/pages/goods/goodsDetail.vue @@ -263,6 +263,7 @@ import pddEmpower from '../../components/pddempower.vue' import inviteCodeModel from '../../components/inviteCode.vue' import inviterModel from '../../components/inviterModel.vue' + export default { components: { empowerModel, @@ -305,6 +306,16 @@ if (this.memberId) { this.updataUser() } + + if(!getApp().globalData.hasinit) + { + console.log("鍒濆鍖�") + getApp().getAppInfo(); + } + if(!getApp().globalData.hasbcinit) + { + getApp().bcInit(); + } }, onLoad(options) { this.appinfo = utils.getCacheSync('appInfo') @@ -342,7 +353,9 @@ this.memberId = '' } this.getPageInfo() - if (this.pageType == 'tb' || this.pageType == 'tm') { + // if (this.pageType == 'tb' || this.pageType == 'tm') + if (this.pageType.includes('tb')||this.pageType.includes('tm')) + { this.pageInfo.showImgs = [] var a = {} a.url = this.optionsInfo.mainPic @@ -551,10 +564,12 @@ goodsId: this.optionsInfo.goodsId, type: 0 }).then(e => { + console.log(e) if (e.code != 0) return that.$alert(e.msg) var res = e.data.info; var tburl = res.shortUrl // #ifdef APP-PLUS + if (plus.runtime.isApplicationExist({ pname: 'com.taobao.taobao', action: 'taobao://' -- Gitblit v1.9.3