能耗对比,大屏样式修改

master
wj 2 years ago
parent fd57e46546
commit a7974bc0e8
  1. BIN
      psdc-ui/src/assets/images/head_bg2.png
  2. BIN
      psdc-ui/src/assets/images/wrappertitle2.png
  3. 2
      psdc-ui/src/views/analyse/nhdb/index.vue
  4. 133
      psdc-ui/src/views/bigview/index.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -314,7 +314,7 @@ function indoorChartFun(){
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
// name:'', name:'℃',
nameTextStyle: { nameTextStyle: {
color: "#b6bee7", color: "#b6bee7",
fontSize:12, fontSize:12,

@ -338,7 +338,7 @@ function dcglChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '40%',
bottom:'15%', bottom:'15%',
left:'10%', left:'10%',
right:'3%', right:'3%',
@ -374,6 +374,8 @@ function dcglChartFun(){
yAxis: { yAxis: {
type: 'value', type: 'value',
name:'℃', name:'℃',
// scale: true, //
// minInterval: 5, //
nameTextStyle: { nameTextStyle: {
color: "#b6bee7", color: "#b6bee7",
fontSize:fontSize(12), fontSize:fontSize(12),
@ -387,7 +389,7 @@ function dcglChartFun(){
}, },
splitLine: { splitLine: {
show: true, show: true,
lineStyle: {color: "#767da1", type: "dashed"} //dashed lineStyle: {color: "#767da180", type: "dashed"} //dashed
} //s线 } //s线
}, },
series: [ series: [
@ -453,7 +455,7 @@ function xrglChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '40%',
bottom:'15%', bottom:'15%',
left:'10%', left:'10%',
right:'3%', right:'3%',
@ -502,7 +504,7 @@ function xrglChartFun(){
}, },
splitLine: { splitLine: {
show: true, show: true,
lineStyle: {color: "#767da1", type: "dashed"} //dashed lineStyle: {color: "#767da180", type: "dashed"} //dashed
} //s线 } //s线
}, },
series: [ series: [
@ -568,7 +570,7 @@ function kqyrbChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '40%',
bottom:'15%', bottom:'15%',
left:'10%', left:'10%',
right:'3%', right:'3%',
@ -617,7 +619,7 @@ function kqyrbChartFun(){
}, },
splitLine: { splitLine: {
show: true, show: true,
lineStyle: {color: "#767da1", type: "dashed"} //dashed lineStyle: {color: "#767da180", type: "dashed"} //dashed
} //s线 } //s线
}, },
series: [ series: [
@ -683,7 +685,7 @@ function kqyrbChartFun(){
// }, // },
// grid:{ // grid:{
// show: true, // show: true,
// top: '20%', // top: '40%',
// bottom:'15%', // bottom:'15%',
// left:'10%', // left:'10%',
// right:'3%', // right:'3%',
@ -732,7 +734,7 @@ function kqyrbChartFun(){
// }, // },
// splitLine: { // splitLine: {
// show: true, // show: true,
// lineStyle: {color: "#767da1", type: "dashed"} //dashed // lineStyle: {color: "#767da180", type: "dashed"} //dashed
// } //s线 // } //s线
// }, // },
// series: [ // series: [
@ -802,8 +804,8 @@ function dqglChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '30%',
bottom:'15%', bottom:'13%',
left:'10%', left:'10%',
right:'3%', right:'3%',
borderWidth: 0, borderWidth: 0,
@ -862,6 +864,9 @@ function dqglChartFun(){
yAxis: { yAxis: {
type: 'value', type: 'value',
name:'kW', name:'kW',
min: 0,
scale: true, //
minInterval: 10, //
nameTextStyle: { nameTextStyle: {
color: "#b6bee7", color: "#b6bee7",
fontSize:fontSize(12), fontSize:fontSize(12),
@ -875,7 +880,7 @@ function dqglChartFun(){
}, },
splitLine: { splitLine: {
show: true, show: true,
lineStyle: {color: "#767da1", type: "dashed"} //dashed lineStyle: {color: "#767da180", type: "dashed"} //dashed
} //线 } //线
}, },
series: [ series: [
@ -952,7 +957,7 @@ function indoorChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '40%',
bottom:'15%', bottom:'15%',
left:'8%', left:'8%',
right:'4%', right:'4%',
@ -987,7 +992,10 @@ function indoorChartFun(){
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
// name:'', name:'℃',
min: 0,
scale: true, //
minInterval: 10, //
nameTextStyle: { nameTextStyle: {
color: "#b6bee7", color: "#b6bee7",
fontSize:fontSize(10), fontSize:fontSize(10),
@ -1052,7 +1060,7 @@ function outdoorChartFun(){
}, },
grid:{ grid:{
show: true, show: true,
top: '20%', top: '40%',
bottom:'15%', bottom:'15%',
left:'8%', left:'8%',
right:'4%', right:'4%',
@ -1087,7 +1095,10 @@ function outdoorChartFun(){
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
// name:'', name:'℃',
min: 0,
scale: true, //
minInterval: 10, //
nameTextStyle: { nameTextStyle: {
color: "#b6bee7", color: "#b6bee7",
fontSize:fontSize(10), fontSize:fontSize(10),
@ -1162,32 +1173,32 @@ onBeforeUnmount(() => {
position: relative; position: relative;
width: 100%; width: 100%;
height: .7rem; height: .7rem;
background-image: url("../../assets/images/headtitle.png"); background-image: url("../../assets/images/head_bg2.png");
background-size: 100% 100%; background-size: 100% 100%;
.timer{ .timer{
position: absolute; position: absolute;
top: .13rem; top: .12rem;
left: .3rem; left: 1rem;
font-size: .16rem; font-size: .16rem;
font-weight: bold; font-weight: bold;
} }
h2{ h2{
font-size: .36rem; font-size: .3rem;
color: #AFEAFF; color: #AFEAFF;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
line-height: .7rem; line-height: .5rem;
} }
.right-menu-item { .right-menu-item {
display: inline-block; display: inline-block;
color: #97A8BE; color: #fff;
vertical-align: text-bottom; vertical-align: text-bottom;
position: absolute; position: absolute;
top: 0px; top: 0.09rem;
right: .8rem; right: 1.5rem;
font-size: .14rem; font-size: 0.14rem;
padding: 0.09rem .15rem; padding: 0.05rem 0.15rem;
border: 1px solid #dddddd00; border: 1px solid rgba(221, 221, 221, 0);
cursor: pointer; cursor: pointer;
&:hover{ &:hover{
border: 1px solid #dddddd70; border: 1px solid #dddddd70;
@ -1196,11 +1207,11 @@ onBeforeUnmount(() => {
} }
.back{ .back{
position: absolute; position: absolute;
top: 0px; top: 0.09rem;
right: .3rem; right: 1rem;
font-size: .16rem; font-size: .16rem;
color: #fff; color: #fff;
padding: 0.09rem .15rem; padding: 0.03rem .15rem;
border: 1px solid #dddddd00; border: 1px solid #dddddd00;
&:hover{ &:hover{
border: 1px solid #dddddd70; border: 1px solid #dddddd70;
@ -1261,7 +1272,7 @@ onBeforeUnmount(() => {
margin-top: -.1rem; margin-top: -.1rem;
} }
.txt{ .txt{
color: #1AC4F5; color: #fff;
font-size: .15rem; font-size: .15rem;
font-weight: bold; font-weight: bold;
line-height: .3rem; line-height: .3rem;
@ -1288,7 +1299,7 @@ onBeforeUnmount(() => {
margin-top: -.1rem; margin-top: -.1rem;
} }
.txt{ .txt{
color: #1AC4F5; color: #fff;
font-size: .15rem; font-size: .15rem;
font-weight: bold; font-weight: bold;
line-height: .3rem; line-height: .3rem;
@ -1381,15 +1392,15 @@ onBeforeUnmount(() => {
} }
} }
.title{ .title{
width: 45%; width: 50%;
height: .3rem; height: .3rem;
line-height: .3rem; line-height: .3rem;
margin: 0 auto .2rem auto; margin: 0 auto .2rem auto;
color: #19C3F4; color: #ffffff;
font-size: .18rem; font-size: .18rem;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
background-image: url("../../assets/images/wrappertitle.png"); background-image: url("../../assets/images/wrappertitle2.png");
background-size: 100% 100%; background-size: 100% 100%;
} }
.info_box{ .info_box{
@ -1410,7 +1421,8 @@ onBeforeUnmount(() => {
width: 50%; width: 50%;
height: 100%; height: 100%;
//border: 1px solid #fff; //border: 1px solid #fff;
margin-left: .1rem; margin-left: .3rem;
padding-top: .2rem;
p{ p{
font-size: .16rem; font-size: .16rem;
line-height: .4rem; line-height: .4rem;
@ -1447,21 +1459,66 @@ onBeforeUnmount(() => {
} }
} }
.bgimg{ .bgimg{
background-image: url("../../assets/images/wrapperbox.png"); //background-image: url("../../assets/images/wrapperbox.png");
background-size: 100% 100%; //background-size: 100% 100%;
//background-color: rgba(32,237,255,.1); background-color: #1969b640;
border: 1px solid #1969b6;
} }
.screenNumber{ .screenNumber{
font-family: 'ds-digitalnormal'; font-family: 'ds-digitalnormal';
} }
@media (max-width: 960px) { @media (max-width: 960px) {
.header{
h2{
font-size: 17px !important;
}
.timer{
font-size: 12px !important;
transform: scale(0.8);
top: 3px !important;
}
.right-menu-item{
padding: 0 !important;
font-size: 10px !important;
}
.back{
padding: 0 !important;
font-size: 13px !important;
top: 3px !important;
}
}
.main{
.title{
height: 20px !important;
line-height: 20px !important;
font-size: 12px !important;
width: 70%;
}
.info_box{
height: 40% !important;
}
.echart_box{
height: 47% !important;
}
.txt{
font-size: 12px !important;
line-height: 20px !important;
}
}
.info_box{ .info_box{
.dev_img{ .dev_img{
position: relative;
width: 40%; width: 40%;
height: 80%; height: 80%;
img{
position: absolute;
top: 0;
left: 0;
}
} }
.dev_data{ .dev_data{
width: 55%; width: 55%;
height: 80%;
} }
} }

Loading…
Cancel
Save