From eac3bdc26a63a1c75f13ab3b3a24ee33f3e7db70 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 21 Dec 2023 17:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AB=8B=E5=87=8F=E9=87=91=E6=A8=A1=E6=9D=BF=E6=9C=AA=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=88=B0=E8=B4=A6=E4=B8=AA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.less | 6 ++++++ src/components/knockGold/mobileComponent.jsx | 3 ++- src/components/knockGold/ysf-mobileComponent.jsx | 5 ++++- src/components/knockGold/zfb-mobileComponent.jsx | 5 ++++- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/components/knockGold/index.less b/src/components/knockGold/index.less index 69ce6a5f..cc6f1315 100644 --- a/src/components/knockGold/index.less +++ b/src/components/knockGold/index.less @@ -3,6 +3,12 @@ width: 0 !important } +.send_num { + font-size: 16px; + margin-left: 5px; + color: #ee1920; +} + #reduceKnockGold { position: fixed !important; top: 130px !important; diff --git a/src/components/knockGold/mobileComponent.jsx b/src/components/knockGold/mobileComponent.jsx index aedb1664..ddd4ffe7 100644 --- a/src/components/knockGold/mobileComponent.jsx +++ b/src/components/knockGold/mobileComponent.jsx @@ -30,7 +30,8 @@ export default ({ data }) => {

- {data.batch_goods_name ? data.batch_goods_name : "xxx"} + {data.batch_goods_name ? data.batch_goods_name : "立减金"} + {data.send_num > 1 ? x{data.send_num} : null}

{data?.card_type.length > 0 diff --git a/src/components/knockGold/ysf-mobileComponent.jsx b/src/components/knockGold/ysf-mobileComponent.jsx index 8874ddec..96ba27d7 100644 --- a/src/components/knockGold/ysf-mobileComponent.jsx +++ b/src/components/knockGold/ysf-mobileComponent.jsx @@ -26,7 +26,10 @@ export default ({ data }) => { alt="" />

-

{data.batch_goods_name || "云闪付立减金"}

+

+ {data.batch_goods_name || "云闪付立减金"} + {data.send_num > 1 ? x{data.send_num} : null} +

满{data.denomination ? parseFloat(data.denomination) : 100.1}元减 diff --git a/src/components/knockGold/zfb-mobileComponent.jsx b/src/components/knockGold/zfb-mobileComponent.jsx index af897ce7..bbd948a8 100644 --- a/src/components/knockGold/zfb-mobileComponent.jsx +++ b/src/components/knockGold/zfb-mobileComponent.jsx @@ -26,7 +26,10 @@ export default ({ data }) => { alt="" />

-

{data.batch_goods_name || "支付宝立减金"}

+

+ {data.batch_goods_name || "支付宝立减金"} + {data.send_num > 1 ? x{data.send_num} : null} +

满{data.denomination ? parseFloat(data.denomination) : 100.1}元减