Task:商城详情优惠券增加关闭按钮

This commit is contained in:
modendeveloper
2025-01-13 22:36:58 +08:00
parent daf0ed691e
commit 432177604f
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -1,7 +1,11 @@
<template>
<view class="popup-coupons">
<view class="popup-box">
<view class="popup-title bold tc">优惠详情</view>
<view class="popup-title bold tc v12-justify-between">
<text></text>
<text>优惠详情</text>
<u-icon name="close" color="#666" size="14" @click="close"></u-icon>
</view>
<SubSection
:current="current"
:can-use="canUse"
@@ -173,6 +177,9 @@ export default {
this.$emit('max', this.largOne)
},
methods: {
close() {
this.$emit('close')
},
force2Decimal(value) {
return this.$force2Decimal(value);
},