样式优化

This commit is contained in:
BianLzhaoMin 2025-07-24 09:35:09 +08:00
parent 3b14315101
commit 5895cf78ca
2 changed files with 26 additions and 7 deletions

View File

@ -5,10 +5,13 @@
} }
.tap-box div { .tap-box div {
padding: 4px 10px; text-align: center;
border-radius: 5px; padding: 8px 16px;
background: rgba(22, 186, 170, 0.2);
border-radius: 6px;
border: 1px solid rgba(22, 186, 170, 0.5);
transition: all 0.3s ease;
cursor: pointer; cursor: pointer;
border: 1px solid #e0e0e0;
} }
.tap-box div:last-child { .tap-box div:last-child {
@ -16,7 +19,9 @@
} }
.active { .active {
background-color: #0052cc; background: rgba(22, 186, 170, 0.8) !important;
border: 1px solid rgba(22, 186, 170, 0.8) !important;
color: #fff;
} }
.chart-box { .chart-box {
@ -25,6 +30,21 @@
} }
.chart-box-left, .chart-box-left,
.chart-box-right { .chart-box-right {
width: 50%; width: 48%;
height: 400px; height: 400px;
background: linear-gradient(
135deg,
rgba(22, 186, 170, 0.1) 0%,
rgba(22, 186, 170, 0.05) 100%
);
border: 1px solid rgba(22, 186, 170, 0.3);
border-radius: 12px;
padding: 20px;
position: relative;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.chart-box-left {
margin-right: 1%;
} }

View File

@ -80,7 +80,6 @@ function initTable(type, bidCode) {
function setCols(type) { function setCols(type) {
if (type === 1) { if (type === 1) {
// 工程质量分析
return [ return [
{ type: "numbers", title: "序号", width: "10%" }, // 添加序号列 { type: "numbers", title: "序号", width: "10%" }, // 添加序号列
{ {
@ -134,7 +133,7 @@ function initTable(type, bidCode) {
templet: (d) => { templet: (d) => {
let text = ""; let text = "";
text += text +=
'<a style="color: #007bff;cursor: pointer;font-size: 16px">导出</a>'; '<a id="exportBtn" style="color: #007bff;cursor: pointer;font-size: 16px">导出</a>';
return text; return text;
}, },
}, },