diff --git a/apis/interfaces/coupon.js b/apis/interfaces/coupon.js
index 2520e5a..460f2d6 100644
--- a/apis/interfaces/coupon.js
+++ b/apis/interfaces/coupon.js
@@ -33,7 +33,7 @@ const getCouponsInfoById = (id) => {
// 根据企业id获取企业首页的轮播图列表
const couponsByCompanyId = (data) => {
return request({
- url: 'coupons',
+ url: 'coupons/all',
method: 'get',
data: data
})
diff --git a/pages.json b/pages.json
index a1212ac..b79aa90 100644
--- a/pages.json
+++ b/pages.json
@@ -375,6 +375,16 @@
"navigationBarTitleText": "优惠券"
}
}, {
+ "path": "pages/coupons/couponList",
+ "name": "Coupons",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTextStyle": "white",
+ "navigationStyle": "custom",
+ "backgroundColor": "#e93340"
+ }
+ },
+ {
"path": "pages/coupons/management",
"name": "CouponsMag",
"style": {
diff --git a/pages/coupons/couponList.vue b/pages/coupons/couponList.vue
new file mode 100644
index 0000000..c81551b
--- /dev/null
+++ b/pages/coupons/couponList.vue
@@ -0,0 +1,854 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+ {{item.subhead}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{it.title}}
+
+ {{it.channel.value === 'part'?'关联商品('+it.goods_count+')件':'全网商品通用'}}
+
+
+
+
+ {{it.price}} 元
+ {{it.title}}
+
+
+
+ {{it.title}}
+
+ {{it.channel.value === 'part'?'关联商品('+it.goods_count+')件':'全网商品通用'}}
+
+
+
+
+ 领取
+
+ 去使用
+
+ 过期
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
+
+ 惊喜多多
+
+
+
+
+ {{item.title}}
+ {{item.price}}元
+ {{item.title}}
+ 满{{item.full}}元可用
+
+
+ 关联商品 ({{item.goods_count>0?item.goods_count:'-'}}) 件
+
+
+
+ 每人限领{{item.my_get_quantity}}/{{item.person_quantity}}张
+
+
+
+ {{item.ratio}}%
+
+
+
+ 立即领取
+ 去使用
+
+
+
+
+
+
+
+
+ 服务券
+
+
+
+
+
+
+
+ {{item.title}}
+ 每人限领{{item.my_get_quantity}}/{{item.person_quantity}}张
+
+
+ {{item.channel.value === 'part'?'关联商品'+item.goods_count+'件选1':'全网商品通用'}}
+
+
+
+
+
+
+ 已抢 {{item.ratio}}%
+
+
+
+ 立即领取
+ 去使用
+
+
+
+
+
+
+ 代金券
+
+
+
+ {{item.price}} 元
+ {{item.type.text}}
+
+
+ {{item.title}}
+ 每人限领{{item.my_get_quantity}}/{{item.person_quantity}}张
+
+ {{item.channel.value === 'part'?'关联商品'+item.goods_count+'件选1':'全网商品通用'}}
+
+
+
+
+
+
+
+ 已抢 {{item.ratio}}%
+
+
+ 立即领取
+ 去使用
+
+
+
+
+
+
+ 提货券
+
+
+
+
+
+
+
+ {{item.title}}
+ 每人限领{{item.my_get_quantity}}/{{item.person_quantity}}张
+
+
+ {{item.channel.value === 'part'?'关联商品'+item.goods_count+'件选1':'全网商品通用'}}
+
+
+
+
+
+
+ 已抢 {{item.ratio}}%
+
+
+ 立即领取
+ 去使用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/equity/index.vue b/pages/equity/index.vue
index 0fd4374..e50f716 100644
--- a/pages/equity/index.vue
+++ b/pages/equity/index.vue
@@ -142,7 +142,7 @@
限时抢购海量商家优惠券
- 查看更多
+ 查看更多