忽略unpackage目录
This commit is contained in:
@ -95,11 +95,12 @@
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
|
||||
<view class="item row-between bg-white br16 row u-m-t-32 p24" @tap="showCoupon = true">
|
||||
<view>优惠券</view>
|
||||
<view class="row">
|
||||
<text class="primary" v-if="orderInfo.discount_amount">-¥{{ orderInfo.discount_amount }}</text>
|
||||
<text v-else-if="usableCoupon.length" class="primary">{{
|
||||
<text class="text-default" v-if="orderInfo.discount_amount">-¥{{ orderInfo.discount_amount }}</text>
|
||||
<text v-else-if="usableCoupon.length" class="text-default">{{
|
||||
usableCoupon.length + '张可用'
|
||||
}}</text>
|
||||
<text v-else class="muted">无优惠券可用</text>
|
||||
@ -113,7 +114,7 @@
|
||||
备注
|
||||
</view>
|
||||
<view class="flex1 u-m-t-16 mask">
|
||||
<u-input v-model="value" type="textarea" :border="border" maxlength="150"/>
|
||||
<u-input v-model="userRemark" type="textarea" maxlength="150"/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -233,6 +234,7 @@ export default {
|
||||
usableCoupon: [], // 优惠券--可使用
|
||||
unusableCoupon: [], // 优惠券--不可用
|
||||
showCoupon: false, // 显示优惠券Popup
|
||||
userRemark: '', // 用户留言
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user