会员积分抵扣优化
parent
5e34afaca8
commit
c7cb4b68ec
|
|
@ -74,7 +74,7 @@
|
||||||
<view class="text-bgSubtitle">-¥{{ orderInfo.bargain_amount }}</view>
|
<view class="text-bgSubtitle">-¥{{ orderInfo.bargain_amount }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="orderInfo.total_amount > 0" class="flex items-center justify-between py-base text-lg border-t border-txBorder font-bold">
|
<view v-if="orderInfo.total_amount > 0" class="flex items-center justify-between py-base text-lg border-t border-txBorder font-bold">
|
||||||
<view>会员积分抵扣<block v-if="hasRemainingPoints">(共{{ orderInfo.remaining_points }})</block></view>
|
<view>会员积分抵扣<block v-if="hasRemainingPoints">(共{{ orderInfo.remaining_points }}积分)</block></view>
|
||||||
<view v-if="hasRemainingPoints" class="flex items-center" @tap="openPointDiscountDrawer">
|
<view v-if="hasRemainingPoints" class="flex items-center" @tap="openPointDiscountDrawer">
|
||||||
<view v-if="pointDiscount.amount > 0" class="text-bgSubtitle">-¥{{ pointDiscount.amount }}</view>
|
<view v-if="pointDiscount.amount > 0" class="text-bgSubtitle">-¥{{ pointDiscount.amount }}</view>
|
||||||
<view v-else>请选择</view>
|
<view v-else>请选择</view>
|
||||||
|
|
@ -323,6 +323,9 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.border-t {
|
||||||
|
border-top: 1rpx solid #E5E5E5;
|
||||||
|
}
|
||||||
.listChid:last-child {
|
.listChid:last-child {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -117,8 +117,8 @@
|
||||||
<view>砍价优惠</view>
|
<view>砍价优惠</view>
|
||||||
<view class="text-bgSubtitle">-¥{{ orderInfo.bargain_amount }}</view>
|
<view class="text-bgSubtitle">-¥{{ orderInfo.bargain_amount }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="orderInfo.total_amount > 0" class="flex items-center justify-between py-base text-lg border-t border-txBorder font-bold">
|
<view v-if="orderInfo.total_amount > 0" class="flex items-center justify-between py-base text-lg border-t border-txBorder font-medium">
|
||||||
<view>会员积分抵扣<block v-if="hasRemainingPoints">(共{{ orderInfo.remaining_points }}积分)</block></view>
|
<view>会员积分抵扣<block v-if="hasRemainingPoints">(共{{ orderInfo.remaining_points }}积分)</block></view>
|
||||||
<view v-if="hasRemainingPoints" class="flex items-center" @tap="openPointDiscountDrawer">
|
<view v-if="hasRemainingPoints" class="flex items-center" @tap="openPointDiscountDrawer">
|
||||||
<view v-if="pointDiscount.amount > 0" class="text-bgSubtitle">-¥{{ pointDiscount.amount }}</view>
|
<view v-if="pointDiscount.amount > 0" class="text-bgSubtitle">-¥{{ pointDiscount.amount }}</view>
|
||||||
<view v-else>请选择</view>
|
<view v-else>请选择</view>
|
||||||
|
|
@ -544,6 +544,9 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.border-t {
|
||||||
|
border-top: 1rpx solid #E5E5E5;
|
||||||
|
}
|
||||||
.listChid:last-child {
|
.listChid:last-child {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue