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}- 请在 - {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