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

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

@@ -57,12 +57,18 @@
// selectedIconPath: 'static/tab/icon3_y.png', // selectedIconPath: 'static/tab/icon3_y.png',
// text: '我的书架' // text: '我的书架'
// }, // },
{ // {
pagePath: 'pages/bookShop/orderList', // pagePath: 'pages/bookShop/orderList',
iconPath: 'static/tab/icon2_n.png', // iconPath: 'static/tab/icon2_n.png',
selectedIconPath: 'static/tab/icon2_y.png', // selectedIconPath: 'static/tab/icon2_y.png',
text: '我的订单' // text: '我的订单'
// },
{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
}, },
{ {
pagePath: 'pages/peanut/mine', pagePath: 'pages/peanut/mine',
@@ -77,12 +83,18 @@
selectedIconPath: 'static/tab/icon1_y.png', selectedIconPath: 'static/tab/icon1_y.png',
text: '首页' text: '首页'
}, },
{ // {
pagePath: 'pages/bookShop/orderList', // pagePath: 'pages/bookShop/orderList',
iconPath: 'static/tab/icon2_n.png', // iconPath: 'static/tab/icon2_n.png',
selectedIconPath: 'static/tab/icon2_y.png', // selectedIconPath: 'static/tab/icon2_y.png',
text: '我的订单' // text: '我的订单'
// },
{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
}, },
{ {
pagePath: 'pages/peanut/mine', pagePath: 'pages/peanut/mine',

View File

@@ -488,7 +488,7 @@
"navigationBarTitleText": "脉穴详情", "navigationBarTitleText": "脉穴详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{ },{
"path": "pages/acupoint/givenDegree", "path": "pages/acupoint/givenDegree",
"style": { "style": {
"navigationBarTitleText": "特定穴位", "navigationBarTitleText": "特定穴位",
@@ -637,11 +637,17 @@
// "selectedIconPath": "static/tab/icon3_y.png", // "selectedIconPath": "static/tab/icon3_y.png",
// "text": "我的书架" // "text": "我的书架"
// }, // },
// {
// "pagePath": "pages/bookShop/orderList",
// "iconPath": "static/tab/icon2_n.png",
// "selectedIconPath": "static/tab/icon2_y.png",
// "text": "我的订单"
// },
{ {
"pagePath": "pages/bookShop/orderList", "pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/tab/icon2_n.png", "iconPath": "static/icon/five5.png",
"selectedIconPath": "static/tab/icon2_y.png", "selectedIconPath": "static/icon/five5.png",
"text": "我的订单" "text": "吴门医述"
}, },
{ {
"pagePath": "pages/peanut/mine", "pagePath": "pages/peanut/mine",

View File

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

View File

@@ -34,10 +34,10 @@
<text>书名检索</text> <text>书名检索</text>
</div> --> </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> <image src="../../static/icon/five5.png" mode="aspectFit"></image>
<text>吴门医述</text> <text>中医研究</text>
</div> </div> -->
</view> </view>
</view> </view>

View File

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