添加平均成交价表头

This commit is contained in:
甲辰生产 2026-04-11 22:54:40 +08:00
parent 6c1e927f42
commit 407d05e3fd
2 changed files with 9 additions and 1 deletions

View File

@ -272,7 +272,7 @@ export default function Home() {
</div>
{/* 今日成交数据统计 */}
{true && (
{dealStats.total > 0 && (
<div style={{ marginBottom: '20px' }}>
<div style={{ color: 'rgba(255,255,255,0.7)', fontSize: '14px', marginBottom: '12px', paddingLeft: '4px' }}>📈 今日成交数据统计</div>
<div style={{ background: '#1e293b', borderRadius: '12px', padding: '16px' }}>
@ -289,6 +289,10 @@ export default function Home() {
<div style={{ overflowX: 'auto' }}>
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
<thead>
<tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></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 => (

View File

@ -577,6 +577,10 @@ export default function News() {
<div style={{ overflowX: 'auto' }}>
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
<thead>
<tr>
<th style={{ padding: '8px', textAlign: 'left', color: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></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 => (