Fix:去选择按钮去掉,箭头改到数字后面
This commit is contained in:
@@ -109,13 +109,14 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="v12-justify-between v12-align-center">
|
||||
<view class="v12-mr-2" @click="changeCoupons" v-if="couponList.usable.length !== 0 && !hasCoupon">
|
||||
<!-- <view class="v12-mr-2" @click="changeCoupons" v-if="couponList.usable.length !== 0 && !hasCoupon">
|
||||
<text class="v12-dark-text v12-font-24" >{{ couponList.usable.length === 0 ? '无' : '去选择' }}</text>
|
||||
<text class="iconfont icon-jiantou v12-font-24 v12-dark-text"></text>
|
||||
</view>
|
||||
<view class="v12-secondary-dark-text">
|
||||
</view> -->
|
||||
<view class="v12-secondary-dark-text v12-align-center" @click="changeCoupons">
|
||||
<text class="v12-font-22 ">-¥</text>
|
||||
<text class="v12-font-28">{{ force2Decimal(orderPrice.couponPrice) }}</text>
|
||||
<text class="iconfont icon-jiantou v12-font-24 v12-dark-text"></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -391,7 +392,8 @@ export default {
|
||||
await this.computedPrice('couponId')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onLoad(opts) {
|
||||
console.log(opts);
|
||||
const that = this
|
||||
if (that.$yroute.query.pinkid !== undefined) {
|
||||
that.pinkId = that.$yroute.query.pinkid
|
||||
@@ -403,7 +405,7 @@ export default {
|
||||
if (that.$yroute.query.lotteryRecordId !== undefined) {
|
||||
that.lotteryRecordId = that.$yroute.query.lotteryRecordId
|
||||
}
|
||||
that.hasCoupon = that.$yroute.query.couponId !== ''
|
||||
that.hasCoupon = opts.couponId !== ''
|
||||
},
|
||||
onShow() {
|
||||
const _this = this
|
||||
|
||||
Reference in New Issue
Block a user