Commit db0634b2 by 李伟康

commit

1 parent 6c70da8a
......@@ -20,7 +20,7 @@ export default {
})
},
showShareModel(i) {
let { tabIndex, entry } = this
let { tabIndex } = this
if (tabIndex == 0 && i.remainAmount < 1) return
if (tabIndex == 1 && i.residueAmount < 1) return
wxConfig
......@@ -36,7 +36,7 @@ export default {
},
sendMessage(i) {
let { merchantId } = this.getLocalStorage('dj_scrm_userInfo')
let { tabIndex, entry } = this
let { tabIndex, entry, tabList } = this
let { name } = this.$route
let { userId, id, couponName, activityName, packageName, goodsName, goodsImage } = i
let shopmall_appId = environment == 'beta' ? 'wx9f91c1ec493eb425' : 'wxe10067a63c1856ac'
......@@ -47,7 +47,7 @@ export default {
case 'coupon': {
let desc = '您的专属服务顾问为您发来了优惠券,请点击领取~'
let imgUrl = 'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png'
if (tabIndex == 0) {
if (tabIndex == 0 && tabList.length > 1) {
if (entry != 'normal')
this.sendChatMessage({
appid: dj_appId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!