微调颜色

This commit is contained in:
sjl
2025-03-17 15:55:30 +08:00
parent 630eb48d28
commit 5f68071c77
25 changed files with 46 additions and 40 deletions

View File

@@ -48,7 +48,7 @@
:data="tableData"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -598,7 +598,7 @@ defineExpose({
width: 45%;
}
.theFirst {
background-color: #003078;
background-color: var(--el-color-primary);
color: #fff;
width: 20px !important;
}

View File

@@ -31,7 +31,7 @@
<!-- <div class="formBut">-->
<el-button type="primary" :icon="Select" @click="start()" :disabled="connectDisabeld">通讯校验</el-button>
<el-button v-if="!connectDisabeld" type="text" style="color: #303133" disabled>源未连接</el-button>
<el-button v-else type="text" style="color: #67c23a" disabled>源连接成功</el-button>
<el-button v-else type="text" style="color: #91cc75" disabled>源连接成功</el-button>
<!-- </div>-->
</el-form-item>
</el-form>

View File

@@ -69,7 +69,7 @@ interface SpanMethodProps {
const rowClass = ({ row, column, rowIndex, columnIndex }: { row: any; column: any; rowIndex: number; columnIndex: number }): CSSProperties => {
let res: CSSProperties = {
textAlign: 'center' as CSSProperties['textAlign'],
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}
if (rowIndex === 1) {

View File

@@ -5,7 +5,7 @@
</div>
<div class="table-container">
<el-table :data="tableData"
:header-cell-style="{ textAlign: 'center',backgroundColor: '#003078',color: '#fff' } "
:header-cell-style="{ textAlign: 'center',backgroundColor: 'var(--el-color-primary)',color: '#fff' } "
:cell-style="{ textAlign: 'center' }"
style="width: 100%"
:style="{ height: '400px',maxHeight: '400px',overflow:'hidden'}"

View File

@@ -4,7 +4,7 @@
:data="tableData"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe

View File

@@ -8,7 +8,7 @@
:data="tableData"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe

View File

@@ -31,7 +31,7 @@
:show-header="false"
:span-method="arraySpanMethod"
:cell-style="tableStyle.cellStyle"
:header-cell-style="{ textAlign: 'center', backgroundColor: '#003078', color: '#fff' }"
:header-cell-style="{ textAlign: 'center', backgroundColor: 'var(--el-color-primary)', color: '#fff' }"
@cell-click="handleRowClick"
:key="key"
>

View File

@@ -54,7 +54,7 @@
:data="tableData"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -528,7 +528,7 @@ onMounted(() => {
width: 45%;
}
.theFirst {
background-color: #003078;
background-color: var(--el-color-primary);
color: #fff;
width: 20px !important;
}

View File

@@ -90,7 +90,7 @@
size="small"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -111,7 +111,7 @@
size="small"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -134,7 +134,7 @@
size="small"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -155,7 +155,7 @@
size="small"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe
@@ -178,7 +178,7 @@
:data="setValue_TableData"
:header-cell-style="{
textAlign: 'center',
backgroundColor: '#003078',
backgroundColor: 'var(--el-color-primary)',
color: '#fff'
}"
stripe