🎨 style: 组合商品模板样式问题

This commit is contained in:
wangsongsole 2024-03-21 10:32:35 +08:00
parent 0d0e8262be
commit 1e5df28eb4
1 changed files with 8 additions and 2 deletions

View File

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