From 1acdefc890452eb9f41135ee110bb0782d2af1d5 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 25 Mar 2024 14:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E7=AB=8B?= =?UTF-8?q?=E5=87=8F=E9=87=91=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/mobileComponent.jsx | 12 +++++++----- src/components/knockGold/ysf-mobileComponent.jsx | 14 ++++++++------ src/components/knockGold/zfb-mobileComponent.jsx | 14 ++++++++------ 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/components/knockGold/mobileComponent.jsx b/src/components/knockGold/mobileComponent.jsx index ddd4ffe7..64e9dfad 100644 --- a/src/components/knockGold/mobileComponent.jsx +++ b/src/components/knockGold/mobileComponent.jsx @@ -39,11 +39,13 @@ export default ({ data }) => { : "xxx xxx xxx"}{" "} 可用

-

- 有效期: - {data.entry_time[0] || "xxxx-xx-xx xx:xx:xx"}至 - {data.entry_time[1] || "xxxx-xx-xx xx:xx:xx"} -

+ {data.timer_show == 1 ? ( +

+ 有效期: + {data.entry_time[0] || "xxxx-xx-xx xx:xx:xx"}至 + {data.entry_time[1] || "xxxx-xx-xx xx:xx:xx"} +

+ ) : null}
立即领取
diff --git a/src/components/knockGold/ysf-mobileComponent.jsx b/src/components/knockGold/ysf-mobileComponent.jsx index 96ba27d7..ed03adf9 100644 --- a/src/components/knockGold/ysf-mobileComponent.jsx +++ b/src/components/knockGold/ysf-mobileComponent.jsx @@ -35,12 +35,14 @@ export default ({ data }) => { 满{data.denomination ? parseFloat(data.denomination) : 100.1}元减 {data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99}元

-

- 请在  - {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} - {data.entry_time[1] || "2023-12-30 59:59:59"} -  内领取 -

+ {data.timer_show == 1 ? ( +

+ 请在  + {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} + {data.entry_time[1] || "2023-12-30 59:59:59"} +  内领取 +

+ ) : null}

{data?.card_type.length > 0 diff --git a/src/components/knockGold/zfb-mobileComponent.jsx b/src/components/knockGold/zfb-mobileComponent.jsx index bbd948a8..422bedec 100644 --- a/src/components/knockGold/zfb-mobileComponent.jsx +++ b/src/components/knockGold/zfb-mobileComponent.jsx @@ -35,12 +35,14 @@ export default ({ data }) => { 满{data.denomination ? parseFloat(data.denomination) : 100.1}元减 {data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99}元

-

- 请在  - {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} - {data.entry_time[1] || "2023-12-30 59:59:59"} -  内领取 -

+ {data.timer_show == 1 ? ( +

+ 请在  + {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} + {data.entry_time[1] || "2023-12-30 59:59:59"} +  内领取 +

+ ) : null}

{data?.card_type.length > 0