分享问题修复
This commit is contained in:
@@ -112,8 +112,9 @@
|
|||||||
// console.log('分享组件挂载完毕:currentOptions',currentOptions);
|
// console.log('分享组件挂载完毕:currentOptions',currentOptions);
|
||||||
if(res){
|
if(res){
|
||||||
Object.assign(config,res)
|
Object.assign(config,res)
|
||||||
|
const rewardSharePages=res.rewardSharePages.split(',')
|
||||||
const pTag = returnPageTags(path)
|
const pTag = returnPageTags(path)
|
||||||
if(pTag&¤tOptions.fromUserId&&res.isSharedUserPopup){
|
if( pTag&&rewardSharePages.includes(pTag)&¤tOptions.fromUserId&&res.isSharedUserPopup){
|
||||||
show.value=true
|
show.value=true
|
||||||
}
|
}
|
||||||
// if(res.sharedUserCouponId&&res.sharedUserCouponNum){
|
// if(res.sharedUserCouponId&&res.sharedUserCouponNum){
|
||||||
|
|||||||
@@ -203,7 +203,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="u-m-t-32 join-text u-font-28" @click="showGroup=true" >
|
<view class="u-m-t-32 join-text u-font-28" v-if="state.group&&state.group.isEnable" @click="showGroup=true" >
|
||||||
加入股东群,优惠、活动多多{{'>>'}}
|
加入股东群,优惠、活动多多{{'>>'}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -434,7 +434,7 @@
|
|||||||
if (res.distributionId) {
|
if (res.distributionId) {
|
||||||
options.type = 'activates';
|
options.type = 'activates';
|
||||||
}
|
}
|
||||||
if(res.distributionUser&&!res.distributionUser.firstIn){
|
if(res.distributionUser&&!res.distributionUser.firstIn&&res.group&&res.group.isEnable){
|
||||||
showGroup.value=true
|
showGroup.value=true
|
||||||
}
|
}
|
||||||
Object.assign(state, res);
|
Object.assign(state, res);
|
||||||
|
|||||||
Reference in New Issue
Block a user