修复平均成交价位置

This commit is contained in:
甲辰生产 2026-04-11 23:09:24 +08:00
parent 5190a6ef2e
commit ec44d1c5d6
2 changed files with 2 additions and 10 deletions

View File

@ -288,11 +288,7 @@ export default function Home() {
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}> <table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
<thead> <thead>
<tr> <tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th> <th style={{ padding: '8px', textAlign: 'left', color: '#22c55e', borderBottom: '1px solid rgba(255,255,255,0.1)', fontSize: '14px', width: '80px' }}>平均成交价</th>
<th colSpan={3} style={{ padding: '8px', textAlign: 'center', color: '#22c55e', borderBottom: '1px solid rgba(255,255,255,0.1)', fontSize: '14px' }}>平均成交价</th>
</tr>
<tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th>
{['标百', '标十', '单张'].map(p => ( {['标百', '标十', '单张'].map(p => (
<th key={p} style={{ padding: '8px', textAlign: 'center', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}>{p}</th> <th key={p} style={{ padding: '8px', textAlign: 'center', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}>{p}</th>
))} ))}

View File

@ -578,11 +578,7 @@ export default function News() {
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}> <table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
<thead> <thead>
<tr> <tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th> <th style={{ padding: '8px', textAlign: 'left', color: '#22c55e', borderBottom: '1px solid rgba(255,255,255,0.1)', fontSize: '14px', width: '80px' }}>平均成交价</th>
<th colSpan={3} style={{ padding: '8px', textAlign: 'center', color: '#22c55e', borderBottom: '1px solid rgba(255,255,255,0.1)', fontSize: '14px' }}>平均成交价</th>
</tr>
<tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th>
{packagings.map(p => ( {packagings.map(p => (
<th key={p} style={{ padding: '8px', textAlign: 'center', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}>{p}</th> <th key={p} style={{ padding: '8px', textAlign: 'center', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}>{p}</th>
))} ))}