吴门医述放底栏,绑定手机号-点击确认时没提示修改成功

This commit is contained in:
liqianyouyou
2024-02-27 22:20:18 +08:00
parent 059c5b029f
commit 804d40335d
5 changed files with 45 additions and 24 deletions

View File

@@ -100,7 +100,7 @@
</view>
</u-modal> -->
<!-- <z-navigation></z-navigation> -->
<z-navigation></z-navigation>
</view>
</template>

View File

@@ -34,10 +34,10 @@
<text>书名检索</text>
</div> -->
<div class="item item1" @click="onPageJump('../medicaldes/medicaldes')">
<!-- <div class="item item1" @click="onPageJump('../medicaldes/medicaldes')">
<image src="../../static/icon/five5.png" mode="aspectFit"></image>
<text>吴门医述</text>
</div>
<text>中医研究</text>
</div> -->
</view>
</view>

View File

@@ -452,7 +452,7 @@
// 手机
chosePhone(e) {
this.userMes.code = this.userMes.phonecode
this.userMes.code = this.userMes.phonecode
if (this.userMes.phone == '') {
uni.showToast({
title: '请输入手机号',
@@ -467,6 +467,7 @@
});
return;
}
let that = this
$http.request({
url: "book/user/updateUserTel",
method: "POST",
@@ -476,8 +477,8 @@
},
}).then(function(res) {
if (res.code == 0) {
this.getData();
this.phoneShow = false
that.getData();
that.phoneShow = false
uni.showToast({
title: "绑定手机号成功"
});
@@ -506,6 +507,8 @@
});
return;
}
let that = this
$http.request({
url: "book/user/updateUserEmail",
method: "POST",
@@ -515,8 +518,8 @@
},
}).then(function(res) {
if (res.code == 0) {
this.getData();
this.emailShow = false
that.getData();
that.emailShow = false
uni.showToast({
title: "绑定邮箱成功"
});