样式修改
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
<u-popup :show="youhuiShow" :round="10" @close="closePup">
|
||||
<view class="tanchu">
|
||||
<view class="dp_title">请选择优惠券</view>
|
||||
<view v-if="list.length > 0">
|
||||
<view style="max-height: 40vh;overflow-y: scroll;" :class="youhuiIndex === index ? 'youhuiItem youItem_style' : 'youhuiItem'"
|
||||
<template v-if="list.length > 0" >
|
||||
<view style="max-height:40vh;overflow-y: scroll;">
|
||||
<view :class="youhuiIndex === index ? 'youhuiItem youItem_style' : 'youhuiItem'"
|
||||
v-for="(item,index) in list" :key="index" @click="choseYouhui(index)">
|
||||
<view style="width: 25%;color:#fd6004;text-align: center;">
|
||||
<text>¥</text>
|
||||
@@ -41,17 +42,18 @@
|
||||
</template>
|
||||
</view>
|
||||
<br clear="both">
|
||||
</view>
|
||||
<view class="btnBox flex_box flex_between">
|
||||
<view class="" style="width: 48%;">
|
||||
<button type="default" @click="confirmCoupon('none')">不使用优惠券</button>
|
||||
</view>
|
||||
<view class="" style="width: 48%;">
|
||||
<button type="primary" @click="confirmCoupon()">选好了</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view style="font-size: 20rpx;color: #aaa;margin-top: 30rpx;">* 每笔订单只能使用一张优惠价</view> -->
|
||||
</view>
|
||||
<view class="btnBox flex_box flex_between">
|
||||
<view class="" style="width: 48%;">
|
||||
<button type="default" @click="confirmCoupon('none')">不使用优惠券</button>
|
||||
</view>
|
||||
<view class="" style="width: 48%;">
|
||||
<button type="primary" @click="confirmCoupon()">选好了</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<view class="" v-else>
|
||||
<u-divider text="暂无可用优惠券哦"></u-divider>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user