增加全民股东弹窗页面

This commit is contained in:
2026-03-06 14:09:13 +08:00
parent a6174a036c
commit 427f32ded7
4 changed files with 70 additions and 11 deletions

View File

@@ -223,7 +223,9 @@
<rulePopup v-model="showRule" :config="config" :distributionUser="state.distributionUser"></rulePopup>
<popupDistributionGroupCode :group="state.group" v-model="showGroup"></popupDistributionGroupCode>
<ymf-share-popup></ymf-share-popup>
<view class="screen_mask" v-if="screen_mask_show" @click="memberOpen=true"></view>
<registermember v-model="memberOpen" @close="memberPopupClose" :shopUserInfo="shopUserInfo"
@update="shopUserInfoUpdate"
:shopId="options.shopId"></registermember>
</view>
</template>
@@ -292,6 +294,10 @@
url: '/distribution/income-details/index?name=' + name + '&shopId=' + options.shopId
});
}
function shopUserInfoUpdate(e){
shopUserInfo.value=e
}
function questionClick(title) {
if (title == '总收益') {
@@ -629,7 +635,7 @@
query
});
});
onLoad(async (opt) => {
try {
await handleMixinOnLoad(opt);
@@ -643,9 +649,8 @@
console.log(options);
await init();
getRecoders();
if (!shopUserInfo.value || (shopUserInfo.value.nickName === '微信用户' || !shopUserInfo.value
.nickName) || !shopUserInfo.value.phone) {
const arr=shopUserInfo.value.shopConfirm.split(',')
if (!arr.includes(options.shopId)) {
memberOpen.value = true
}
@@ -653,6 +658,14 @@
console.log(error);
}
});
const screen_mask_show=computed(()=>{
const arr=shopUserInfo.value.shopConfirm.split(',')
if (!arr.includes(options.shopId)) {
return true
}
return false
})
onReachBottom(async () => {
if (!isEnd.value) {
@@ -947,4 +960,13 @@
color: #02bbf3;
text-align: center;
}
.screen_mask{
position: fixed;
left: 0;
right:0;
top:0;
bottom: 0;
z-index: 9;
background: transparent;
}
</style>