diff --git a/api/promotion/coupon.js b/api/promotion/coupon.js
index d3549b59..0d2d08bd 100644
--- a/api/promotion/coupon.js
+++ b/api/promotion/coupon.js
@@ -6,6 +6,10 @@ export function takeCoupon(templateId) {
});
}
+export function getCouponPage(data) {
+ return request.get("app-api/promotion/coupon/page", data);
+}
+
export function getCouponTemplateList(spuId, useType) {
return request.get("app-api/promotion/coupon-template/list", {
spuId,
diff --git a/pages/users/user_coupon/index.vue b/pages/users/user_coupon/index.vue
index 662e4368..e3aa3412 100644
--- a/pages/users/user_coupon/index.vue
+++ b/pages/users/user_coupon/index.vue
@@ -1,87 +1,80 @@
- 未使用
- 已使用/过期
+ 未使用
+ 已使用
+ 已过期
-
- ¥{{item.money?Number(item.money):''}}
- 满{{ item.minPrice?Number(item.minPrice):'' }}元可用
+
+ ¥
+ {{ fen2yuan(item.discountPrice) }}
+ {{ (item.discountPercent / 10.0).toFixed(1) }} 折
+
+ 满 {{ fen2yuan(item.usePrice) }} 元可用
- 通用
- 商品
- 品类
+ 通用
+ 商品
+ 品类
{{item.name}}
- {{item.useStartTimeStr}}~{{item.useEndTimeStr}}
- {{item.validStr | validStrFilter}}
+
+ {{ formatDate(item.validStartTime) + " - " + formatDate(item.validEndTime) }}
+
+ {{ item.status | validStrFilter }}
- {{loadTitle}}
-
+ {{loadTitle}}
+
-
+
-
-
-
-
-