From 1acdefc890452eb9f41135ee110bb0782d2af1d5 Mon Sep 17 00:00:00 2001
From: wangsongsole
- 有效期: - {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}- 请在 - {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