1.4 修改概念中心日期默认传值

This commit is contained in:
尚政杰
2026-01-04 18:13:05 +08:00
parent 091c1372fd
commit 260fc7bebf
107 changed files with 480 additions and 256 deletions

View File

@@ -30,7 +30,10 @@
<textarea v-model="profile" placeholder="简单介绍一下自己吧" placeholder-style="color:#AAA"></textarea>
</view>
</view>
<view class="next fixed" @click="clickNext()">下一步</view>
<view class="bottomC fixed flex">
<view class="finish btn" @click="clickFinishOrNext(0)">完成</view>
<view class="next btn flex1" @click="clickFinishOrNext(1)">下一步</view>
</view>
</view>
</template>
@@ -104,9 +107,9 @@
}
},
/**
* 点击下一步
* 点击完成或下一步
*/
clickNext()
clickFinishOrNext(type)
{
if(!this.avatar&&!this.avatarUrl)
{
@@ -146,9 +149,12 @@
let param = {avatar:this.avatar,nickname:this.nickname,gender:this.sex=='男'?'male':'female',phone:this.mobile,
bio:this.profile,isFile:1}
updateBasicInfo(param).then(res=>{
uni.navigateTo({
url:'/pages/mine/investPreference/investPreference'
})
if (type==1) {
uni.navigateTo({
url:'/pages/mine/investPreference/investPreference'
})
}else
uni.navigateBack()
}).catch(error=>{
})
@@ -158,9 +164,12 @@
let param = {nickname:this.nickname,gender:this.sex=='男'?'male':'female',phone:this.mobile,
bio:this.profile}
updateBasicInfo(param).then(res=>{
uni.navigateTo({
url:'/pages/mine/investPreference/investPreference'
})
if (type==1) {
uni.navigateTo({
url:'/pages/mine/investPreference/investPreference'
})
}else
uni.navigateBack()
}).catch(error=>{
})
@@ -305,18 +314,33 @@
}
}
}
.next
.bottomC
{
background-color: #F97316;
left: 0;
right: 0;
bottom: 73rpx;
margin: 0 25rpx;
line-height: 80rpx;
border-radius: 20rpx;
font-size: 26rpx;
font-weight: 500;
color: white;
text-align: center;
.btn
{
line-height: 80rpx;
border-radius: 20rpx;
font-size: 26rpx;
text-align: center;
}
.finish
{
background-color: #FFE9D9;
width: 226rpx;
color: #F97316;
}
.next
{
background-color: #F97316;
margin-left: 20rpx;
color: white;
}
}
</style>