代码提交

This commit is contained in:
lixiaobang 2023-02-11 17:38:48 +08:00
parent 4c84b336af
commit 3b65a28ace
7 changed files with 58 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -261,7 +261,11 @@
</div> </div>
</div> </div>
<div class="middle-content"> <div class="middle-content">
<div class="middleBottom"></div> <div class="middleBottom">
<div class="menuBtn" :class="{'menuBtn1' : menuAc == index}" v-for="(item,index) in menu" :key="index" @click="handelBtn(index)">
<img :src="item.icon"/>
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
@ -271,6 +275,7 @@ export default {
name: "index", name: "index",
data() { data() {
return { return {
menuAc:0,
hallList: [ hallList: [
{ {
font: "平均办理时长", font: "平均办理时长",
@ -398,6 +403,17 @@ export default {
name: "排名", name: "排名",
}, },
], ],
menu:[
{
icon: require("@/assets/images/zongti.png")
},
{
icon: require("@/assets/images/zhihui.png")
},
{
icon: require("@/assets/images/shebei.png")
}
]
}; };
}, },
mounted() { mounted() {
@ -407,8 +423,27 @@ export default {
this.drawHallChart(); this.drawHallChart();
this.drawFlowChart(); this.drawFlowChart();
this.handelBtn(0)
}, },
methods: { methods: {
//
handelBtn(index){
this.menuAc = index
if (index == 0) {
this.menu[0].icon = require("@/assets/images/zongtiAc.png")
this.menu[1].icon = require("@/assets/images/zhihui.png")
this.menu[2].icon = require("@/assets/images/shebei.png")
}else if (index == 1) {
this.menu[0].icon = require("@/assets/images/zongti.png")
this.menu[1].icon = require("@/assets/images/zhihuiAc.png")
this.menu[2].icon = require("@/assets/images/shebei.png")
}else if (index == 2) {
this.menu[0].icon = require("@/assets/images/zongti.png")
this.menu[1].icon = require("@/assets/images/zhihui.png")
this.menu[2].icon = require("@/assets/images/shebeiAc.png")
}
},
drawHallChart() { drawHallChart() {
let myChart = this.$echarts.getInstanceByDom(this.$refs.hallChart); let myChart = this.$echarts.getInstanceByDom(this.$refs.hallChart);
if (myChart == null) { if (myChart == null) {
@ -1612,10 +1647,25 @@ export default {
width: calc(100% - 41.2%); width: calc(100% - 41.2%);
top: 0; top: 0;
height: 100%; height: 100%;
border: 1px solid red;
position: relative; position: relative;
display: flex;
justify-content: center;
.middleBottom{ .middleBottom{
width: 60%;
height: 10%;
position: absolute;
bottom: 0;
display: flex;
align-items: center;
justify-content: space-evenly;
.menuBtn{
width:142px;
height:52px
}
.menuBtn1{
width:188px;
height:74px
}
} }
} }
/* 内容板块背景 */ /* 内容板块背景 */
@ -1986,12 +2036,13 @@ export default {
.selectType { .selectType {
position: absolute; position: absolute;
width: 48%; width: 48%;
height: 8.5%; height: 6.5%;
top: 42%; top: 42%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.typeName { .typeName {
color: #fff; color: #fff;
font-size: 12px;
} }
.typeNameAction { .typeNameAction {
color: rgb(29, 147, 208); color: rgb(29, 147, 208);
@ -2090,17 +2141,18 @@ export default {
.selectType { .selectType {
position: absolute; position: absolute;
width: 48%; width: 48%;
height: 12%; height: 10%;
top: 33%; top: 33%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.typeName { .typeName {
color: #fff; color: #fff;
font-size: 12px;
} }
.serveiceAction { .serveiceAction {
color: rgb(29, 147, 208); color: rgb(29, 147, 208);
// text-decoration: underline; // text-decoration: underline;
padding-bottom: 3px; padding-bottom: 1px;
border-bottom: 1px solid rgb(29, 147, 208); border-bottom: 1px solid rgb(29, 147, 208);
} }
} }