全民股东页面增加信息确认弹窗

This commit is contained in:
2026-03-06 10:03:06 +08:00
parent 189459845c
commit 1264286269
3 changed files with 544 additions and 12 deletions

View File

@@ -202,8 +202,8 @@
<view class="share" @click="showSharePopup = true">分享邀请</view>
</view>
</view>
<view class="u-m-t-32 join-text u-font-28" v-if="state.group&&state.group.isEnable" @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>
@@ -222,22 +222,31 @@
:levelConfigList="config.levelConfigList || []"></commissionPopup>
<rulePopup v-model="showRule" :config="config" :distributionUser="state.distributionUser"></rulePopup>
<popupDistributionGroupCode :group="state.group" v-model="showGroup"></popupDistributionGroupCode>
<ymf-share-popup ></ymf-share-popup>
<ymf-share-popup></ymf-share-popup>
<registermember v-model="memberOpen" @close="memberPopupClose" :shopUserInfo="shopUserInfo"
:shopId="options.shopId"></registermember>
</view>
</template>
<script setup>
import popupDistributionGroupCode from '@/components/popup-distribution-group-code.vue';
const showGroup=ref(false)
import registermember from '@/components/registermember.vue';
const showGroup = ref(false)
const memberOpen = ref(false)
function memberPopupClose() {
memberOpen.value = false
}
import {
distributionClear
} from '@/common/api/market';
import {
shareMixin,
handleMixinOnLoad,wxShare,
handleMixinOnLoad,
wxShare,
returnQuery
} from '@/utils/share.js';
import bindShangji from './components/bind-shangji.vue';
@@ -434,8 +443,8 @@
if (res.distributionId) {
options.type = 'activates';
}
if(res.distributionUser&&!res.distributionUser.firstIn&&res.group&&res.group.isEnable){
showGroup.value=true
if (res.distributionUser && !res.distributionUser.firstIn && res.group && res.group.isEnable) {
showGroup.value = true
}
Object.assign(state, res);
if (res.distributionUser) {
@@ -482,7 +491,7 @@
parentPhone: '',
parentName: '',
shopName: '',
group:{}
group: {}
});
const query = reactive({
@@ -630,6 +639,12 @@
console.log(options);
await init();
getRecoders();
if (!shopUserInfo.value || (shopUserInfo.value.nickName === '微信用户' || !shopUserInfo.value
.nickName) || !shopUserInfo.value.phone) {
memberOpen.value = true
}
} catch (error) {
console.log(error);
}
@@ -919,7 +934,8 @@
}
}
}
.join-text{
.join-text {
color: #02bbf3;
text-align: center;
}