提交 0ffe87cb authored 作者: 胡园辉's avatar 胡园辉

fix(服务强兴军页面)样式修改

上级 02c37964
<template> <template>
<div class="app-head-warpper"> <div class="app-head-warpper">
<div class="header-bg"></div>
<!-- 一级导航栏 --> <!-- 一级导航栏 -->
<!-- <el-row :gutter="20" class="app-header" type="flex" align="cneter"> <!-- <el-row :gutter="20" class="app-header" type="flex" align="cneter">
<el-col :span="6" class="title">创新示范绩效评价</el-col> <el-col :span="6" class="title">创新示范绩效评价</el-col>
...@@ -22,11 +23,7 @@ ...@@ -22,11 +23,7 @@
<div class="container"> <div class="container">
<!-- 二级导航栏 --> <!-- 二级导航栏 -->
<el-row <el-row v-if="(secodndList || []).length > 0" class="second-nav" :gutter="20">
v-if="(secodndList || []).length > 0"
class="second-nav"
:gutter="20"
>
<el-col v-for="(item, index) in secodndList" :key="index" :span="4"> <el-col v-for="(item, index) in secodndList" :key="index" :span="4">
<el-card <el-card
shadow="hover" shadow="hover"
...@@ -34,8 +31,7 @@ ...@@ -34,8 +31,7 @@
'second-active-nav': index === secondIndex, 'second-active-nav': index === secondIndex,
}" }"
@click="secondHandle(item, index)" @click="secondHandle(item, index)"
>{{ item.name }}</el-card >{{ item.name }}</el-card>
>
</el-col> </el-col>
</el-row> </el-row>
...@@ -43,8 +39,9 @@ ...@@ -43,8 +39,9 @@
<el-row v-if="curRouteHistoy.length > 0" class="proceed-record"> <el-row v-if="curRouteHistoy.length > 0" class="proceed-record">
<el-col class="nav-history" :span="17"> <el-col class="nav-history" :span="17">
<el-row class="pointer" @click="$router.go(-1)" align="middle"> <el-row class="pointer" @click="$router.go(-1)" align="middle">
<el-icon><ArrowLeftBold /></el-icon> <el-icon>
返回 <ArrowLeftBold />
</el-icon>返回
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
</el-row> </el-row>
...@@ -68,8 +65,7 @@ ...@@ -68,8 +65,7 @@
:class="{ :class="{
'lignht-color': index === curRouteHistoy.length - 1, 'lignht-color': index === curRouteHistoy.length - 1,
}" }"
>{{ item.label }}</span >{{ item.label }}</span>
>
</div> </div>
</el-col> </el-col>
</el-col> </el-col>
...@@ -85,8 +81,7 @@ ...@@ -85,8 +81,7 @@
disabed: item.disabed, disabed: item.disabed,
}" }"
@click="yearHandle(item, index)" @click="yearHandle(item, index)"
>{{ item.label }}</span >{{ item.label }}</span>
>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -96,7 +91,7 @@ ...@@ -96,7 +91,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent } from "vue"; import { defineComponent } from "vue";
import { getNavList } from "./service"; import { getNavList } from "./service";
import NavList from "./navList.json" import NavList from "./navList.json";
import { ArrowLeftBold, CaretRight } from "@element-plus/icons"; import { ArrowLeftBold, CaretRight } from "@element-plus/icons";
const ENV_PARAMS = import.meta.env; // 这是Vite官方指导获取环境变量的方式 const ENV_PARAMS = import.meta.env; // 这是Vite官方指导获取环境变量的方式
...@@ -210,14 +205,41 @@ export default defineComponent({ ...@@ -210,14 +205,41 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
.pointer { .pointer {
cursor: pointer; cursor: pointer;
margin-left: 10px;
color: #d4f7ff;
&:hover { &:hover {
color: #4198ff; color: #4198ff;
} }
} }
.nav-history::after {
content: "";
width: 11px;
height: 42px;
position: absolute;
left: 0px;
background-color: rgba(25, 125, 237, 50%);
}
.nav-history::before {
content: "";
width: 11px;
height: 42px;
position: absolute;
// left: 0px;
right: 0px;
background-color: rgba(25, 125, 237, 50%);
}
.app-head-warpper { .app-head-warpper {
background: #f5f9fb; // background: #f5f9fb;
box-sizing: border-box; box-sizing: border-box;
.header-bg {
height: 84px;
width: 100%;
// border: 1px solid;
background-image: url(../assets/img/header_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin-bottom: 5px;
}
.container { .container {
// padding: 0 20px; // padding: 0 20px;
box-sizing: border-box; box-sizing: border-box;
...@@ -288,18 +310,19 @@ export default defineComponent({ ...@@ -288,18 +310,19 @@ export default defineComponent({
.nav-history { .nav-history {
padding-left: 10px; padding-left: 10px;
width: 100%; width: 100%;
background: rgba(25, 125, 237, 10%); background: rgba(25, 125, 237, 20%);
display: flex; display: flex;
align-items: center; align-items: center;
height: 40px; height: 40px;
border-radius: 5px; border-radius: 5px;
overflow: hidden; overflow: hidden;
position: relative;
// box-shadow: 2px 2px 10px #eee; // box-shadow: 2px 2px 10px #eee;
.nav-history-item { .nav-history-item {
display: flex; display: flex;
height: 100%; height: 100%;
.proceed-item { .proceed-item {
color: #999; color: #d4f7ff;
display: flex; display: flex;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
...@@ -322,8 +345,8 @@ export default defineComponent({ ...@@ -322,8 +345,8 @@ export default defineComponent({
overflow: hidden; overflow: hidden;
flex: 1; flex: 1;
height: 40px; height: 40px;
background: #fff; background: rgba(25, 125, 237, 20%);
box-shadow: 2px 2px 10px #eee; border: 1px solid #125caf;
.years { .years {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -331,6 +354,8 @@ export default defineComponent({ ...@@ -331,6 +354,8 @@ export default defineComponent({
height: 40px; height: 40px;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
span { span {
width: 100%; width: 100%;
display: flex; display: flex;
...@@ -338,9 +363,10 @@ export default defineComponent({ ...@@ -338,9 +363,10 @@ export default defineComponent({
padding: 0 12px; padding: 0 12px;
font-size: 14px; font-size: 14px;
height: inherit; height: inherit;
color: #949494; color: #d4f7ff;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
border-right: 1px solid #125caf;
} }
.active { .active {
background-color: #4198ff; background-color: #4198ff;
......
...@@ -88,6 +88,7 @@ export default defineComponent({ ...@@ -88,6 +88,7 @@ export default defineComponent({
flex: 1; flex: 1;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid #10529a;
} }
.map-warpper { .map-warpper {
......
...@@ -169,7 +169,11 @@ export default defineComponent({ ...@@ -169,7 +169,11 @@ export default defineComponent({
return html; return html;
}, },
}, },
legend: {}, legend: {
textStyle:{
color:"#fff"
}
},
grid: { grid: {
top: "20%", top: "20%",
left: "5%", left: "5%",
...@@ -181,11 +185,30 @@ export default defineComponent({ ...@@ -181,11 +185,30 @@ export default defineComponent({
{ {
type: "value", type: "value",
name: "金额(亿元)", name: "金额(亿元)",
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
{ {
type: "value", type: "value",
name: "进度%", name: "进度%",
min: 0, min: 0,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
// max: 100, // max: 100,
splitLine: { splitLine: {
show: false, show: false,
...@@ -195,6 +218,12 @@ export default defineComponent({ ...@@ -195,6 +218,12 @@ export default defineComponent({
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [seriesBar, seriesLine], series: [seriesBar, seriesLine],
}; };
...@@ -292,7 +321,7 @@ export default defineComponent({ ...@@ -292,7 +321,7 @@ export default defineComponent({
ptionCirRight() { ptionCirRight() {
const value = this.provinceData?.process || 0; const value = this.provinceData?.process || 0;
return { return {
backgroundColor: "#fff", // backgroundColor: "#197ded",
title: [ title: [
{ {
text: `建设进度`, text: `建设进度`,
...@@ -302,7 +331,7 @@ export default defineComponent({ ...@@ -302,7 +331,7 @@ export default defineComponent({
textStyle: { textStyle: {
fontSize: "16", fontSize: "16",
fontWeight: "400", fontWeight: "400",
color: "#333", color: "#d4f7ff",
textAlign: "center", textAlign: "center",
}, },
subtext: `${value * 100}%`, subtext: `${value * 100}%`,
...@@ -353,7 +382,7 @@ export default defineComponent({ ...@@ -353,7 +382,7 @@ export default defineComponent({
z: 2, z: 2,
showBackground: true, showBackground: true,
backgroundStyle: { backgroundStyle: {
color: "#e3e3e3", color: "#0d4787",
}, },
data: [value * 100], data: [value * 100],
coordinateSystem: "polar", coordinateSystem: "polar",
...@@ -468,7 +497,7 @@ export default defineComponent({ ...@@ -468,7 +497,7 @@ export default defineComponent({
height: 150px; height: 150px;
box-sizing: border-box; box-sizing: border-box;
.card-text { .card-text {
color: #4198ff; color: #ffffff;
margin: 8px 0; margin: 8px 0;
} }
.card-item { .card-item {
...@@ -485,7 +514,7 @@ export default defineComponent({ ...@@ -485,7 +514,7 @@ export default defineComponent({
} }
.title { .title {
font-weight: bold; font-weight: bold;
color: #333; color: #d4f7ff;
font-size: 14px; font-size: 14px;
position: relative; position: relative;
&::before { &::before {
...@@ -505,11 +534,11 @@ export default defineComponent({ ...@@ -505,11 +534,11 @@ export default defineComponent({
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 14px; font-size: 14px;
color: #999; color: #d4f7ff;
span { span {
font-size: 20px; font-size: 20px;
margin-right: 5px; margin-right: 5px;
color: #4198ff; color: #19ecff;
} }
} }
} }
...@@ -531,7 +560,7 @@ export default defineComponent({ ...@@ -531,7 +560,7 @@ export default defineComponent({
} }
.bar-title { .bar-title {
color: #4198ff; color: #ffffff;
margin-bottom: 10px; margin-bottom: 10px;
} }
.economic-construct { .economic-construct {
......
...@@ -146,7 +146,11 @@ export default defineComponent({ ...@@ -146,7 +146,11 @@ export default defineComponent({
return html; return html;
}, },
}, },
legend: {}, legend: {
textStyle:{
color:"#d4f7ff"
}
},
grid: { grid: {
top: "10%", top: "10%",
left: "0%", left: "0%",
...@@ -160,17 +164,49 @@ export default defineComponent({ ...@@ -160,17 +164,49 @@ export default defineComponent({
name: "收入(亿元)", name: "收入(亿元)",
min: 0, min: 0,
max: 200, max: 200,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
{ {
type: "value", type: "value",
name: "增长率%", name: "增长率%",
min: 0, min: 0,
max: 100, max: 100,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
], ],
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisCountry, data: xAxisCountry,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [...seriesBarList, ...seriesLineList], series: [...seriesBarList, ...seriesLineList],
}; };
...@@ -237,7 +273,11 @@ export default defineComponent({ ...@@ -237,7 +273,11 @@ export default defineComponent({
return html; return html;
}, },
}, },
legend: {}, legend: {
textStyle:{
color:"#d4f7ff"
}
},
grid: { grid: {
top: "10%", top: "10%",
left: "5%", left: "5%",
...@@ -251,17 +291,49 @@ export default defineComponent({ ...@@ -251,17 +291,49 @@ export default defineComponent({
name: "规模(亿元)", name: "规模(亿元)",
min: 0, min: 0,
max: 50, max: 50,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
{ {
type: "value", type: "value",
name: "增长率(%)", name: "增长率(%)",
min: -50, min: -50,
max: 170, max: 170,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
}, },
], ],
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisCity, data: xAxisCity,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [seriesBar, seriesLine], series: [seriesBar, seriesLine],
}; };
...@@ -361,6 +433,6 @@ export default defineComponent({ ...@@ -361,6 +433,6 @@ export default defineComponent({
.title2X { .title2X {
margin-top: 15px; margin-top: 15px;
font-size: 14px; font-size: 14px;
color: #4198ff; color: #ffffff;
} }
</style> </style>
...@@ -141,7 +141,11 @@ export default defineComponent({ ...@@ -141,7 +141,11 @@ export default defineComponent({
return html; return html;
}, },
}, },
legend: {}, legend: {
textStyle:{
color:"#d4f7ff"
}
},
grid: { grid: {
top: "12%", top: "12%",
left: "0%", left: "0%",
...@@ -155,17 +159,49 @@ export default defineComponent({ ...@@ -155,17 +159,49 @@ export default defineComponent({
name: "入伍人数", name: "入伍人数",
min: 0, min: 0,
max: 700, max: 700,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
}, },
{ {
type: "value", type: "value",
name: "入伍率(%)", name: "入伍率(%)",
min: 0, min: 0,
max: 1, max: 1,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
}, },
], ],
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisCity, data: xAxisCity,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [...seriesBar, ...seriesLine], series: [...seriesBar, ...seriesLine],
}; };
...@@ -257,10 +293,10 @@ export default defineComponent({ ...@@ -257,10 +293,10 @@ export default defineComponent({
flex: 1; flex: 1;
padding: 8px 15px; padding: 8px 15px;
margin-right: 15px; margin-right: 15px;
background: #f8f9fb; background: #0d4479;
border-radius: 5px; border-radius: 5px;
font-size: 14px; font-size: 14px;
color: #333; color: #d4f7ff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -269,19 +305,19 @@ export default defineComponent({ ...@@ -269,19 +305,19 @@ export default defineComponent({
} }
.value-des { .value-des {
font-size: 12px; font-size: 12px;
color: #999; color: #d4f7ff;
display: flex; display: flex;
align-items: center; align-items: center;
span { span {
font-size: 20px; font-size: 20px;
margin-right: 5px; margin-right: 5px;
color: #4198ff; color: #19ecff;
} }
} }
} }
} }
.text { .text {
color: #4198ff; color: #ffffff;
margin-top: 10px; margin-top: 10px;
font-size: 14px; font-size: 14px;
} }
......
...@@ -104,6 +104,7 @@ export default defineComponent({ ...@@ -104,6 +104,7 @@ export default defineComponent({
label: { label: {
show: true, show: true,
position: "top", position: "top",
color:"#19ecff",
}, },
areaStyle: { areaStyle: {
opacity: 0.8, opacity: 0.8,
...@@ -153,6 +154,12 @@ export default defineComponent({ ...@@ -153,6 +154,12 @@ export default defineComponent({
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [seriesLine], series: [seriesLine],
}; };
...@@ -222,31 +229,31 @@ export default defineComponent({ ...@@ -222,31 +229,31 @@ export default defineComponent({
height: 150px; height: 150px;
box-sizing: border-box; box-sizing: border-box;
.card-item { .card-item {
color: #333; color: #d4f7ff;
padding: 8px 15px; padding: 8px 15px;
box-sizing: border-box; box-sizing: border-box;
background: #f8f9fb; background: rgba(25, 125, 237, 0.2);
border-radius: 5px; border-radius: 5px;
margin-bottom: 8px; margin-bottom: 8px;
&:last-of-type { &:last-of-type {
margin-bottom: 0; margin-bottom: 0;
} }
div { div {
color: #4198ff; color: #19ecff;
font-size: 20px; font-size: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
span { span {
margin-left: 10px; margin-left: 10px;
font-size: 14px; font-size: 14px;
color: #999; color: #d4f7ff;
} }
} }
} }
.increase-rate { .increase-rate {
.title { .title {
color: #4198ff; color: #ffffff;
margin-bottom: 5px; margin-bottom: 5px;
} }
...@@ -256,24 +263,24 @@ export default defineComponent({ ...@@ -256,24 +263,24 @@ export default defineComponent({
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #666; color: #ffffff;
justify-content: space-between; justify-content: space-between;
} }
.rate-list-head { .rate-list-head {
background: #ddeaf8; background: #0f4f92;
} }
.el-scrollbar { .el-scrollbar {
background: #f8f9fb; background: #0d4479;
} }
.rate-value { .rate-value {
color: #4198ff; color: #d4f7ff;
} }
} }
} }
} }
.science-title { .science-title {
color: #4198ff; color: #ffffff;
} }
.incom-distribution { .incom-distribution {
flex: 1; flex: 1;
......
...@@ -85,6 +85,12 @@ export default defineComponent({ ...@@ -85,6 +85,12 @@ export default defineComponent({
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [ series: [
{ {
...@@ -95,6 +101,7 @@ export default defineComponent({ ...@@ -95,6 +101,7 @@ export default defineComponent({
label: { label: {
show: true, show: true,
position: "top", position: "top",
color:"#19ecff",
}, },
barWidth: 20, barWidth: 20,
data: this.seriesData, data: this.seriesData,
...@@ -141,7 +148,7 @@ export default defineComponent({ ...@@ -141,7 +148,7 @@ export default defineComponent({
.echarts-search { .echarts-search {
padding-left: 10px; padding-left: 10px;
.title { .title {
color: #4198ff; color: #ffffff;
margin: 12px 0; margin: 12px 0;
font-size: 14px; font-size: 14px;
} }
......
...@@ -24,7 +24,7 @@ export default defineComponent({ ...@@ -24,7 +24,7 @@ export default defineComponent({
min-width: 1920px; min-width: 1920px;
flex: 1; flex: 1;
box-sizing: border-box; box-sizing: border-box;
padding: 20px; padding: 0px 20px 20px 20px;
background-image: url(../../assets/img/content_bg.png); background-image: url(../../assets/img/content_bg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
......
...@@ -82,13 +82,14 @@ export default defineComponent({ ...@@ -82,13 +82,14 @@ export default defineComponent({
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.card-item { .card-item {
background: #fff; background-color: rgba(25, 125, 237, 0.1);
border-radius: 5px; border-radius: 5px;
padding: 16px; padding: 16px;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
box-shadow: 2px 2px 10px #eee; // box-shadow: 2px 2px 10px #eee;
border: 1px solid #10529a;
flex: 1; flex: 1;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -94,7 +94,7 @@ export default defineComponent({ ...@@ -94,7 +94,7 @@ export default defineComponent({
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
box-shadow: 2px 2px 10px #04223d10; box-shadow: 2px 2px 10px #04223d10;
border: 1px solid #10529a;
// &:hover { // &:hover {
// // transform: translateY(-5px); // // transform: translateY(-5px);
// transition: all 0.2s; // transition: all 0.2s;
......
...@@ -102,6 +102,9 @@ export default defineComponent({ ...@@ -102,6 +102,9 @@ export default defineComponent({
}, },
legend: { legend: {
right: "2%", right: "2%",
textStyle:{
color:"#d4f7ff"
}
}, },
grid: { grid: {
left: "2%", left: "2%",
...@@ -115,12 +118,38 @@ export default defineComponent({ ...@@ -115,12 +118,38 @@ export default defineComponent({
name: "亿元", name: "亿元",
min: 0, min: 0,
max: 200, max: 200,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
{ {
type: "value", type: "value",
name: "增长率%", name: "增长率%",
min: 0, min: 0,
max: 100, max: 100,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
splitLine: { splitLine: {
show: false, show: false,
}, },
...@@ -129,6 +158,12 @@ export default defineComponent({ ...@@ -129,6 +158,12 @@ export default defineComponent({
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [...seriesBarList, ...seriesLineList], series: [...seriesBarList, ...seriesLineList],
}; };
......
...@@ -119,22 +119,58 @@ export default defineComponent({ ...@@ -119,22 +119,58 @@ export default defineComponent({
}, },
legend: { legend: {
right: "2%", right: "2%",
textStyle:{
color:"#d4f7ff"
}
}, },
yAxis: [ yAxis: [
{ {
type: "value", type: "value",
name: "金额(亿元)", name: "金额(亿元)",
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
splitLine: {
lineStyle: {
type: 'dashed',
// 使用深浅的间隔色
color: ["#0087ED"],
},
},
}, },
{ {
type: "value", type: "value",
name: "项目进度%", name: "项目进度%",
min: 0, min: 0,
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
// max: 100, // max: 100,
}, },
], ],
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: [...seriesBarList, ...seriesLineList], series: [...seriesBarList, ...seriesLineList],
}; };
......
<template> <template>
<MapTitle <MapTitle text="全省军民融合创新示范绩效评价情况" :detailsHandle="detailsHandle" />
text="全省军民融合创新示范绩效评价情况"
:detailsHandle="detailsHandle"
/>
<div id="performanceBar" class="performance-bar"></div> <div id="performanceBar" class="performance-bar"></div>
</template> </template>
<script lang="ts"> <script lang="ts">
...@@ -107,7 +104,11 @@ export default defineComponent({ ...@@ -107,7 +104,11 @@ export default defineComponent({
return html; return html;
}, },
}, },
legend: {}, legend: {
textStyle:{
color:"#fff"
}
},
grid: { grid: {
left: "0%", left: "0%",
right: "0%", right: "0%",
...@@ -118,11 +119,31 @@ export default defineComponent({ ...@@ -118,11 +119,31 @@ export default defineComponent({
type: "value", type: "value",
min: 0, min: 0,
max: 100, max: 100,
axisLine: {
lineStyle: {
color: "#d4f7ff",
},
},
splitLine: {
lineStyle: {
// 使用深浅的间隔色
type: 'dashed',
color: ["#0087ED"],
},
},
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: xAxisValue, data: xAxisValue,
axisLine: {
lineStyle: {
color: "#d4f7ff",
// width: 1, //这里是为了突出显示加上的
},
},
}, },
series: seriesList, series: seriesList,
}; };
}, },
......
...@@ -75,10 +75,17 @@ export default defineComponent({ ...@@ -75,10 +75,17 @@ export default defineComponent({
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
} }
/* .el-scrollbar__wrap {
background: #0e4780 !important;
} */
.el-table__body tr:hover>td {
background-color: #134087 !important;
}
.el-table tr { .el-table tr {
background: #0e4780 !important; background: #0e4780 !important;
} }
.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{ .el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
border-bottom: 1px dashed #197ded; border-bottom: 1px dashed #197ded;
} }
.el-table .cell { .el-table .cell {
...@@ -88,6 +95,7 @@ export default defineComponent({ ...@@ -88,6 +95,7 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
.el-scrollbar { .el-scrollbar {
margin-top: 10px; margin-top: 10px;
// background: red;
} }
.tab-other-index { .tab-other-index {
text-align: center; text-align: center;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论