瀏覽代碼

update

master
g7hoo 1 年之前
父節點
當前提交
d1ba6ffe61
共有 16 個檔案被更改,包括 66 行新增34 行删除
  1. 二進制
      src/assets/company.png
  2. 二進制
      src/assets/fonts/zcoolqingkehuangyouti-Regular.ttf
  3. 二進制
      src/assets/header.png
  4. 二進制
      src/assets/logo.png
  5. 二進制
      src/assets/tv.png
  6. 二進制
      src/assets/video-crash.png
  7. +1
    -1
      src/components/boxes/HistoryTemp.vue
  8. +3
    -3
      src/components/boxes/InWater.vue
  9. +3
    -3
      src/components/boxes/OutWater.vue
  10. +11
    -10
      src/components/charts/BarChart.vue
  11. +2
    -1
      src/components/charts/LineChart.vue
  12. +1
    -1
      src/components/common/DigitalBox.vue
  13. +10
    -8
      src/components/layout/Header.vue
  14. +28
    -1
      src/components/layout/Main.vue
  15. +3
    -3
      src/components/layout/SubContainer.vue
  16. +4
    -3
      src/style.css

二進制
src/assets/company.png 查看文件

Before After
Width: 1231  |  Height: 78  |  Size: 29 KiB Width: 1322  |  Height: 90  |  Size: 32 KiB

二進制
src/assets/fonts/zkqkhy.ttf → src/assets/fonts/zcoolqingkehuangyouti-Regular.ttf 查看文件


二進制
src/assets/header.png 查看文件

Before After
Width: 8961  |  Height: 300  |  Size: 142 KiB Width: 8962  |  Height: 293  |  Size: 141 KiB

二進制
src/assets/logo.png 查看文件

Before After
Width: 92  |  Height: 130  |  Size: 4.7 KiB Width: 259  |  Height: 135  |  Size: 16 KiB

二進制
src/assets/tv.png 查看文件

Before After
Width: 800  |  Height: 424  |  Size: 16 KiB

二進制
src/assets/video-crash.png 查看文件

Before After
Width: 317  |  Height: 220  |  Size: 111 KiB

+ 1
- 1
src/components/boxes/HistoryTemp.vue 查看文件

