添加平均成交价表头
This commit is contained in:
parent
6c1e927f42
commit
407d05e3fd
|
|
@ -272,7 +272,7 @@ export default function Home() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 今日成交数据统计 */}
|
{/* 今日成交数据统计 */}
|
||||||
{true && (
|
{dealStats.total > 0 && (
|
||||||
<div style={{ marginBottom: '20px' }}>
|
<div style={{ marginBottom: '20px' }}>
|
||||||
<div style={{ color: 'rgba(255,255,255,0.7)', fontSize: '14px', marginBottom: '12px', paddingLeft: '4px' }}>📈 今日成交数据统计</div>
|
<div style={{ color: 'rgba(255,255,255,0.7)', fontSize: '14px', marginBottom: '12px', paddingLeft: '4px' }}>📈 今日成交数据统计</div>
|
||||||
<div style={{ background: '#1e293b', borderRadius: '12px', padding: '16px' }}>
|
<div style={{ background: '#1e293b', borderRadius: '12px', padding: '16px' }}>
|
||||||
|
|
@ -289,6 +289,10 @@ export default function Home() {
|
||||||
<div style={{ overflowX: 'auto' }}>
|
<div style={{ overflowX: 'auto' }}>
|
||||||
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
|
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
|
||||||
<thead>
|
<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>
|
<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: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th>
|
||||||
{['标百', '标十', '单张'].map(p => (
|
{['标百', '标十', '单张'].map(p => (
|
||||||
|
|
|
||||||
|
|
@ -577,6 +577,10 @@ export default function News() {
|
||||||
<div style={{ overflowX: 'auto' }}>
|
<div style={{ overflowX: 'auto' }}>
|
||||||
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
|
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: '13px' }}>
|
||||||
<thead>
|
<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>
|
<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: '#94a3b8', borderBottom: '1px solid rgba(255,255,255,0.1)' }}></th>
|
||||||
{packagings.map(p => (
|
{packagings.map(p => (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue