样式修改
This commit is contained in:
@@ -154,6 +154,7 @@
|
|||||||
stripe
|
stripe
|
||||||
class="profit-table"
|
class="profit-table"
|
||||||
style="width: 100%; min-width: 1280px"
|
style="width: 100%; min-width: 1280px"
|
||||||
|
height="100%"
|
||||||
:header-cell-style="{
|
:header-cell-style="{
|
||||||
background: '#f8f9fb',
|
background: '#f8f9fb',
|
||||||
color: '#444',
|
color: '#444',
|
||||||
@@ -212,31 +213,42 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable
|
sortable
|
||||||
/>
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="open_pct_chg"
|
||||||
|
label="当日开盘涨跌幅"
|
||||||
|
width="75"
|
||||||
|
align="right"
|
||||||
|
sortable
|
||||||
|
>
|
||||||
|
<template #default="{ row }">{{
|
||||||
|
formatPct(row.open_pct_chg)
|
||||||
|
}}</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="next_open_profitable"
|
prop="next_open_profitable"
|
||||||
label="T+1开盘盈利"
|
label="T+1开盘盈利"
|
||||||
width="130"
|
width="65"
|
||||||
align="center"
|
align="center"
|
||||||
sortable
|
sortable
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="next_close_profitable"
|
prop="next_close_profitable"
|
||||||
label="T+1收盘盈利"
|
label="T+1收盘盈利"
|
||||||
width="130"
|
width="65"
|
||||||
align="center"
|
align="center"
|
||||||
sortable
|
sortable
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="next_intraday_profitable"
|
prop="next_intraday_profitable"
|
||||||
label="T+1盘中可盈利"
|
label="T+1盘中可盈利"
|
||||||
width="140"
|
width="70"
|
||||||
align="center"
|
align="center"
|
||||||
sortable
|
sortable
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="next_high_profit_pct"
|
prop="next_high_profit_pct"
|
||||||
label="T+1最高盈利%"
|
label="T+1最高盈利%"
|
||||||
width="140"
|
width="70"
|
||||||
align="right"
|
align="right"
|
||||||
sortable
|
sortable
|
||||||
>
|
>
|
||||||
@@ -247,7 +259,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="next_low_profit_pct"
|
prop="next_low_profit_pct"
|
||||||
label="T+1最低盈利%"
|
label="T+1最低盈利%"
|
||||||
width="140"
|
width="70"
|
||||||
align="right"
|
align="right"
|
||||||
sortable
|
sortable
|
||||||
>
|
>
|
||||||
@@ -804,9 +816,13 @@ const formatVolume = (value) => {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.download-page {
|
.download-page {
|
||||||
min-height: 100vh;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100vh;
|
||||||
|
height: 100dvh;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
background: #f4f7f9;
|
background: #f4f7f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -832,9 +848,17 @@ const formatVolume = (value) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.download-panel {
|
.download-panel {
|
||||||
|
flex: 0 0 auto;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-panel {
|
||||||
|
display: flex;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.panel-head,
|
.panel-head,
|
||||||
.table-head {
|
.table-head {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -895,9 +919,10 @@ const formatVolume = (value) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-shell {
|
.table-shell {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-x: auto;
|
overflow: hidden;
|
||||||
overflow-y: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.stock-link {
|
.stock-link {
|
||||||
@@ -918,6 +943,7 @@ const formatVolume = (value) => {
|
|||||||
|
|
||||||
.pagination-row {
|
.pagination-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding-top: 16px;
|
padding-top: 16px;
|
||||||
}
|
}
|
||||||
@@ -926,6 +952,17 @@ const formatVolume = (value) => {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.profit-table th.el-table__cell .cell) {
|
||||||
|
padding: 0 4px;
|
||||||
|
line-height: 16px;
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.profit-table td.el-table__cell .cell) {
|
||||||
|
padding: 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
:deep(.el-form-item) {
|
:deep(.el-form-item) {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user