|
|
|
@ -203,25 +203,25 @@ |
|
|
|
|
<wybPopup ref="popup" type="bottom" width="500" :scrollY="true" radius="6" :showCloseIcon="true"> |
|
|
|
|
<view class="fotct font18 fontwig6 fcor333 mart10 height30">优惠券选择</view> |
|
|
|
|
<view class="width92 height110 tccs mart10 alijus" v-for="(items, index) in OrderPreList" :key="index" |
|
|
|
|
@click="radioChanges(items.highDiscount,items)"> |
|
|
|
|
<image mode="widthFix" :src="imageUrl+items.highDiscount.discountImg"></image> |
|
|
|
|
@click="radioChanges(items,items)"> |
|
|
|
|
<image mode="widthFix" :src="imageUrl+items.discountImg"></image> |
|
|
|
|
<view class="alijus width60 margle10"> |
|
|
|
|
<view class="width80p"> |
|
|
|
|
<view class="font16 fontwig6 fcor333 text1">{{items.highDiscount.discountName}}</view> |
|
|
|
|
<view class="font16 fontwig6 fcor333 text1">{{items.discountName}}</view> |
|
|
|
|
<view class="font13 fcor999 mart5"> |
|
|
|
|
有效期:{{items.highDiscount.salesEndTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} |
|
|
|
|
有效期:{{items.salesEndTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width20 fotrt"> |
|
|
|
|
<view> |
|
|
|
|
<radio |
|
|
|
|
v-if="items.highDiscount.discountCondition && orderPrice >= items.highDiscount.discountCondition" |
|
|
|
|
v-if="items.discountCondition && orderPrice >= items.discountCondition" |
|
|
|
|
color="#c72a20" :checked="items.id == memDiscountId" /> |
|
|
|
|
<radio |
|
|
|
|
v-if="items.highDiscount.discountCondition && orderPrice < items.highDiscount.discountCondition" |
|
|
|
|
v-if="items.discountCondition && orderPrice < items.discountCondition" |
|
|
|
|
color="#c72a20" disabled="true" :checked="items.id == memDiscountId" /> |
|
|
|
|
|
|
|
|
|
<radio v-if="!items.highDiscount.discountCondition" color="#c72a20" |
|
|
|
|
<radio v-if="!items.discountCondition" color="#c72a20" |
|
|
|
|
:checked="items.id == memDiscountId" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|