🎨 style: 修复模板问题

This commit is contained in:
wangsongsole 2024-03-21 11:37:24 +08:00
parent 1e5df28eb4
commit fe72189c83
1 changed files with 2 additions and 8 deletions

View File

@ -197,10 +197,7 @@ export default ({ data, products }) => {
alt=""
/>
<p
className="time"
style={{ marginTop: 0, color: data.channel == 2 && "rgb(35, 151, 0)" }}
>
<p className="time" style={{ marginTop: 0, color: dynamicStyle().time_color }}>
生效时间
{data.date_time.length > 1
? `${data.date_time[0]} ~ ${data.date_time[1]}`
@ -208,10 +205,7 @@ export default ({ data, products }) => {
</p>
{data.timer.length > 1 ? (
<p
className="time"
style={{ marginTop: "10px", color: data.channel == 2 && "rgb(35, 151, 0)" }}
>
<p className="time" style={{ marginTop: "10px", color: dynamicStyle().time_color }}>
领取时间
{`${data.timer[0]} ~ ${data.timer[1]}`}
</p>