修改参数

This commit is contained in:
丁杰 2026-06-01 11:16:19 +08:00
parent ce03c0de2b
commit 21425c0306
2 changed files with 608 additions and 594 deletions

View File

@ -47,14 +47,17 @@
<image
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
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>
<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>
</view>
</view>
<!-- 服务技能 -->
<view class="info-item" @click="navigateToServiceSkill">
<view class="info-left">
<image class="item-icon"
@ -66,9 +69,14 @@
<image
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
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>
<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>
</view>
@ -153,9 +161,14 @@
<image
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/338d957b-cbb6-409b-9e7a-ef5faa0f9b70.png"
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>
<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>
</view>
@ -178,12 +191,12 @@
</template>
<script>
import {
import {
handleImgSizeUni
} from '@/utils/service.js'
import request from "../../utils/request";
} from '@/utils/service.js'
import request from "../../utils/request";
export default {
export default {
data() {
return {
identity: '',
@ -475,7 +488,7 @@
console.log('调用接口获取用户信息type:', type)
//
const result = await request.post('sj/user/getUser', {
const result = await request.post('/sj/user/getUser', {
type
})
@ -494,6 +507,7 @@
// ID
this.tryAlternativeUserInfo()
uni.hideLoading();
}
},
@ -636,17 +650,17 @@
})
}
}
}
}
</script>
<style>
.profile-page {
.profile-page {
min-height: 100vh;
background-color: #f5f5f5;
}
}
/* 自定义导航栏样式 */
.custom-navbar {
/* 自定义导航栏样式 */
.custom-navbar {
position: fixed;
top: 0;
left: 0;
@ -663,21 +677,21 @@
/* 适配不同机型的顶部安全区域 */
padding-top: var(--status-bar-height);
height: calc(128rpx + var(--status-bar-height));
}
}
/* 导航栏左侧 */
.navbar-left {
/* 导航栏左侧 */
.navbar-left {
display: flex;
align-items: center;
}
}
.back-icon {
.back-icon {
width: 16rpx;
height: 32rpx;
margin-right: 23rpx;
}
}
.navbar-title {
.navbar-title {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 32rpx;
@ -685,29 +699,29 @@
line-height: 45rpx;
text-align: left;
font-style: normal;
}
}
/* 导航栏右侧状态栏 */
.navbar-right {
/* 导航栏右侧状态栏 */
.navbar-right {
display: flex;
align-items: center;
}
}
.nav-status-item {
.nav-status-item {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 11rpx;
padding: 16rpx;
}
}
.nav-status-icon {
.nav-status-icon {
width: 44rpx;
height: 44rpx;
margin-bottom: 7rpx;
}
}
.nav-status-text {
.nav-status-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 20rpx;
@ -715,29 +729,29 @@
line-height: 28rpx;
text-align: left;
font-style: normal;
}
}
.content {
.content {
padding: 20rpx;
/* 动态计算内容区域的上边距 */
padding-top: calc(128rpx + var(--status-bar-height) + 20rpx);
}
}
/* 部分卡片 */
.section-card {
/* 部分卡片 */
.section-card {
background: white;
border-radius: 20rpx;
padding: 20rpx 20rpx 0 20rpx;
margin-bottom: 20rpx;
}
}
.section-header {
.section-header {
display: flex;
align-items: center;
margin-bottom: 8rpx;
}
}
.section-title {
.section-title {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 32rpx;
@ -745,17 +759,17 @@
line-height: 48rpx;
text-align: left;
font-style: normal;
}
}
.title-bar {
.title-bar {
width: 6rpx;
height: 30rpx;
background-color: #E8101E;
margin-right: 10rpx;
border-radius: 5rpx;
}
}
.section-desc {
.section-desc {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
@ -765,45 +779,45 @@
font-style: normal;
margin-left: 20rpx;
letter-spacing: 0.5rpx;
}
}
/* 子部分 */
.subsection {
/* 子部分 */
.subsection {
/* margin-top: 10rpx; */
/* margin-left: 17rpx; */
}
}
.subsection-content {
.subsection-content {
border-radius: 12rpx;
overflow: hidden;
margin-left: 17rpx;
}
}
/* 信息项 */
.info-item {
/* 信息项 */
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 32rpx 0;
border-bottom: 1rpx solid #f0f0f0;
}
}
.info-item:last-child {
.info-item:last-child {
border-bottom: none;
}
}
.info-left {
.info-left {
display: flex;
align-items: center;
}
}
.item-icon {
.item-icon {
width: 48rpx;
height: 48rpx;
margin-right: 24rpx;
}
}
.item-label {
.item-label {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 28rpx;
@ -811,11 +825,11 @@
line-height: 40rpx;
text-align: left;
font-style: normal;
}
}
.arrow-right {
.arrow-right {
margin-right: 19rpx;
width: 11rpx;
height: 22rpx;
}
}
</style>

View File

@ -110,7 +110,7 @@ export default {
},
data() {
return {
currentStep: 4, //
currentStep: 0, //
isAgree: false,
identity: null,
textData: {},