石门模块修改

pull/90/head
pangdundun 2024-01-11 11:31:39 +08:00
parent 1089f771dc
commit 8ab209a98d
1 changed files with 26 additions and 3 deletions

View File

@ -38,7 +38,7 @@
</div>
</div>
<div class="content">
<div class="left">
<div class="left" v-show="limitUserId != 5">
<div class="weatherStation"></div>
<div class="weather">
@ -104,6 +104,26 @@
></div>
</div>
</div>
<div class="left" v-show="limitUserId == 5" style="height: calc(100% - 0.9rem);">
<div class="environmentData" style="height: 100%;overflow: hidden;">
<div class="e_title">温室环境数据</div>
<div class="detail" style="height: 100%;">
<vue-seamless
class="e_content"
:data="list"
:class-option="defaultOption"
>
<div class="item" v-for="(el, index) in list" :key="index">
<img :src="el.img" alt="" />
<div class="item_child">
<span>{{ el.name }}</span>
<span>{{ el.num }}</span>
</div>
</div>
</vue-seamless>
</div>
</div>
</div>
<div class="middle">
<div class="map">
<div class="map1">
@ -933,8 +953,11 @@ export default {
],
};
},
mounted() {
beforeMount(){
this.login();
},
mounted() {
// this.login();
this.getTime();
@ -1900,7 +1923,7 @@ export default {
.e_content {
width: 100%;
height: 2.53rem;
//height: 2.53rem;
display: flex;
flex-wrap: wrap;