Merge branch 'feature-xxx' into dev
This commit is contained in:
@ -42,14 +42,15 @@ Page({
|
||||
success(res) {
|
||||
// console.log('后端返回---->',res.data);
|
||||
// 成功的回调
|
||||
wx.showToast({
|
||||
title: '更新成功',
|
||||
icon: 'success',
|
||||
});
|
||||
// 这里可以跳转到其他页面
|
||||
wx.navigateTo({
|
||||
url: '/pages/personCenter/withdrawalAccount/withdrawalAccount',
|
||||
});
|
||||
if (res.data.code === 1) {
|
||||
wx.showToast({
|
||||
title: '更新成功',
|
||||
icon: 'success',
|
||||
});
|
||||
setTimeout(() => {
|
||||
wx.navigateBack({});
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
fail(err) {
|
||||
// 失败的回调
|
||||
|
@ -80,8 +80,8 @@
|
||||
</view>
|
||||
|
||||
<!-- 保存按钮 -->
|
||||
<view wx:if="{{ isUpdate }}" class="flex-col justify-start items-center self-center text-wrapper_3">
|
||||
<text class="font_2 text_8" bindtap="updateInfo" >更新</text>
|
||||
<view wx:if="{{ isUpdate }}" class="flex-col justify-start items-center self-center text-wrapper_3" bindtap="updateInfo">
|
||||
<text class="font_2 text_8">更新</text>
|
||||
</view>
|
||||
<view wx:else="{{ isUpdate }}" class="flex-col justify-start items-center self-center text-wrapper_3">
|
||||
<text class="font_2 text_8" bindtap="saveInfo" >保存</text>
|
||||
|
@ -11,7 +11,7 @@
|
||||
.font_2 {
|
||||
font-size: 30.53rpx;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 28.09rpx;
|
||||
line-height: 30.53rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.text_2 {
|
||||
@ -37,6 +37,7 @@
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.text_3 {
|
||||
width: 90%;
|
||||
margin-left: 27.52rpx;
|
||||
}
|
||||
.font {
|
||||
@ -60,13 +61,14 @@
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.text_12 {
|
||||
width: 90%;
|
||||
margin-left: 25.8rpx;
|
||||
}
|
||||
.group_4 {
|
||||
line-height: 28.09rpx;
|
||||
}
|
||||
.text_1 {
|
||||
width: 400rpx;
|
||||
width: 90%;
|
||||
margin-left: 27.82rpx;
|
||||
}
|
||||
.group_5 {
|
||||
@ -76,6 +78,7 @@
|
||||
line-height: 28.21rpx;
|
||||
}
|
||||
.text_5 {
|
||||
width: 90%;
|
||||
margin-left: 26.74rpx;
|
||||
}
|
||||
.font_4 {
|
||||
@ -92,10 +95,10 @@
|
||||
}
|
||||
.text-wrapper_3 {
|
||||
margin-top: 57.25rpx;
|
||||
padding: 25.84rpx 0 20.5rpx;
|
||||
padding: 26.25rpx 0;
|
||||
background-color: #ff8d1a;
|
||||
border-radius: 19.08rpx;
|
||||
width: 248.09rpx;
|
||||
width: 243.75rpx;
|
||||
}
|
||||
.text_8 {
|
||||
color: #ffffff;
|
||||
|
Reference in New Issue
Block a user