修改左边模块滚动间隙问题 #91

Merged
xiaomeng merged 1 commits from pc-master into portal 2024-01-12 06:54:06 +00:00
1 changed files with 23 additions and 6 deletions

View File

@ -109,7 +109,7 @@
<div class="e_title">温室环境数据</div>
<div class="detail" style="height: 100%;">
<vue-seamless
class="e_content"
class="e_content e_content1"
:data="list"
:class-option="defaultOption"
>
@ -475,7 +475,7 @@ export default {
defaultOption() {
return {
step: 0.3, //
limitMoveNum: 8, // this.dataList.length
limitMoveNum: this.limitUserId != 5 ? 8 : 18, // this.dataList.length
hoverStop: true, // stop
direction: 1, // 0 1 2 3
openWatch: true, // dom
@ -1012,11 +1012,11 @@ export default {
this.getWeatherData(2023112911050004);
}else if (limitUserId == 5) {
//
this.get_weather_echart_data(2023042214250070);
this.get_thisWeekTemperature_echart_data(2023042214250070);
// this.get_weather_echart_data(2023042214250070);
// this.get_thisWeekTemperature_echart_data(2023042214250070);
this.get_environmentData(2023042214250070);
this.get_readControl_getState(2023042214250070);
this.getWeatherData(2023042214250070);
// this.getWeatherData(2023042214250070);
}
}
});
@ -1273,7 +1273,6 @@ export default {
// id == 1 ;
// id == 5 ;
this.limitUserId = (res.data.data.filter(el=>el.id == 2 || el.id == 1 || el.id == 5))[0].id;
if (this.limitUserId == 1) {
this.drag_boxHandler();
this.dataInit(userId, this.limitUserId);
@ -1572,11 +1571,29 @@ export default {
<style lang="scss">
.environmentData {
.e_content {
> div {
width: 100% !important;
> div {
width: 100% !important;
> div {
width: 100% !important;
display: flex;
flex-wrap: wrap;
}
}
}
.e_content1{
height: 100%;
> div {
width: 100% !important;
height: 100%;
> div {
width: 100% !important;
height: 100%;
display: flex;
flex-wrap: wrap;
}