diff --git a/pages.json b/pages.json
index 125fc31..fc7fa14 100644
--- a/pages.json
+++ b/pages.json
@@ -78,6 +78,12 @@
"navigationBarTitleText" : "视频"
}
},
+ {
+ "path":"user/rewardsCenter",
+ "style" : {
+ "navigationBarTitleText" : "兑换中心"
+ }
+ },
{
"path": "ticket/index",
"style": {
diff --git a/subPackages/user/rewardsCenter.vue b/subPackages/user/rewardsCenter.vue
index e17fde4..cc4b75d 100644
--- a/subPackages/user/rewardsCenter.vue
+++ b/subPackages/user/rewardsCenter.vue
@@ -1,20 +1,14 @@
@@ -33,7 +27,6 @@
console.log('提交的兑换码',this.password);
let that = this
that.password = that.password.trim()
- that.$refs.popup.close()
if (that.password== '') {
uni.showToast({
title: '请输入优惠券领取卡号',
@@ -46,8 +39,6 @@
}, "/api/coupon/getCoupon").then((res) => {
console.log(res.code);
if (res.code == 200) {
- that.coupon = []
- this.getList(this.navList[0])
uni.showToast({
title: '兑换成功',
icon: 'none'
@@ -67,57 +58,62 @@