fix
pyt
2025-03-19 94b196521a9cc1d46fc20a590a425c49fa7dfe32
fix
3个文件已修改
42 ■■■■■ 已修改文件
H5/pages/authentication/authentication.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/components/certificate/certificate.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/index/index.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/authentication/authentication.vue
@@ -196,12 +196,13 @@
        methods: {
            // 返回小程序主页
            back() {
                let userInfo = uni.getStorageSync('userInfo')
                if (userInfo.isAdmin) {
                    uni.navigateBack()
                } else {
                    this.$jweixin.miniProgram.navigateBack()
                }
                // let userInfo = uni.getStorageSync('userInfo')
                // if (userInfo.isAdmin) {
                //     uni.navigateBack()
                // } else {
                //     this.$jweixin.miniProgram.navigateBack()
                // }
            },
            // 提交(优化后)
            async save() {
@@ -439,7 +440,7 @@
    }
    .content {
        background-image: url('/static/home/bg@2x.png');
        background-image: url('@/static/home/bg@2x.png');
        background-size: 750rpx 648rpx;
        padding-top: 100rpx;
H5/pages/components/certificate/certificate.vue
@@ -5,7 +5,7 @@
                <view class="popup_content flex flex-column a-center">
                    <text class="fs-35 font-bold color3 mt-46">党员证件</text>
                    <view class="bg font-w500 fs-23 mt-38 flex  flex-column a-center">
                        <image :src="info.avatar" class="w-133 h-156 mt-52" mode=""></image>
                        <image :src="info.avatar" class="w-133 h-133 mt-52" mode=""></image>
                        <view class="flex j-between" style="width: 481rpx;">
                            <view class="flex flex-column mr-40 lh-44">
                                <text>姓名:</text>
@@ -22,7 +22,7 @@
                        </view>
                    </view>
                    <view class="flex a-center mt-24">
                    <view class="flex a-center">
                        <view class="btn_left" @click="onclose">
                            关闭
                        </view>
@@ -75,13 +75,13 @@
    /deep/ .u-popup__content {
        width: 635rpx;
        height: 692rpx;
        height: 672rpx;
        border-radius: 40rpx;
    }
    .popup_main {
        width: 635rpx;
        height: 692rpx;
        height: 672rpx;
        border-radius: 40rpx;
        background-image: url('@/static/home/bg1.png');
        /* 背景图片铺满容器 */
@@ -99,9 +99,10 @@
        height: 423rpx;
        background-image: url('@/static/home/bg2.png');
        /* 背景图片铺满容器 */
        background-size: 100% 100%;
        background-size: 100%;
        /* 背景图片不重复 */
        background-repeat: no-repeat;
        /* 背景图片居中显示 */
        background-position: center;
    }
H5/pages/index/index.vue
@@ -144,7 +144,7 @@
            </view>
        </u-popup>
        <!-- 认证弹窗 -->
        <CustomPopup v-if="Object.keys(userInfo).length" :overlayOpacity="userInfo.permissions.length == 0 || (userInfo.auditStatus == 0 && userInfo.permissions.length == 1) ? 1 : 0.5" ref="renzhengPop"
        <CustomPopup :overlayOpacity="overlayOpacity" ref="renzhengPop"
            confirmText="去认证" @close="closeH5" @comfirm="toRenzheng">
            <view class="txt-center fs-31 lh-42 pt-50 pb-17 color5">
                <view class="">
@@ -178,13 +178,13 @@
        <CustomPopup ref="confirmPop" confirmText="确认" :isCountDown="true" :isOneBtn="true" @comfirm="comfirm">
            <view class="txt-center fs-31 lh-42 pt-48 pb-58 color5">
                <view class="">
                    请仔细核对账号信息以及功能是否与
                    请仔细核对账号信息和功能, 是否与
                </view>
                <view class="">
                    组织要求的职责匹配,如不匹配,请
                    本人职责匹配,如不匹配,请向社区、
                </view>
                <view class="">
                    向社区、部门反映修改权限!
                    部门反映修改权限!
                </view>
            </view>
        </CustomPopup>
@@ -225,6 +225,7 @@
                noreadlists: [],
                changeRolePopup: false,
                activeRole: 1,
                overlayOpacity: 0.5
            }
        },
        onPullDownRefresh() {
@@ -298,9 +299,14 @@
                    changeIdentity({
                        identity: e.identity
                    }).then(res => {
                        uni.showToast({
                            title:'修改成功'
                        })
                        setTimeout(()=>{
                        this.changeRolePopup = false
                        this.getMessagelist()
                        this.getappletcinfo()
                        },1000)
                    })
                }
            },
@@ -359,6 +365,7 @@
                })
            },
            async getappletcinfo() {
                // 获取三个身边当前用户信息 用于判断用户是否是上级
                let res = await getCurrentUserInfo()
                // 获取身份信息
@@ -381,15 +388,18 @@
                    this.$refs.dongjiePop.showPopup()
                    return
                }
                if (!this.userInfo.isPartymember && this.userInfo.identity == '1' && this.userInfo.auditStatus ==
                    null) {
                    // 党员没有认证,多个角色
                    this.$refs.renzhengPop.showPopup()
                    this.overlayOpacity = 0.5
                    return
                }
                if (!this.userInfo.isPartymember && this.userInfo.auditStatus === null && !this.userInfo.identity) {
                    // 没有认证过且没有提交认证,单个角色
                    this.$refs.renzhengPop.showPopup()
                    this.overlayOpacity = 1
                    return
                }
                if (!this.userInfo.isPartymember && this.userInfo.auditStatus === 0 && this.userInfo.identity == '1') {