diff --git a/pages.json b/pages.json index 8e52682..f82445a 100644 --- a/pages.json +++ b/pages.json @@ -18,8 +18,6 @@ "path": "pages/tabbar/cart/cartList", "style": { "navigationBarTitleText": "购物车", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#fff" } @@ -720,7 +718,7 @@ ] } ], - "globalStyle": { + "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "Lili商城", "titleColor": "#303133", diff --git a/pages/cart/coupon/index.vue b/pages/cart/coupon/index.vue index 9edd921..489d0b8 100644 --- a/pages/cart/coupon/index.vue +++ b/pages/cart/coupon/index.vue @@ -69,6 +69,10 @@ export default { routerVal: "", //上级传参 }; }, + onLoad(options){ + this.routerVal = options + + }, watch: { current(val) { console.log(this.$store.state.cantUseCoupons); @@ -114,10 +118,11 @@ export default {