Browse Source

fix():bug修改

master
xingjx 1 year ago
parent
commit
0df394d86d
  1. 2
      src/components/TableModule/index.jsx
  2. 56
      src/components/TableModule/index.scss
  3. 4
      src/pages/DataAnalysisPrediction/ParkingBusinessAly/NightParkStat/loadable.jsx

2
src/components/TableModule/index.jsx

@ -935,7 +935,7 @@ const TableModule = forwardRef((props, ref) => {
<Table <Table
rowSelection={rowSelection} rowSelection={rowSelection}
// className="yisa-table" // className="yisa-table"
scroll={{y:560}}
//scroll={{y:560}}
rowKey={rowKey} rowKey={rowKey}
columns={getNewColumns()} columns={getNewColumns()}
dataSource={tableData} dataSource={tableData}

56
src/components/TableModule/index.scss

@ -8,7 +8,7 @@ $color-primary: var(--color-primary);
height: 100%; height: 100%;
.left-search { .left-search {
min-height: 500px;
//min-height: 500px;
overflow: auto; overflow: auto;
.form-slider-date-time { .form-slider-date-time {
width: 85%; width: 85%;
@ -40,35 +40,35 @@ $color-primary: var(--color-primary);
} }
} }
height: calc(100% - 10px); height: calc(100% - 10px);
&::-webkit-scrollbar :hover {
width: 10px;
}
.table-wrap {
height: calc(100% - 32px - 65px);
/*定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 6px;
height: 16px;
background-color: #5c5c5c;
}
// &::-webkit-scrollbar :hover {
// width: 10px;
// }
// .table-wrap {
// height: calc(100% - 32px - 65px);
// /*定义滚动条高宽及背景
// 高宽分别对应横竖滚动条的尺寸*/
// ::-webkit-scrollbar {
// width: 6px;
// height: 16px;
// background-color: #5c5c5c;
// }
/*定义滚动条轨道
内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background-color: #9da2ab;
}
// /*定义滚动条轨道
// 内阴影+圆角*/
// ::-webkit-scrollbar-track {
// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
// border-radius: 10px;
// background-color: #9da2ab;
// }
/*定义滑块
内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #3b97ff;
}
}
// /*定义滑块
// 内阴影+圆角*/
// ::-webkit-scrollbar-thumb {
// border-radius: 10px;
// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
// background-color: #3b97ff;
// }
// }
.right-button-group { .right-button-group {
display: flex; display: flex;
button { button {

4
src/pages/DataAnalysisPrediction/ParkingBusinessAly/NightParkStat/loadable.jsx

@ -584,13 +584,13 @@ function NightParkStat() {
} }
</div> </div>
<div className="result-box"> <div className="result-box">
<div className="result-box-title">停车饱和度趋势分析</div>
{/* <div className="result-box-title"></div>
<Tooltip <Tooltip
placement="topLeft" placement="topLeft"
title={<span>展示所选日期内各个时间段的停车场饱和度变化情况用来分析停车高峰与低谷时段入场与出场压力较大的时段</span>} title={<span>展示所选日期内各个时间段的停车场饱和度变化情况用来分析停车高峰与低谷时段入场与出场压力较大的时段</span>}
> >
<i>?</i> <i>?</i>
</Tooltip>
</Tooltip> */}
<Table <Table
columns={columns} columns={columns}
dataSource={resultData.list} dataSource={resultData.list}

Loading…
Cancel
Save