@@ -38,7 +38,7 @@ h3 {
margin: 0;
font-family: sans-serif;
font-weight: 400;
font-size: adjust(10px);
font-size: adjust(14px);
letter-spacing: adjust(1px);
color: #52fff8;
margin: adjust(12px) 0;


+ 3
- 3
src/components/boxes/InWater.vue 查看文件

@@ -58,8 +58,8 @@ export default {
position: absolute;
top: adjust(24px);
right: 0;
width: adjust(w(386px));
height: adjust(h(364px));
width: adjust(w(440px));
height: adjust(h(380px));
}

.content {
@@ -69,7 +69,7 @@ export default {
.wave {
transform: translateX(adjust(-16px));
width: adjust(w(793px));
height: adjust(h(72px));
height: adjust(h(76px));
background: url(../../assets/inwater.png) no-repeat;
background-size: 100% 100%;
}


+ 3
- 3
src/components/boxes/OutWater.vue 查看文件

@@ -58,8 +58,8 @@ export default {
position: absolute;
top: adjust(24px);
right: 0;
width: adjust(w(386px));
height: adjust(h(364px));
width: adjust(w(440px));
height: adjust(h(380px));
}

.content {
@@ -69,7 +69,7 @@ export default {
.wave {
transform: translateX(adjust(-16px));
width: adjust(w(793px));
height: adjust(h(72px));
height: adjust(h(76px));
background: url(../../assets/inwater.png) no-repeat;
background-size: 100% 100%;
}


+ 11
- 10
src/components/charts/BarChart.vue 查看文件

@@ -63,16 +63,16 @@ export default {
this.chart = echarts.init(document.getElementById(this.id));
this.chart.setOption({
grid: {
top: adjust(28),
top: adjust(10),
left: adjust(28),
bottom: adjust(18),
right: adjust(12),
},
xAxis: {
type: "category",
data: Array(31)
data: Array(24)
.fill(1)
.map((_, index) => index + 1),
.map((_, index) => index + 1 + ':00'),
axisLine: {
lineStyle: {
color: "#5982b2a0",
@@ -85,17 +85,18 @@ export default {
color: "#ffffff",
fontSize: adjust(7),
lineHeight: adjust(1),
margin: adjust(8),
margin: adjust(6),
rotate: 30
},
},
yAxis: {
type: "value",
name: "单位/℃",
nameTextStyle: {
color: "#fff9",
fontSize: adjust(8),
align: "right",
},
// name: "单位/℃",
// nameTextStyle: {
// color: "#fff9",
// fontSize: adjust(8),
// align: "right",
// },
axisLine: {
show: true,
lineStyle: {


+ 2
- 1
src/components/charts/LineChart.vue 查看文件

@@ -124,7 +124,7 @@ export default {
xAxis: {
data: Array(24)
.fill(1)
.map((_, index) => index + 1),
.map((_, index) => index + 1 + ':00'),
axisLine: {
lineStyle: {
color: "#5982b2a0",
@@ -138,6 +138,7 @@ export default {
fontSize: adjust(6),
lineHeight: adjust(1),
margin: adjust(8),
rotate: 30
},
},
yAxis: {


+ 1
- 1
src/components/common/DigitalBox.vue 查看文件

@@ -46,7 +46,7 @@ export default {
}

.digit {
font-family: "站酷庆科黄油体", sans-serif;
font-family: "zcoolqingkehuangyouti-Regular", sans-serif;
font-size: adjust(32px);
line-height: adjust(39px);
}


+ 10
- 8
src/components/layout/Header.vue 查看文件

@@ -4,7 +4,7 @@
<span class="header--logo">
<!-- <img src="../../assets/logo.png" alt="logo"> -->
</span>
<h1>凯盛晶华玻璃公司800t/d特种玻璃生产线大数据指挥中心</h1>
<h1>凯盛晶华玻璃有限公司800t/d特种玻璃生产线大数据指挥中心</h1>
</div>
<span class="header--wing absolute company"></span>
<span class="header--wing absolute datetime"></span>
@@ -23,7 +23,7 @@ export default {

header {
background: url(../../assets/header.png) center/contain no-repeat;
background-size: 105%;
background-size: 100%;
height: adjust(h(280px));
width: adjust($actual_width);
display: grid;
@@ -32,10 +32,10 @@ header {
> div {
display: flex;
align-items: center;
margin-bottom: adjust(20px);
margin-bottom: adjust(10px);

.header--logo {
width: adjust(56px);
width: adjust(102px);
height: adjust(56px);
background: url(../../assets/logo.png) center/contain no-repeat;
}
@@ -62,14 +62,16 @@ header {
}

.company {
margin-left: adjust(w(1420px));
width: adjust(w(1460px));
margin-left: adjust(w(1460px));
width: adjust(w(1320px));
height: adjust(h(48px));
background: url("../../assets/company.png") center/cover no-repeat;
}

.datetime {
margin-left: adjust(w(6050px));
width: adjust(w(1407px));
margin-left: adjust(w(6150px));
width: adjust(w(1320px));
height: adjust(h(48px));
background: url("../../assets/date.png") center/cover no-repeat;
}
</style>

+ 28
- 1
src/components/layout/Main.vue 查看文件

@@ -1,5 +1,7 @@
<template>
<main class="">
<div class="video-crash" v-if="true"></div>

<div class="eq-main absolute">
<div class="video-bottom" style="">
<video
@@ -146,6 +148,17 @@ main {
left: adjust(1588px);
}

.video-crash {
height: adjust(h(424px));
width: adjust(w(800px));
background: url(../../assets/tv.png) no-repeat;
background-size: 100%;
display: inline-block;
position: absolute;
top: 356px;
left: 1580px;
}

.video-bottom {
position: absolute;
bottom: adjust(153.5px);
@@ -168,17 +181,31 @@ main {
top: adjust(170px);
left: adjust(380px);
position: relative;
transform: rotateY(0.5turn);
}

.eq-main::after {
content: "";
position: absolute;
right: adjust(1000px);
right: adjust(1200px);
top: adjust(164px);
width: adjust(150px);
height: adjust(150px);
background: url(../../assets/mirror.png) no-repeat;
background-size: 100% 100%;
animation: 10s linear .3s infinite mirror-to-left;
}

@keyframes mirror-to-left {
0% {
right: adjust(1200px);
}
// 50% {
// right: adjust(800px);
// }
100% {
right: adjust(60px);
}
}

.kiln-runtime {


+ 3
- 3
src/components/layout/SubContainer.vue 查看文件

@@ -51,8 +51,8 @@ export default {
}

.icon {
height: adjust(16px);
width: adjust(16px);
height: adjust(17px);
width: adjust(17px);
margin-right: adjust(8px);
}

@@ -79,7 +79,7 @@ export default {
.title {
/* margin: 12px 0; */
margin-bottom: adjust(12px);
font-size: adjust(16px);
font-size: adjust(17px);
color: #72f2ff;
font-family: sans-serif;
user-select: none;


+ 4
- 3
src/style.css 查看文件

@@ -1,8 +1,9 @@
@font-face {
font-family: "站酷庆科黄油体";
src: url(./assets/fonts/zkqkhy.ttf);
font-family: 'zcoolqingkehuangyouti-Regular';
src: url('./assets/fonts/zcoolqingkehuangyouti-Regular.ttf');
font-weight: normal;
font-style: normal;
}

* {
box-sizing: border-box;
}


Loading…
取消
儲存