diff --git a/pages/coupon/coupon.vue b/pages/coupon/coupon.vue
index 2bf6f89..7895561 100644
--- a/pages/coupon/coupon.vue
+++ b/pages/coupon/coupon.vue
@@ -10,6 +10,10 @@
+
+ 前往兑换中心 >
+
+
@@ -95,4 +99,20 @@
}
}
}
+
+ .goRewards{
+ width: 400rpx;
+ height: 80rpx;
+ background: #FFFFFF;
+ border-radius: 40rpx;
+ font-weight: 500;
+ font-size: 31rpx;
+ color: #000000;
+ margin: 0 auto;
+ position: fixed;
+ bottom: 180rpx;
+ text-align: center;
+ line-height: 80rpx;
+ left: calc( 50% - 200rpx );
+ }
\ No newline at end of file
diff --git a/subPackages/user/rewardsCenter.vue b/subPackages/user/rewardsCenter.vue
index cc4b75d..bea06ec 100644
--- a/subPackages/user/rewardsCenter.vue
+++ b/subPackages/user/rewardsCenter.vue
@@ -35,8 +35,8 @@
return
}
that.Post({
- card_key: that.password
- }, "/api/coupon/getCoupon").then((res) => {
+ key: that.password
+ }, "/api/coupon/get_coupon").then((res) => {
console.log(res.code);
if (res.code == 200) {
uni.showToast({