代码提交

This commit is contained in:
jiang 2025-11-07 18:04:49 +08:00
parent a66406528f
commit 22230101e1
2 changed files with 6 additions and 6 deletions

View File

@ -23,9 +23,9 @@
<div> <div>
<div class="topView"> <div class="topView">
<div style="height: 100%; display: flex; align-items: center; justify-content: space-between"> <div style="height: 100%; display: flex; align-items: center; justify-content: space-between">
<div :class="tabIndex == 1 ? 'topTab1 fs-24 active1' : 'topTab1 fs-24'" @click="changTab(1)">线路</div> <div :class="tabIndex == 0 ? 'topTab1 fs-24 active1' : 'topTab1 fs-24'" @click="changTab(0)">线路</div>
<div :class="tabIndex == 2 ? 'topTab2 fs-24 active2' : 'topTab2 fs-24'" @click="changTab(2)">变电</div> <div :class="tabIndex == 2 ? 'topTab2 fs-24 active2' : 'topTab2 fs-24'" @click="changTab(2)">变电</div>
<div :class="tabIndex == 3 ? 'topTab3 fs-24 active3' : 'topTab3 fs-24'" @click="changTab(3)">电缆</div> <div :class="tabIndex == 1 ? 'topTab3 fs-24 active3' : 'topTab3 fs-24'" @click="changTab(1)">电缆</div>
</div> </div>
<div> <div>
<el-row :gutter="10"> <el-row :gutter="10">
@ -92,7 +92,7 @@ export default {
options: [], options: [],
proNum: 0, proNum: 0,
equipNum: 0, equipNum: 0,
tabIndex: 1, tabIndex: 0,
tableData: [], tableData: [],
} }
}, },

View File

@ -15,9 +15,9 @@
<div> <div>
<div class="topView"> <div class="topView">
<div style="width: 25%; height: 100%; display: flex; align-items: center; justify-content: space-between"> <div style="width: 25%; height: 100%; display: flex; align-items: center; justify-content: space-between">
<div :class="tabIndex == 1 ? 'topTab1 fs-24 active1' : 'topTab1 fs-24'" @click="changTab(1)">线路</div> <div :class="tabIndex == 0 ? 'topTab1 fs-24 active1' : 'topTab1 fs-24'" @click="changTab(0)">线路</div>
<div :class="tabIndex == 2 ? 'topTab2 fs-24 active2' : 'topTab2 fs-24'" @click="changTab(2)">变电</div> <div :class="tabIndex == 2 ? 'topTab2 fs-24 active2' : 'topTab2 fs-24'" @click="changTab(2)">变电</div>
<div :class="tabIndex == 3 ? 'topTab3 fs-24 active3' : 'topTab3 fs-24'" @click="changTab(3)">电缆</div> <div :class="tabIndex == 1 ? 'topTab3 fs-24 active3' : 'topTab3 fs-24'" @click="changTab(1)">电缆</div>
</div> </div>
<div> <div>
<el-row :gutter="20"> <el-row :gutter="20">
@ -84,7 +84,7 @@ export default {
options: [], options: [],
proNum: 0, proNum: 0,
equipNum: 0, equipNum: 0,
tabIndex: 1, tabIndex: 0,
tableData: [], tableData: [],
} }
}, },