feat: 表格组件初始化完成
parent
caabce90ba
commit
5cb82722ad
@ -1,13 +1,21 @@
|
|||||||
|
<!--
|
||||||
|
* @Author: donghao donghao@supervision.ltd
|
||||||
|
* @Date: 2025-03-06 17:57:05
|
||||||
|
* @LastEditors: donghao donghao@supervision.ltd
|
||||||
|
* @LastEditTime: 2025-03-07 16:43:21
|
||||||
|
* @FilePath: \5G-Loading-Bay-Web\index.html
|
||||||
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
|
-->
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Vite + Vue + TS</title>
|
<title>监控平台</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
@ -0,0 +1,74 @@
|
|||||||
|
/* 表格 */
|
||||||
|
.ds_table{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
/* 分页栏 */
|
||||||
|
.pagination_wrap {
|
||||||
|
}
|
||||||
|
.fixed_pagination {
|
||||||
|
// width: calc(100% - 136px);
|
||||||
|
// background-color: white;
|
||||||
|
// z-index: 9;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
padding: 20px 0 10px;
|
||||||
|
}
|
||||||
|
.noneFixed_pagination {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
padding: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.custom-select {
|
||||||
|
min-width: 150px;
|
||||||
|
max-width: 300px;
|
||||||
|
.el-select__wrapper {
|
||||||
|
background: rgba(74, 126, 191, 0.1); /* 下拉框背景色 */
|
||||||
|
border: 1px solid transparent; /* 边框 */
|
||||||
|
color: white; /* 文字颜色 */
|
||||||
|
height: 40px;
|
||||||
|
box-shadow: none;
|
||||||
|
&::placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.6); /* 占位符颜色 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.el-select__arrow {
|
||||||
|
color: rgba(255, 255, 255, 0.6); /* 下拉箭头颜色 */
|
||||||
|
}
|
||||||
|
&:hover .el-select__inner {
|
||||||
|
border-color: transparent; /* 悬停边框颜色 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-select__dropdown {
|
||||||
|
background: #002a5c; /* 下拉面板背景 */
|
||||||
|
.el-select__item {
|
||||||
|
color: white; /* 下拉选项文字颜色 */
|
||||||
|
&:hover {
|
||||||
|
background: rgba(74, 126, 191, 0.3); /* 选项悬停背景 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* table */
|
||||||
|
.el-table{
|
||||||
|
// background-color: transparent;
|
||||||
|
}
|
||||||
|
.table_action_box {
|
||||||
|
.el-button {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table--border .el-table__inner-wrapper::after,
|
||||||
|
.el-table--border::after,
|
||||||
|
.el-table--border::before,
|
||||||
|
.el-table__inner-wrapper::before {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
.device-status-search-box {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
margin: 10px 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.query-btn {
|
||||||
|
background: linear-gradient( 180deg, #2589FF 0%, #46A9ED 100%);
|
||||||
|
border: 1px solid #42a5f5;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: white;
|
||||||
|
padding: 8px 20px;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reset-btn {
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #088BD6;
|
||||||
|
color: white;
|
||||||
|
box-shadow: none;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.el-scrollbar__view{
|
||||||
|
height: 650px !important;
|
||||||
|
}
|
Loading…
Reference in New Issue