Feat: 商品详情页优惠券最大显示2个
This commit is contained in:
@@ -39,12 +39,14 @@
|
|||||||
<view
|
<view
|
||||||
v-for="(item, index) in couponListLimit2ToShow"
|
v-for="(item, index) in couponListLimit2ToShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="v12-align-center v12-mr-2"
|
class="v12-mr-2"
|
||||||
>
|
>
|
||||||
|
<view class="v12-align-center" v-if="index < 2">
|
||||||
<view class="v12-primary-text v12-primary-border v12-radius-6 v12-font-22 v12-px-1">券</view>
|
<view class="v12-primary-text v12-primary-border v12-radius-6 v12-font-22 v12-px-1">券</view>
|
||||||
<view class="v12-primary-text v12-primary-border v12-radius-6 v12-font-22 v12-px-1">{{ item.couponTitle }}</view>
|
<view class="v12-primary-text v12-primary-border v12-radius-6 v12-font-22 v12-px-1">{{ item.couponTitle }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<view class="value value2 v12-font-24 v12-primary-text">
|
<view class="value value2 v12-font-24 v12-primary-text">
|
||||||
更多优惠
|
更多优惠
|
||||||
<uni-icons type="right" size="14" color="#707070"></uni-icons>
|
<uni-icons type="right" size="14" color="#707070"></uni-icons>
|
||||||
|
|||||||
Reference in New Issue
Block a user