| | |
| | | this.inviteCodeShow = true |
| | | } else { |
| | | console.log(this.pageType) |
| | | console.log(this.user.tb_account) |
| | | if (this.pageType == 'tb' || this.pageType == 'tmshop' || this.pageType == 'tm') { |
| | | if (this.user.tb_account) { |
| | | this.getTbsrc() |
| | |
| | | goodsId: this.optionsInfo.goodsId, |
| | | type: 0 |
| | | }).then(e => { |
| | | |
| | | if (e.code != 0) return that.$alert(e.msg) |
| | | if(that.frompage=='freebuy') |
| | | {//0元购的记录商品id |
| | |
| | | pname: 'com.taobao.taobao', |
| | | action: 'taobao://' |
| | | })) { |
| | | |
| | | const plug = uni.requireNativePlugin('xiguazhu-baichuan') |
| | | console.log(tburl); |
| | | plug.detailPage({ |
| | | url: tburl, |
| | | "openType": 0 |
| | | }, result => { |
| | | // console.log(result); |
| | | console.log(result); |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |