修改标题

dev
夜笙歌 1 year ago
parent 9af670c06c
commit deb1044dd4

@ -1,5 +1,6 @@
<template>
<div class="container">
<div class="title1">监控单元</div>
<div class="centerImg"></div>
<BoardTopNav ref="boardTopNav" nowMenu="3" @sceneIdChange="sceneIdChange"></BoardTopNav>
<div class="title">物联网平台</div>
@ -162,6 +163,7 @@ export default {
},
async getDevice(e) {
const {data} = await selectDevicesByMonitorUnitId(this.$store.getters.sceneId, e)
console.log(data)
this.deviceId = e
this.controlList = data.control
this.acquisitionList = data.acquisition
@ -188,6 +190,14 @@ export default {
};
</script>
<style lang="less" scoped>
.title1{
position: absolute;
top: 12%;
left: 73%;
font-size: 1vw;
color: #00f8ff;
transform: translateX(-50%);
}
.container {
background-image: url("~@/assets/board/equipment/bg.jpg");
background-repeat: no-repeat;

@ -1,6 +1,7 @@
<template>
<div class="container">
<div class="centerImg"></div>
<div class="title">监控单元统计</div>
<BoardTopNav nowMenu="1" @sceneIdChange="sceneIdChange"></BoardTopNav>
<Chart ref="chart1" class="chart1"></Chart>
<div class="chart1Right">
@ -452,6 +453,14 @@ export default {
;
</script>
<style scoped>
.title{
position: absolute;
top: 12%;
left: 13.6%;
font-size: 1vw;
color: #00f8ff;
transform: translateX(-50%);
}
.container {
background-image: url("~@/assets/board/index/bg.jpg");
background-repeat: no-repeat;

Loading…
Cancel
Save