修改参数
This commit is contained in:
parent
ce03c0de2b
commit
21425c0306
|
|
@ -47,14 +47,17 @@
|
||||||
<image
|
<image
|
||||||
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;">
|
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;"
|
||||||
|
v-if="!userInfo.business_time">
|
||||||
</image>
|
</image>
|
||||||
<text style="margin-right: 16rpx; color: #ec5d57;">待完善</text>
|
<text style="margin-right: 16rpx;"
|
||||||
|
:style="{ color: userInfo.business_time ? '#c9c9c9' : '#ec5d57' }">
|
||||||
|
{{ userInfo.business_time ? '已设置' : '待完善' }}
|
||||||
|
</text>
|
||||||
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 服务技能 -->
|
|
||||||
<view class="info-item" @click="navigateToServiceSkill">
|
<view class="info-item" @click="navigateToServiceSkill">
|
||||||
<view class="info-left">
|
<view class="info-left">
|
||||||
<image class="item-icon"
|
<image class="item-icon"
|
||||||
|
|
@ -66,9 +69,14 @@
|
||||||
<image
|
<image
|
||||||
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;">
|
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;"
|
||||||
|
v-if="!userInfo.servers_kill_arr || userInfo.servers_kill_arr.length === 0">
|
||||||
</image>
|
</image>
|
||||||
<text style="margin-right: 16rpx; color: #389930;">已认证</text>
|
<text style="margin-right: 16rpx;"
|
||||||
|
:style="{ color: (userInfo.servers_kill_arr && userInfo.servers_kill_arr.length > 0) ? '#333333' : '#ec5d57' }">
|
||||||
|
{{ (userInfo.servers_kill_arr && userInfo.servers_kill_arr.length > 0) ? '已设置' :
|
||||||
|
'待完善' }}
|
||||||
|
</text>
|
||||||
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -153,9 +161,14 @@
|
||||||
<image
|
<image
|
||||||
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
|
||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;">
|
style="width:26rpx;margin-top: 26rpx;position: relative;top: 4rpx;left: -10rpx;"
|
||||||
|
v-if="userInfo.credentials_state === 0">
|
||||||
</image>
|
</image>
|
||||||
<text style="margin-right: 16rpx; color: #e59e45;">审核中</text>
|
<text style="margin-right: 16rpx;"
|
||||||
|
:style="{ color: userInfo.credentials_state === 0 ? '#ec5d57' : userInfo.credentials_state === 1 ? '#e59e45' : '#c9c9c9' }">
|
||||||
|
{{ userInfo.credentials_state === 0 ? '待完善' : userInfo.credentials_state === 1 ? '审核中' :
|
||||||
|
'已认证' }}
|
||||||
|
</text>
|
||||||
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
<image class="arrow-right" src="/static/images/arrow_right.png" mode="aspectFit">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -475,7 +488,7 @@
|
||||||
console.log('调用接口获取用户信息,type:', type)
|
console.log('调用接口获取用户信息,type:', type)
|
||||||
|
|
||||||
// 调用接口获取用户信息
|
// 调用接口获取用户信息
|
||||||
const result = await request.post('sj/user/getUser', {
|
const result = await request.post('/sj/user/getUser', {
|
||||||
type
|
type
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -494,6 +507,7 @@
|
||||||
|
|
||||||
// 降级方案:尝试从其他可能的位置获取用户ID
|
// 降级方案:尝试从其他可能的位置获取用户ID
|
||||||
this.tryAlternativeUserInfo()
|
this.tryAlternativeUserInfo()
|
||||||
|
uni.hideLoading();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentStep: 4, // 当前步骤索引
|
currentStep: 0, // 当前步骤索引
|
||||||
isAgree: false,
|
isAgree: false,
|
||||||
identity: null,
|
identity: null,
|
||||||
textData: {},
|
textData: {},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue