From 4fa115a18c12894394a7f2c55d42ff789dbf0ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B1=AA?= <781521347@qq.com> Date: Mon, 22 Nov 2021 15:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 +- pages/index/index.vue | 5 + pages/my/index.vue | 213 ++++++++++++++++--------------- pages/order/index.vue | 7 +- pagesB/pages/member/feedback.vue | 19 ++- pagesB/pages/my/shareFriends.vue | 7 +- 6 files changed, 147 insertions(+), 110 deletions(-) diff --git a/pages.json b/pages.json index 58bf89a..6a3b857 100644 --- a/pages.json +++ b/pages.json @@ -7,7 +7,7 @@ "style": { "backgroundColor": "#FFFFFF", "navigationBarTitleText": "番茄饭团", - "enablePullDownRefresh": false + "enablePullDownRefresh": true // "navigationStyle": "custom" } }, @@ -73,7 +73,7 @@ "path": "pages/order/index", "style": { "navigationBarTitleText": "我的订单", - "enablePullDownRefresh": false + "enablePullDownRefresh": true } }, { @@ -115,7 +115,7 @@ "path": "pages/my/index", "style": { "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": false + "enablePullDownRefresh": true } }, diff --git a/pages/index/index.vue b/pages/index/index.vue index 7c23501..ed758d4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -230,6 +230,10 @@ // } // }) }, + onPullDownRefresh() { + this.page = 1; + this.getHaoDianTuiJian1(); + }, onShow() { let that = this; var city = this.$queue.getData('city'); @@ -482,6 +486,7 @@ this.loadingType = 2; } uni.hideLoading(); + uni.stopPullDownRefresh() }) }, setMorKm(m) { diff --git a/pages/my/index.vue b/pages/my/index.vue index 22231e3..4c4e344 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -98,12 +98,18 @@ 联系我们 - + 设置 + + + + 邀请好友 + + --> + @@ -23,6 +23,9 @@ --> + + + 提交 @@ -150,7 +153,7 @@ }; -