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 @@
};
-