Browse Source

大屏-当天时间 / 3D-gif替换

master
xuhuajiao 3 years ago
parent
commit
6985bb48d5
  1. BIN
      public/webA/logok.gif
  2. BIN
      public/webB/logok.gif
  3. BIN
      public/webC/logok.gif
  4. BIN
      public/webTotal/logok.gif
  5. 21
      src/views/environmentalScreen/index.vue

BIN
public/webA/logok.gif

Before

Width: 436  |  Height: 140  |  Size: 206 KiB

After

Width: 1024  |  Height: 1024  |  Size: 1.3 MiB

BIN
public/webB/logok.gif

Before

Width: 436  |  Height: 140  |  Size: 206 KiB

After

Width: 1024  |  Height: 1024  |  Size: 1.3 MiB

BIN
public/webC/logok.gif

Before

Width: 436  |  Height: 140  |  Size: 206 KiB

After

Width: 1024  |  Height: 1024  |  Size: 1.3 MiB

BIN
public/webTotal/logok.gif

Before

Width: 436  |  Height: 140  |  Size: 206 KiB

After

Width: 1024  |  Height: 1024  |  Size: 1.3 MiB

21
src/views/environmentalScreen/index.vue

@ -1,6 +1,7 @@
<template>
<div class="env-container">
<div class="env-top-title" />
<div class="current-date">{{ nowDate }}</div>
<div class="env-main">
<div class="env-main-left">
<div class="env-item container-wrap">
@ -217,6 +218,7 @@
</template>
<script>
import { getCurrentTime } from '@/utils/index'
import LineChart from './module/lineChart'
import Video from '@/views/storeManage/warehouse3D/module/video'
import data1 from './data1.json'
@ -238,11 +240,18 @@ export default {
},
data() {
return {
nowDate: '',
timer: null,
tableData: [],
lineChartData: lineChartData,
className: ['readRoomContainer', 'collateRoomContainer']
}
},
created() {
this.timer = setInterval(() => {
this.nowDate = getCurrentTime()
}, 1000)
},
mounted() {
this.tableData = data1.rows
const _this = this
@ -253,6 +262,11 @@ export default {
}
window.addEventListener('message', this.handleMessageDevice)
},
beforeDestroy() {
if (this.timer) {
clearInterval(this.timer)
}
},
methods: {
// data / iframe
deviceState(e) {
@ -333,6 +347,13 @@ export default {
background: url('~@/assets/images/largeScreen/top-title.png') no-repeat 0 -14px;
background-size: contain;
}
.current-date{
position: fixed;
top: 25px;
right: 150px;
font-size: 16px;
color: #3A99FD;
}
.env-main{
display: flex;
justify-content: space-between;

Loading…
Cancel
Save