['首页更多跳转更多优惠券列表']
This commit is contained in:
@@ -33,7 +33,7 @@ const getCouponsInfoById = (id) => {
|
|||||||
// 根据企业id获取企业首页的轮播图列表
|
// 根据企业id获取企业首页的轮播图列表
|
||||||
const couponsByCompanyId = (data) => {
|
const couponsByCompanyId = (data) => {
|
||||||
return request({
|
return request({
|
||||||
url: 'coupons',
|
url: 'coupons/all',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
|
|||||||
10
pages.json
10
pages.json
@@ -375,6 +375,16 @@
|
|||||||
"navigationBarTitleText": "优惠券"
|
"navigationBarTitleText": "优惠券"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
"path": "pages/coupons/couponList",
|
||||||
|
"name": "Coupons",
|
||||||
|
"style": {
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
|
"navigationBarTextStyle": "white",
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"backgroundColor": "#e93340"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
"path": "pages/coupons/management",
|
"path": "pages/coupons/management",
|
||||||
"name": "CouponsMag",
|
"name": "CouponsMag",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
854
pages/coupons/couponList.vue
Normal file
854
pages/coupons/couponList.vue
Normal file
File diff suppressed because one or more lines are too long
@@ -142,7 +142,7 @@
|
|||||||
<view class="title">
|
<view class="title">
|
||||||
限时抢购<text>海量商家优惠券</text>
|
限时抢购<text>海量商家优惠券</text>
|
||||||
</view>
|
</view>
|
||||||
<navigator class="more" url="#">查看更多</navigator>
|
<navigator class="more" url="/pages/coupons/couponList">查看更多</navigator>
|
||||||
</view>
|
</view>
|
||||||
<view class="coupons" v-if="coupons.length > 0">
|
<view class="coupons" v-if="coupons.length > 0">
|
||||||
<view class="coupons-item" v-for="(item, index) in coupons" :key="index">
|
<view class="coupons-item" v-for="(item, index) in coupons" :key="index">
|
||||||
|
|||||||
Reference in New Issue
Block a user