From 804d40335d602712a54bc601af48424c01f8de8f Mon Sep 17 00:00:00 2001 From: liqianyouyou Date: Tue, 27 Feb 2024 22:20:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=B4=E9=97=A8=E5=8C=BB=E8=BF=B0=E6=94=BE?= =?UTF-8?q?=E5=BA=95=E6=A0=8F=EF=BC=8C=E7=BB=91=E5=AE=9A=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7-=E7=82=B9=E5=87=BB=E7=A1=AE=E8=AE=A4=E6=97=B6?= =?UTF-8?q?=E6=B2=A1=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/z-navigation/z-navigation.vue | 32 ++++++++++++++++-------- pages.json | 16 ++++++++---- pages/medicaldes/medicaldes.vue | 2 +- pages/peanut/home.vue | 6 ++--- pages/user/persData.vue | 13 ++++++---- 5 files changed, 45 insertions(+), 24 deletions(-) diff --git a/components/z-navigation/z-navigation.vue b/components/z-navigation/z-navigation.vue index 681f587..885b40d 100644 --- a/components/z-navigation/z-navigation.vue +++ b/components/z-navigation/z-navigation.vue @@ -57,12 +57,18 @@ // selectedIconPath: 'static/tab/icon3_y.png', // text: '我的书架' // }, - { - pagePath: 'pages/bookShop/orderList', - iconPath: 'static/tab/icon2_n.png', - selectedIconPath: 'static/tab/icon2_y.png', - text: '我的订单' + // { + // pagePath: 'pages/bookShop/orderList', + // iconPath: 'static/tab/icon2_n.png', + // selectedIconPath: 'static/tab/icon2_y.png', + // text: '我的订单' + // }, + { + "pagePath": "pages/medicaldes/medicaldes", + "iconPath": "static/icon/five5.png", + "selectedIconPath": "static/icon/five5.png", + "text": "吴门医述" }, { pagePath: 'pages/peanut/mine', @@ -77,12 +83,18 @@ selectedIconPath: 'static/tab/icon1_y.png', text: '首页' }, - { - pagePath: 'pages/bookShop/orderList', - iconPath: 'static/tab/icon2_n.png', - selectedIconPath: 'static/tab/icon2_y.png', - text: '我的订单' + // { + // pagePath: 'pages/bookShop/orderList', + // iconPath: 'static/tab/icon2_n.png', + // selectedIconPath: 'static/tab/icon2_y.png', + // text: '我的订单' + // }, + { + "pagePath": "pages/medicaldes/medicaldes", + "iconPath": "static/icon/five5.png", + "selectedIconPath": "static/icon/five5.png", + "text": "吴门医述" }, { pagePath: 'pages/peanut/mine', diff --git a/pages.json b/pages.json index 8c987b8..b37721f 100644 --- a/pages.json +++ b/pages.json @@ -488,7 +488,7 @@ "navigationBarTitleText": "脉穴详情", "enablePullDownRefresh": false } - },{ +},{ "path": "pages/acupoint/givenDegree", "style": { "navigationBarTitleText": "特定穴位", @@ -637,11 +637,17 @@ // "selectedIconPath": "static/tab/icon3_y.png", // "text": "我的书架" // }, + // { + // "pagePath": "pages/bookShop/orderList", + // "iconPath": "static/tab/icon2_n.png", + // "selectedIconPath": "static/tab/icon2_y.png", + // "text": "我的订单" + // }, { - "pagePath": "pages/bookShop/orderList", - "iconPath": "static/tab/icon2_n.png", - "selectedIconPath": "static/tab/icon2_y.png", - "text": "我的订单" + "pagePath": "pages/medicaldes/medicaldes", + "iconPath": "static/icon/five5.png", + "selectedIconPath": "static/icon/five5.png", + "text": "吴门医述" }, { "pagePath": "pages/peanut/mine", diff --git a/pages/medicaldes/medicaldes.vue b/pages/medicaldes/medicaldes.vue index cbc7d95..f492b58 100644 --- a/pages/medicaldes/medicaldes.vue +++ b/pages/medicaldes/medicaldes.vue @@ -100,7 +100,7 @@ --> - + diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 71a0353..50110b4 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -34,10 +34,10 @@ 书名检索 --> -
+ diff --git a/pages/user/persData.vue b/pages/user/persData.vue index c956beb..fecf4b3 100644 --- a/pages/user/persData.vue +++ b/pages/user/persData.vue @@ -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: "绑定邮箱成功" });