From 48825ae81fe03077ac27fe839c93322ad1788ac8 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 10 九月 2024 15:21:00 +0800
Subject: [PATCH] update css
---
pages.json | 2 +-
sub_pages/customer/coupon/good-all.vue | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/pages.json b/pages.json
index 679e5d0..498f72e 100644
--- a/pages.json
+++ b/pages.json
@@ -471,7 +471,7 @@
"style": {
"navigationBarTitleText": "积分兑换",
"navigationStyle": "custom",
- "enablePullDownRefresh": false
+ "enablePullDownRefresh": true
}
},
{
diff --git a/sub_pages/customer/coupon/good-all.vue b/sub_pages/customer/coupon/good-all.vue
index 55bc7f4..7647cb4 100644
--- a/sub_pages/customer/coupon/good-all.vue
+++ b/sub_pages/customer/coupon/good-all.vue
@@ -193,6 +193,12 @@
this.listApi = '/api/customer/point/goods/list'
this.getList()
},
+ onPullDownRefresh() {
+ //刷新积分和刷新商品
+ this.$store.dispatch('getCurrentInfo');
+ // this.list = []
+ this.refreshList()
+ },
onReachBottom() {
this.getMore()
--
Gitblit v1.9.3