|
|
|
@ -56,7 +56,7 @@ |
|
|
|
|
<view class="swiper-item" @tap="tapList" :data-id="pro.id"> |
|
|
|
|
<image class="img" :src="imageUrl+pro.couponImg" mode="aspectFit"> |
|
|
|
|
</image> |
|
|
|
|
<view class="fotct fcor333 font14 text1 mart10">¥{{pro.couponName}}</view> |
|
|
|
|
<view class="fotct fcor333 font14 text1 mart10">{{pro.couponName}}</view> |
|
|
|
|
<view class="subject fotct mart5">¥{{pro.discountPrice}}</view> |
|
|
|
|
</view> |
|
|
|
|
</swiper-item> |
|
|
|
@ -86,7 +86,7 @@ |
|
|
|
|
<view class="swiper-item" @tap="tapList" :data-id="pro.id"> |
|
|
|
|
<image class="img" :src="imageUrl+pro.couponImg" mode="aspectFit"> |
|
|
|
|
</image> |
|
|
|
|
<view class="fotct fcor333 font14 text1 mart10">¥{{pro.couponName}}</view> |
|
|
|
|
<view class="fotct fcor333 font14 text1 mart10">{{pro.couponName}}</view> |
|
|
|
|
<view class="subject fotct mart5">¥{{pro.discountPrice}}</view> |
|
|
|
|
</view> |
|
|
|
|
</swiper-item> |
|
|
|
@ -419,6 +419,10 @@ |
|
|
|
|
getCouponList(params).then(res => { |
|
|
|
|
if (res.return_code == '000000') { |
|
|
|
|
this.productList = res.return_data.list; |
|
|
|
|
if (res.return_data.total > 4) { |
|
|
|
|
this.productListleg = 4; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.productListleg = res.return_data.total; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
@ -435,6 +439,11 @@ |
|
|
|
|
if (res.return_code == '000000') { |
|
|
|
|
this.goldproductList = res.return_data.list; |
|
|
|
|
this.goldproductListleg = res.return_data.total; |
|
|
|
|
if (res.return_data.total > 4) { |
|
|
|
|
this.goldproductListleg = 4; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.goldproductListleg = res.return_data.total; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|