diff --git a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx index 689690b0..972b9af7 100644 --- a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx +++ b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx @@ -43,7 +43,7 @@ export const CouponDiscountDesc = defineComponent({ const discountDesc = coupon.discountType === PromotionDiscountTypeEnum.PRICE.type ? `减${floatToFixed2(coupon.discountPrice)}元` - : `打${coupon.discountPercent}折` + : `打${coupon.discountPercent / 10.0}折` return () => (
{useCondition} diff --git a/src/components/DiyEditor/components/mobile/CouponCard/index.vue b/src/components/DiyEditor/components/mobile/CouponCard/index.vue index 2dc07886..48d01c55 100644 --- a/src/components/DiyEditor/components/mobile/CouponCard/index.vue +++ b/src/components/DiyEditor/components/mobile/CouponCard/index.vue @@ -49,7 +49,13 @@
-
{{ coupon.name }}
+ + + +
+ 仅剩:{{ coupon.totalCount - coupon.takeCount }}张 +
+
仅剩:不限制
-
{{ coupon.name }}
+ +