diff --git a/pages.json b/pages.json
index f776bdf..9b10a21 100644
--- a/pages.json
+++ b/pages.json
@@ -19,7 +19,8 @@
"path": "pages/tabbar/cart/cartList",
"style": {
"navigationBarTitleText": "购物车",
- "navigationBarBackgroundColor": "#fff"
+ "navigationBarBackgroundColor": "#fff",
+ "enablePullDownRefresh":true //实现下拉刷新样式
}
}, {
diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue
index 3732497..41b562c 100644
--- a/pages/cart/coupon/myCoupon.vue
+++ b/pages/cart/coupon/myCoupon.vue
@@ -116,6 +116,7 @@ export default {
},
onShow() {
+ this.navList[this.tabCurrentIndex].params.pageNumber = 1
this.navList[this.tabCurrentIndex].dataList = [];
this.getData();
},
diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue
index 525684a..e8691d7 100644
--- a/pages/tabbar/cart/cartList.vue
+++ b/pages/tabbar/cart/cartList.vue
@@ -27,10 +27,11 @@
{{
- item.storeName
+ item.storeName
}}
+
-
+
领劵
@@ -214,6 +215,10 @@ export default {
uni.showShareMenu({ withShareTicket: true });
// #endif
},
+ onPullDownRefresh(){
+ console.log("132")
+ this.getCardData();
+ },
/**
* 初始化信息
*/
@@ -508,6 +513,7 @@ export default {
});
API_Trade.getCarts()
.then((result) => {
+ uni.stopPullDownRefresh();
if (result.data.success) {
this.cartDetail = result.data.result;
this.checkout = true;
@@ -596,6 +602,7 @@ page {
.store-name {
font-weight: bold;
+ font-size: 28rpx;
}
.invalid {
filter: grayscale(1);