This commit is contained in:
zhangds 2024-03-25 14:39:19 +08:00
commit 6eb076031f
3 changed files with 23 additions and 17 deletions

View File

@ -39,11 +39,13 @@ export default ({ data }) => {
: "xxx xxx xxx"}{" "} : "xxx xxx xxx"}{" "}
可用 可用
</p> </p>
<p className="validity"> {data.timer_show == 1 ? (
有效期: <p className="validity">
{data.entry_time[0] || "xxxx-xx-xx xx:xx:xx"} 有效期:
{data.entry_time[1] || "xxxx-xx-xx xx:xx:xx"} {data.entry_time[0] || "xxxx-xx-xx xx:xx:xx"}
</p> {data.entry_time[1] || "xxxx-xx-xx xx:xx:xx"}
</p>
) : null}
</div> </div>
</div> </div>
<div className="receiveBtn">立即领取</div> <div className="receiveBtn">立即领取</div>

View File

@ -35,12 +35,14 @@ export default ({ data }) => {
{data.denomination ? parseFloat(data.denomination) : 100.1}元减 {data.denomination ? parseFloat(data.denomination) : 100.1}元减
{data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99} {data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99}
</p> </p>
<p className="information-p2"> {data.timer_show == 1 ? (
请在&nbsp; <p className="information-p2">
{data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} 请在&nbsp;
{data.entry_time[1] || "2023-12-30 59:59:59"} {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "}
&nbsp;内领取 {data.entry_time[1] || "2023-12-30 59:59:59"}
</p> &nbsp;内领取
</p>
) : null}
<p className="type"> <p className="type">
<span> <span>
{data?.card_type.length > 0 {data?.card_type.length > 0

View File

@ -35,12 +35,14 @@ export default ({ data }) => {
{data.denomination ? parseFloat(data.denomination) : 100.1}元减 {data.denomination ? parseFloat(data.denomination) : 100.1}元减
{data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99} {data.reduce_amount ? parseFloat(data.reduce_amount) : 99.99}
</p> </p>
<p className="information-p2"> {data.timer_show == 1 ? (
请在&nbsp; <p className="information-p2">
{data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "} 请在&nbsp;
{data.entry_time[1] || "2023-12-30 59:59:59"} {data.entry_time[0] || "2023-12-30 59:59:59"} ~{" "}
&nbsp;内领取 {data.entry_time[1] || "2023-12-30 59:59:59"}
</p> &nbsp;内领取
</p>
) : null}
<p className="type"> <p className="type">
<span> <span>
{data?.card_type.length > 0 {data?.card_type.length > 0