['首页更多跳转更多优惠券列表']

This commit is contained in:
2021-09-17 13:09:03 +08:00
parent 1635540868
commit 1d2c408b8b
4 changed files with 866 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ const getCouponsInfoById = (id) => {
// 根据企业id获取企业首页的轮播图列表
const couponsByCompanyId = (data) => {
return request({
url: 'coupons',
url: 'coupons/all',
method: 'get',
data: data
})

View File

@@ -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": {

File diff suppressed because one or more lines are too long

View File

@@ -142,7 +142,7 @@
<view class="title">
限时抢购<text>海量商家优惠券</text>
</view>
<navigator class="more" url="#">查看更多</navigator>
<navigator class="more" url="/pages/coupons/couponList">查看更多</navigator>
</view>
<view class="coupons" v-if="coupons.length > 0">
<view class="coupons-item" v-for="(item, index) in coupons" :key="index">