配置项修改,学员招募文字修改,认证状态修改。

This commit is contained in:
丁杰 2026-06-03 16:38:56 +08:00
parent 811a72cf34
commit 7549907688
4 changed files with 619 additions and 611 deletions

View File

@ -41,7 +41,8 @@
"Payment" : {},
"VideoPlayer" : {},
"OAuth" : {},
"Camera" : {}
"Camera" : {},
"Barcode" : {}
},
/* */
"distribute" : {

View File

@ -631,34 +631,29 @@
},
navigateToQualification() {
const state = this.userInfo.credentials_state;
const idType = this.userInfo.id_type;
const credentialsState = this.userInfo.credentials_state;
if (state === 1) {
// === 1. ===
// /
uni.navigateTo({
url: '/pages/ruzhu/ruzhu?type=1'
});
} else if (state === 0) {
// === 2. / ===
//
if (this.userInfo.id_type !== 0) {
//
uni.navigateTo({
url: '/pages/ruzhu/ruzhu?step=3'
});
} else {
//
if (idType === 0 && credentialsState === 0) {
//
uni.navigateTo({
url: '/pages/ruzhu/ruzhu'
});
}
} else {
// === 3. ===
// /
} else if (idType > 0 && credentialsState === 0) {
// +
uni.navigateTo({
url: '/pages/shop/qualification_sj_change'
});
} else if (idType > 0 && credentialsState === 1) {
// +
uni.navigateTo({
url: '/pages/shop/qualification_sj_change'
});
} else if (idType < 0 && credentialsState === 1) {
// +
uni.navigateTo({
url: '/pages/ruzhu/ruzhu?type=1'
});
}
},

View File

@ -34,8 +34,8 @@ const TAG_LIBRARY = {
borderColor: '#D6CAC0 ',
icon: 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/60816ae2-92ee-4473-9eca-562e1200dbca.png'
},
recruit: { //
text: '学招募',
recruit: { //
text: '学招募',
color: '#E5505F',
borderColor: '#EFCFD2 ',
icon: 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/fd0699b9-9f3c-4b1e-8693-d0c9ec7eabc3.png'

View File

@ -28,10 +28,11 @@
</view>
<view class="user_detail_tip" @click="toruzhu">
<image
:src="userInfo.credentials_state === 2 ? 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/13cd25db-5b52-4d36-bad2-ee8680eed65f.png' : 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/711e35a8-a7a1-4eb2-8a76-52ac9795fa7e.png'"
:src="(userInfo.credentials_state === 2 || (userInfo.id_type > 0 && userInfo.credentials_state === 0)) ? 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/13cd25db-5b52-4d36-bad2-ee8680eed65f.png' : 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/711e35a8-a7a1-4eb2-8a76-52ac9795fa7e.png'"
mode="widthFix" style="width:26rpx ;"></image>
<view class="user_detail_tip_phone" style="margin-left: -10rpx;">
{{ userInfo.credentials_state === 2 ? '认证通过' : userInfo.credentials_state === 1 ?
{{ (userInfo.credentials_state === 2 || (userInfo.id_type > 0 &&
userInfo.credentials_state === 0)) ? '认证通过' : userInfo.credentials_state === 1 ?
'资质审核中' : '资质待认证' }}
</view>
<image mode="widthFix"
@ -793,18 +794,29 @@ export default {
});
},
toruzhu() {
if (this.userInfo.credentials_state === 2) {
const idType = this.userInfo.id_type;
const credentialsState = this.userInfo.credentials_state;
if (idType === 0 && credentialsState === 0) {
//
uni.navigateTo({
url: '/pages/ruzhu/ruzhu'
});
} else if (idType > 0 && credentialsState === 0) {
// +
uni.navigateTo({
url: '/pages/shop/qualification_sj_change'
});
} else if (this.userInfo.credentials_state === 1) {
} else if (idType > 0 && credentialsState === 1) {
// +
uni.navigateTo({
url: '/pages/shop/qualification_sj_change'
});
} else if (idType < 0 && credentialsState === 1) {
// +
uni.navigateTo({
url: '/pages/ruzhu/ruzhu?type=1'
});
} else {
uni.navigateTo({
url: '/pages/ruzhu/ruzhu'
});
}
},
goToInviteList() {
@ -867,7 +879,7 @@ page {
position: relative;
padding-bottom: 50rpx;
padding-top: var(--status-bar-height);
background-image: url("https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/825812de-54b3-486a-a3a0-2c4a1fb9fd28.png");
background-image: url("https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/8c7c4d24-9a21-4d21-b1ed-1aa985d188e6.png");
background-position: 0 0;
background-size: 100%;
background-repeat: no-repeat;