This commit is contained in:
lb 2023-06-08 16:54:34 +08:00
parent bd0f7986a9
commit 5f2ad448aa
17 changed files with 69 additions and 72 deletions

View File

@ -216,12 +216,13 @@ thead>tr th:first-child {
thead>tr th { thead>tr th {
font-size: adjust(8px); font-size: adjust(8px);
line-height: 1.2; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
line-height: 1.25;
letter-spacing: 1px; letter-spacing: 1px;
padding: adjust(3px) adjust(8px); padding: adjust(3px) adjust(8px);
font-weight: 600; font-weight: 600;
background: #4288df23; background: #4288df23;
color: #000; color: #030609d6;
text-align: left; text-align: left;
} }
@ -230,7 +231,8 @@ tbody>tr:nth-child(even) {
} }
tbody>tr td { tbody>tr td {
color: #000; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
color: #030609d6;
font-size: adjust(8px); font-size: adjust(8px);
line-height: 1.2; line-height: 1.2;
padding: adjust(2px) adjust(8px); padding: adjust(2px) adjust(8px);

View File

@ -86,7 +86,7 @@ export default {
.time { .time {
// background: #eee; // background: #eee;
margin: adjust(4px) 0; margin: adjust(6px) 0 0;
padding-left: adjust(14px); padding-left: adjust(14px);
} }

View File

@ -85,7 +85,7 @@ export default {
.time { .time {
// background: #eee; // background: #eee;
margin: adjust(4px) 0; margin: adjust(4px) 0 0;
padding-left: adjust(14px); padding-left: adjust(14px);
} }

View File

@ -92,7 +92,7 @@ export default {
show: false, show: false,
}, },
axisLabel: { axisLabel: {
color: "#fff9", color: "#3C4E8B",
fontSize: adjust(4), fontSize: adjust(4),
lineHeight: adjust(0), lineHeight: adjust(0),
margin: adjust(4), margin: adjust(4),
@ -118,13 +118,12 @@ export default {
}, },
axisLabel: { axisLabel: {
formatter: "{value} ℃", formatter: "{value} ℃",
color: "#fff9", color: "#3C4E8B",
fontSize: adjust(4), fontSize: adjust(4),
lineHeight: adjust(0), lineHeight: adjust(0),
}, },
splitLine: { splitLine: {
lineStyle: { lineStyle: {
// color: "#5982b2a0",
color: '#0068ff33' color: '#0068ff33'
}, },
}, },

View File

@ -21,7 +21,7 @@
place-items: center; place-items: center;
font-size: 18px; font-size: 18px;
letter-spacing: 2px; letter-spacing: 2px;
color: #eee; color: #3C4E8B;
user-select: none; user-select: none;
" "
> >
@ -143,9 +143,9 @@ export default {
this.chart = echarts.init(document.getElementById(this.id)); this.chart = echarts.init(document.getElementById(this.id));
this.chart.setOption({ this.chart.setOption({
grid: { grid: {
top: adjust(14), top: adjust(16),
left: adjust(18), left: adjust(20),
bottom: adjust(14), bottom: adjust(16),
right: adjust(8), right: adjust(8),
}, },
xAxis: { xAxis: {
@ -159,10 +159,10 @@ export default {
show: false, show: false,
}, },
axisLabel: { axisLabel: {
color: "#fffd", color: "#3C4E8Baa",
fontSize: adjust(6), fontSize: adjust(7),
lineHeight: adjust(0), lineHeight: adjust(0),
margin: adjust(4), margin: adjust(5),
rotate: 30, rotate: 30,
}, },
}, },
@ -170,8 +170,8 @@ export default {
type: "value", type: "value",
name: this.unit, name: this.unit,
nameTextStyle: { nameTextStyle: {
color: "#fffd", color: "#3C4E8Baa",
fontSize: adjust(6), fontSize: adjust(8),
lineHeight: 1, lineHeight: 1,
align: "center", align: "center",
}, },
@ -186,8 +186,8 @@ export default {
show: false, show: false,
}, },
axisLabel: { axisLabel: {
color: "#fff9", color: "#3C4E8Baa",
fontSize: adjust(6), fontSize: adjust(7),
lineHeight: adjust(0), lineHeight: adjust(0),
}, },
splitLine: { splitLine: {

View File

@ -57,7 +57,7 @@ export default {
.small-box-2 { .small-box-2 {
flex-shrink: 0; flex-shrink: 0;
padding: adjust(7px); padding: 0;
user-select: none; user-select: none;
width: adjust(w(744px)); width: adjust(w(744px));
height: adjust(h(350px)); height: adjust(h(350px));
@ -67,11 +67,14 @@ export default {
background-position: bottom; background-position: bottom;
.icon { .icon {
margin-top: adjust(h(56px));
margin-left: adjust(w(24px));
width: adjust(h(172px)); width: adjust(h(172px));
height: adjust(h(172px)); height: adjust(h(172px));
} }
.info { .info {
margin-top: adjust(h(56px));
flex: 1 auto; flex: 1 auto;
font-family: "微软雅黑", sans-serif; font-family: "微软雅黑", sans-serif;
padding-left: adjust(5px); padding-left: adjust(5px);

View File

@ -53,7 +53,9 @@ section {
section::before { section::before {
content: '数据组'; content: '数据组';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -24,7 +24,7 @@ export default {
@import "../../assets/styles/functions"; @import "../../assets/styles/functions";
section { section {
background: url('../../assets/fault-analysis.png') left 144px top 4px / 79% 54% no-repeat, #fcc7; background: url('../../assets/fault-analysis.png') left 144px top 4px / 79% 54% no-repeat, #ccc7;
width: adjust(w(1900px)); width: adjust(w(1900px));
height: adjust(h(1260px)); height: adjust(h(1260px));
position: absolute; position: absolute;
@ -35,7 +35,9 @@ section {
section::before { section::before {
content: '环境浓度'; content: '环境浓度';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -24,7 +24,7 @@ export default {
@import "../../assets/styles/functions"; @import "../../assets/styles/functions";
section { section {
background: url('../../assets/fault-analysis.png') left 144px top 4px / 79% 54% no-repeat, #fcc7; background: url('../../assets/fault-analysis.png') left 144px top 4px / 79% 54% no-repeat, #ccc7;
width: adjust(w(1900px)); width: adjust(w(1900px));
height: adjust(h(1260px)); height: adjust(h(1260px));
position: absolute; position: absolute;
@ -34,7 +34,9 @@ section {
section::before { section::before {
content: '缺陷分析'; content: '缺陷分析';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -24,7 +24,7 @@ export default {
@import "../../assets/styles/functions"; @import "../../assets/styles/functions";
section { section {
background: url('../../assets/monitor-group.png') left 144px top 4px / 1152px 80% no-repeat, #fcc7; background: url('../../assets/monitor-group.png') left 144px top 4px / 1152px 80% no-repeat, #ccc7;
width: adjust(w(3570px)); width: adjust(w(3570px));
height: adjust(h(3790px)); height: adjust(h(3790px));
position: absolute; position: absolute;
@ -34,7 +34,9 @@ section {
section::before { section::before {
content: '监控组 1'; content: '监控组 1';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -24,7 +24,7 @@ export default {
@import "../../assets/styles/functions"; @import "../../assets/styles/functions";
section { section {
background: url('../../assets/middle1.png') left 144px top 4px / 97% 420px no-repeat, #fcc7; background: url('../../assets/middle1.png') left 144px top 4px / 97% 420px no-repeat, #ccc7;
width: adjust(w(13700px)); width: adjust(w(13700px));
height: adjust(h(1600px)); height: adjust(h(1600px));
// width: adjust(w(13500px)); // width: adjust(w(13500px));
@ -36,7 +36,9 @@ section {
section::before { section::before {
content: '监控组 2'; content: '监控组 2';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -24,7 +24,7 @@ export default {
@import "../../assets/styles/functions"; @import "../../assets/styles/functions";
section { section {
background: url('../../assets/monitor-group.png') left 144px top 4px / 1152px 80% no-repeat, #fcc7; background: url('../../assets/monitor-group.png') left 144px top 4px / 1152px 80% no-repeat, #ccc7;
width: adjust(w(3570px)); width: adjust(w(3570px));
height: adjust(h(3790px)); height: adjust(h(3790px));
position: absolute; position: absolute;
@ -35,7 +35,9 @@ section {
section::before { section::before {
content: '监控组 3'; content: '监控组 3';
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
font-size: adjust(h(64px)); font-size: adjust(h(64px));
font-weight: 400;
letter-spacing: 1px; letter-spacing: 1px;
position: absolute; position: absolute;
color: $main-color; color: $main-color;

View File

@ -10,7 +10,9 @@
设计单位: 中建材智能自动化研究院 设计单位: 中建材智能自动化研究院
</span> </span>
<span class="header--wing absolute datetime"> <span class="header--wing absolute datetime">
{{ moment(today).format('YYYY.M.D dddd HH:mm:ss') }} {{ moment(today).format('YYYY.M.D dddd') }}
&nbsp;&nbsp;
{{ moment(today).format('HH:mm:ss') }}
</span> </span>
</header> </header>
</template> </template>
@ -91,12 +93,12 @@ header {
h1 { h1 {
margin-left: adjust(20px); margin-left: adjust(20px);
font-size: adjust(40px); font-size: adjust(45px);
user-select: none; user-select: none;
letter-spacing: adjust(6px); letter-spacing: adjust(6px);
font-weight: 600; font-weight: 600;
color: $main-color; color: $main-color;
font-family: "微软雅黑", sans-serif; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
} }
} }
} }
@ -106,13 +108,14 @@ header {
left: 0; left: 0;
bottom: adjust(10px); bottom: adjust(10px);
height: adjust(h(130px)); height: adjust(h(130px));
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
} }
.company { .company {
margin-left: adjust(w(3800px)); margin-left: adjust(w(3800px));
height: adjust(h(130px)); height: adjust(h(130px));
font-size: adjust(h(100px)); font-size: adjust(h(100px));
font-weight: 600; // font-weight: 600;
text-align: center; text-align: center;
color: lighten($main-color, 8); color: lighten($main-color, 8);
letter-spacing: 2px; letter-spacing: 2px;
@ -126,6 +129,7 @@ header {
font-size: adjust(h(100px)); font-size: adjust(h(100px));
text-align: center; text-align: center;
margin-left: adjust(w(15520px)); margin-left: adjust(w(15520px));
color: lighten($main-color, 8);
height: adjust(h(130px)); height: adjust(h(130px));
// width: adjust(w(1764px)); // width: adjust(w(1764px));
// background: url("../../assets/date.png") center/cover no-repeat; // background: url("../../assets/date.png") center/cover no-repeat;

View File

@ -21,22 +21,10 @@
<div class="video-crash" v-if="false"></div> <div class="video-crash" v-if="false"></div>
<div class="eq-main absolute"> <div class="eq-main absolute">
<div <div class="arrow ar-top-left" :class="topLeftArrowRolling === '运行' ? 'ar-running' : ''"></div>
class="arrow ar-top-left" <div class="arrow ar-top-right" :class="topRightArrowRolling === '运行' ? 'ar-running' : ''"></div>
:class="topLeftArrowRolling === '运行' ? 'ar-running' : ''" <div class="arrow ar-bottom-left" :class="bottomLeftArrowRolling === '运行' ? 'ar-running' : ''"></div>
></div> <div class="arrow ar-bottom-right" :class="bottomRightArrowRolling === '运行' ? 'ar-running' : ''"></div>
<div
class="arrow ar-top-right"
:class="topRightArrowRolling === '运行' ? 'ar-running' : ''"
></div>
<div
class="arrow ar-bottom-left"
:class="bottomLeftArrowRolling === '运行' ? 'ar-running' : ''"
></div>
<div
class="arrow ar-bottom-right"
:class="bottomRightArrowRolling === '运行' ? 'ar-running' : ''"
></div>
<div class="swd onekb"> <div class="swd onekb">
<div class="swd-box"> <div class="swd-box">
@ -64,31 +52,13 @@
</div> </div>
<div class="video-bottom--wrapper" v-show="fireDirection === '北火'" style=""> <div class="video-bottom--wrapper" v-show="fireDirection === '北火'" style="">
<video <video class="video-bottom" id="1" preload="auto" height="130" muted autoplay loop disablepictureinpicture
class="video-bottom" src="../../assets/videos/fire-to-top.mp4"></video>
id="1"
preload="auto"
height="130"
muted
autoplay
loop
disablepictureinpicture
src="../../assets/videos/fire-to-top.mp4"
></video>
</div> </div>
<div class="video-top--wrapper" v-show="fireDirection === '南火'" style=""> <div class="video-top--wrapper" v-show="fireDirection === '南火'" style="">
<video <video id="2" class="video-top" preload="auto" height="130" muted autoplay loop disablepictureinpicture
id="2" src="../../assets/videos/fire-to-bottom.mp4"></video>
class="video-top"
preload="auto"
height="130"
muted
autoplay
loop
disablepictureinpicture
src="../../assets/videos/fire-to-bottom.mp4"
></video>
</div> </div>
</div> </div>
@ -287,6 +257,7 @@ main {
.swd-box { .swd-box {
margin-left: adjust(8px); margin-left: adjust(8px);
font-size: adjust(8px); font-size: adjust(8px);
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, "微软雅黑", Arial, Helvetica, sans-serif;
.swd-value { .swd-value {
color: #ff2020; color: #ff2020;

View File

@ -106,7 +106,7 @@ export default {
} }
.title { .title {
font-size: adjust(h(38px)); font-size: adjust(h(52px));
letter-spacing: 1px; letter-spacing: 1px;
color: #3565ff; color: #3565ff;
font-family: sans-serif; font-family: sans-serif;
@ -117,6 +117,12 @@ export default {
.title_text { .title_text {
line-height: 0; line-height: 0;
margin-bottom: 10px;
}
.out-water .title,
.in-water .title {
font-size: adjust(h(40px));
} }
.content { .content {

View File

@ -29,8 +29,7 @@ export default {
height: adjust($actual_height); height: adjust($actual_height);
width: adjust($actual_width); width: adjust($actual_width);
overflow: hidden; overflow: hidden;
// background: url(../assets/bg.png) center/cover no-repeat ; background: url(../assets/bg.png) center/cover no-repeat, #cccc;
background: #cccc;
color: white; color: white;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -2,7 +2,8 @@ const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
devServer: { devServer: {
host: "127.0.0.1", host: '0.0.0.0',
// host: "127.0.0.1",
port: 8000, port: 8000,
}, },
publicPath: './' publicPath: './'