修改左边模块滚动间隙问题 #91
@ -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;
 | 
			
		||||
        
 | 
			
		||||
        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;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user