修复默认弹促销

master
paulGao 2021-12-23 16:06:59 +08:00
parent 07627c41e3
commit 09ec1e8c06
1 changed files with 11 additions and 16 deletions

View File

@ -362,7 +362,7 @@ import { getGoods, getGoodsList, getMpScene, getGoodsDistribution } from "@/api/
import * as API_trade from "@/api/trade.js";
import * as API_Members from "@/api/members.js";
import * as API_store from "@/api/store.js";
import { getIMDetail } from '@/api/common'
import { getIMDetail } from "@/api/common";
import { modelNavigateTo } from "@/pages/tabbar/home/template/tpl.js";
/************请求存储***************/
import storage from "@/utils/storage.js";
@ -443,7 +443,6 @@ export default {
popupsSwitch: false, //
shareFlage: false,
selectedGoods: "", //
promotionFlag: true, //
isGroup: false, //
pointDetail: "", //
assemble: "", //sku
@ -523,12 +522,11 @@ export default {
startTimer: false, // false
routerVal: "",
IMLink:"", // IM
IMLink: "", // IM
};
},
computed:{
computed: {
IM() {
return this.IMLink + this.storeDetail.merchantEuid;
},
@ -699,24 +697,21 @@ export default {
}
// IM 使
// this.getIMDetailMethods();
},
async getIMDetailMethods(){
let res = await getIMDetail()
if(res.data.success){
this.IMLink = res.data.result
}
async getIMDetailMethods() {
let res = await getIMDetail();
if (res.data.success) {
this.IMLink = res.data.result;
}
},
linkMsgDetail() {
if(this.storeDetail.merchantEuid){
if (this.storeDetail.merchantEuid) {
uni.navigateTo({
url:`/pages/tabbar/home/web-view?src=${this.IM}`
url: `/pages/tabbar/home/web-view?src=${this.IM}`,
});
}
else{
} else {
//
// #ifdef MP-WEIXIN
const params = {