价格显示调整
This commit is contained in:
parent
e93e48f2e3
commit
b9036b650e
@ -131,11 +131,11 @@ bind:enter="enterPageContainer" bind:leave="leavePageContainer" wx:if="{{isShowO
|
|||||||
</view>
|
</view>
|
||||||
<view class="kv-item" wx:if="{{preOrder.price_info.coupon_discount_amount}}">
|
<view class="kv-item" wx:if="{{preOrder.price_info.coupon_discount_amount}}">
|
||||||
<view class="key">优惠券</view>
|
<view class="key">优惠券</view>
|
||||||
<view class="value yellow">- {{preOrder.price_info.coupon_discount_amount}}</view>
|
<view class="value money yellow">{{preOrder.price_info.coupon_discount_amount}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="kv-item" wx:if="{{preOrder.used_points}}">
|
<view class="kv-item" wx:if="{{preOrder.price_info.points_discount_amount}}">
|
||||||
<view class="key">蜂蜜抵</view>
|
<view class="key">蜂蜜抵</view>
|
||||||
<view class="value yellow">- {{preOrder.used_points}}克</view>
|
<view class="value money yellow">{{preOrder.price_info.points_discount_amount}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="kv-item">
|
<view class="kv-item">
|
||||||
<view class="key">
|
<view class="key">
|
||||||
|
|||||||
@ -220,6 +220,9 @@
|
|||||||
.pc-content .kv-item .yellow{
|
.pc-content .kv-item .yellow{
|
||||||
color: #FF8400;
|
color: #FF8400;
|
||||||
}
|
}
|
||||||
|
.pc-content .kv-item .yellow.money::before{
|
||||||
|
content: '- ¥ ';
|
||||||
|
}
|
||||||
.pc-content .kv-item .red{
|
.pc-content .kv-item .red{
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -161,12 +161,12 @@ Page({
|
|||||||
// [`choosedStationList[${itemIndex}]`]:this.data.choosedStationList[itemIndex]
|
// [`choosedStationList[${itemIndex}]`]:this.data.choosedStationList[itemIndex]
|
||||||
// })
|
// })
|
||||||
|
|
||||||
//清除焦点 有时候 setdata 会触发获取焦点
|
|
||||||
this.setData({
|
|
||||||
[`choosedStationList[${itemIndex}].focus`]:false
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//清除焦点 有时候 setdata 会触发获取焦点
|
||||||
|
this.setData({
|
||||||
|
[`choosedStationList[${itemIndex}].focus`]:false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user