diff --git a/pages.json b/pages.json index b95c574..b2c6759 100644 --- a/pages.json +++ b/pages.json @@ -221,7 +221,8 @@ } }, { - "path": "pages/pay/pay", + "path": "pages/pay/pay", + "name": "Pay", "style": { "navigationBarTitleText": "收银台", "navigationBarBackgroundColor": "#FFFFFF" @@ -250,8 +251,7 @@ "name": "signIndex", "style": { "navigationBarTitleText": "每日签到", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -259,8 +259,7 @@ "name": "menuIndex", "style": { "navigationBarTitleText": "食谱推荐", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -268,8 +267,7 @@ "name": "menuClassify", "style": { "navigationBarTitleText": "食谱推荐", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -277,8 +275,7 @@ "name": "menuDetails", "style": { "navigationBarTitleText": "食谱详情", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -286,8 +283,7 @@ "name": "topicIndex", "style": { "navigationBarTitleText": "话题广场", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -308,8 +304,7 @@ "name": "rankingIndex", "style": { "navigationBarTitleText": "食物排行", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -317,8 +312,7 @@ "name": "rankingList", "style": { "navigationBarTitleText": "食物榜单", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -326,8 +320,7 @@ "name": "rankingDetails", "style": { "navigationBarTitleText": "食物详情", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -335,8 +328,7 @@ "name": "noticeIndex", "style": { "navigationBarTitleText": "消息", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -344,8 +336,7 @@ "name": "noticeList", "style": { "navigationBarTitleText": "消息", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -353,8 +344,7 @@ "name": "noticeDetails", "style": { "navigationBarTitleText": "消息", - "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -458,8 +448,7 @@ "name": "serviceIndex", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom", - "enablePullDownRefresh": false + "navigationStyle": "custom" } }, { diff --git a/pages/auth/auth.vue b/pages/auth/auth.vue index 7130a85..9861044 100644 --- a/pages/auth/auth.vue +++ b/pages/auth/auth.vue @@ -70,7 +70,7 @@ import userAuth from "@/public/userAuth"; export default { data() { return { - phone: "14745798066", + phone: "", code: "", smsTime: 60, getSms: false, diff --git a/pages/essentialInfo/index.vue b/pages/essentialInfo/index.vue index e4e59f6..907777c 100644 --- a/pages/essentialInfo/index.vue +++ b/pages/essentialInfo/index.vue @@ -531,19 +531,22 @@ export default { days: 1, }; recordsHealth(params).then((res) => { - this.$refs.uToast.show({ - type: "success", - title: "创建成功", - message: "创建成功啦", - iconUrl: - "https://cdn.uviewui.com/uview/demo/toast/success.png", - complete() { - this.percentplan3 = 100; - this.behaviorShow = false; // 关闭运动量页面 - uni.navigateBack({}); - }, - }); - }); + uni.showModal({ + title: "提示", + content: "创建成功", + showCancel:false, + success: ModalRes => { + this.percentplan3 = 100; + this.behaviorShow = false; // 关闭运动量页面 + uni.navigateBack({}); + } + }) + }).catch(err => { + uni.showToast({ + title: err.message, + icon : 'none' + }) + }) } }, }, diff --git a/pages/menu/classify.vue b/pages/menu/classify.vue index bb194c2..a953069 100644 --- a/pages/menu/classify.vue +++ b/pages/menu/classify.vue @@ -88,8 +88,9 @@