|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<router-view></router-view>
|
|
|
|
|
<div class="data" id="data">{{ data }}</div>
|
|
|
|
|
<div class="time" id="time">{{ time }}</div>
|
|
|
|
|
<div class="date" id="date">{{ date }}</div>
|
|
|
|
|
</div>
|
|
|
|
@ -13,11 +14,14 @@ export default {
|
|
|
|
|
name: 'BoardIndex',
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
data:'',
|
|
|
|
|
time: '',
|
|
|
|
|
date: ''
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
let floorData = JSON.parse(sessionStorage.getItem('FLOORDATA') || '{}')
|
|
|
|
|
this.data = floorData.query?.a
|
|
|
|
|
const getDate = () => {
|
|
|
|
|
let date = new Date()
|
|
|
|
|
let YYYY = date.getFullYear()
|
|
|
|
@ -38,7 +42,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped>
|
|
|
|
|
.time, .date {
|
|
|
|
|
.time, .date, .data {
|
|
|
|
|
position: absolute;
|
|
|
|
|
font-size: 0.8vw;
|
|
|
|
|
color: #fcfcfc;
|
|
|
|
@ -46,6 +50,11 @@ export default {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.data {
|
|
|
|
|
top: 3.2%;
|
|
|
|
|
right: 17%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
top: 3.2%;
|
|
|
|
|
left: 85.8%;
|
|
|
|
|