修复冠字号显示
This commit is contained in:
parent
5484d12557
commit
e8ac05decd
|
|
@ -627,7 +627,7 @@ export default function News() {
|
|||
display: 'flex', justifyContent: 'space-between', alignItems: 'center'
|
||||
}}>
|
||||
<div>
|
||||
<div style={{ color: '#fbbf24', fontWeight: '600' }}>{item.title}</div>
|
||||
<div style={{ color: '#fbbf24', fontWeight: '600' }}>{(item.title || '').split('-')[0]}</div>
|
||||
<div style={{ color: '#94a3b8', fontSize: '12px', marginTop: '4px' }}>
|
||||
{item.deal_date} | {item.category} | {item.packaging}
|
||||
{grade && ` | ${grade}`}
|
||||
|
|
@ -671,7 +671,7 @@ export default function News() {
|
|||
return (
|
||||
<div key={item.id} style={{ background: '#1e293b', borderRadius: '12px', padding: '12px', marginBottom: '10px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: '8px' }}>
|
||||
<div style={{ color: '#fbbf24', fontSize: '15px', fontWeight: '600' }}>{item.title}</div>
|
||||
<div style={{ color: '#fbbf24', fontSize: '15px', fontWeight: '600' }}>{(item.title || '').split('-')[0]}</div>
|
||||
<div style={{ color: '#22c55e', fontSize: '16px', fontWeight: '700' }}>¥{item.deal_price?.toLocaleString()}</div>
|
||||
</div>
|
||||
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '6px' }}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue