zhangzengfei
2020-09-17 d4cd7df0bd1484c31e37bcb0642e89ecdcf7ab29
src/pages/cameraAccess/components/SeparateRules.vue
@@ -61,7 +61,7 @@
            v-if="Camera.analytics"
            class="flex-box"
          >
            <span >算法快速通道</span>
            <span class="label">算法快速通道</span>
            <div class="channel flex-box" >
              <el-tooltip
                effect="dark"
@@ -95,7 +95,7 @@
    <div class="devide"></div>
    <div class="top" style="top:60px;">
    <div class="top" >
      <p class="task-css">
        <b style="font-size: 14px; line-height: 18px;">场景</b>
      </p>
@@ -106,7 +106,7 @@
            :showRealPoll="cameraType === 'camera'"
            :ShowLocalVedio="cameraType === 'dataStack'"
            v-if="showSysInfo"
            style="margin-left: 25px;margin-top:-10px"
            style="margin-top:-10px"
          />
        </div>
      </div>
@@ -253,7 +253,8 @@
    };
  },
  mounted() {
    this.mockAsync()
    this.mockAsync();
    this.PollData.statistics();
  },
  methods: {
@@ -320,6 +321,7 @@
    saveSceneRule(groupRule) {
      const payload = { ...groupRule }
      payload.cameraIds = [this.Camera.cameraId];
      let _this = this;
      saveCameraScene(payload).then(rsp => {
        if (rsp && rsp.success) {
          this.Camera.update();
@@ -327,6 +329,10 @@
            type: "success",
            message: "策略保存成功!"
          });
          //刷新左侧树
          debugger
          _this.$root.$children[0].$children[0].querySearchAsync('camera')
        }
      });
    },
@@ -470,7 +476,7 @@
<style lang="scss">
.s-separate-rules {
  width: 100%;
  padding: 13px 0 20px;
  .ai {
    //width: calc(100% + 76px);
    // height: 38px;
@@ -484,8 +490,18 @@
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      .ai-select{
        text-align: left;
        line-height: 30px;
        height: 30px;
        .flex-box{
          .label{
            &+label,&+div{
              margin-left: 10px;
              line-height: 1;
            }
          }
        }
      }
      .ai-select>div{
        display: inline-block;
@@ -494,6 +510,7 @@
        
        .channel{
          display: inline-block;
          vertical-align: middle;
        }
      }
    }
@@ -509,16 +526,14 @@
    .swiper-box {
      height: 100%;
      float: left;
      width: 48%;
      width: 46%;
      margin-top: -10px;
      position: relative;
    }
    .swiper-container {
      position: initial;
      min-width: 472px;
      width: 80%;
      // height: 124px;
      width: 86%;
    }
    .swiper-slide {
      position: relative;
@@ -557,10 +572,6 @@
          backdrop-filter: blur(1px) brightness(100%);
          display: none;
        }
        // @media screen and(max-width: 1280px) {
        //   max-width: 110px;
        // }
        @media screen and(max-width: 1440px) {
          max-width: 110px;
        }
@@ -602,8 +613,17 @@
    }
    .top-right {
      float: right;
      width: 52%;
      width: 54%;
      height: 144px;
      .card-box{
        width: 54%!important;
      }
      .eCharts-box{
        width: 45%;
        canvas{
          width: 98%!important;
        }
      }
    }
    .task-css {
      text-align: left;
@@ -612,7 +632,7 @@
  }
  .bottom {
    width: 100%;
    margin-bottom: 15px;
    .bottom-side {
      height: 100%;
      width: 250px;
@@ -772,13 +792,6 @@
    color: #3d68e1;
    margin-left: 10px;
    font-size: 14px;
  }
  .task-tip {
    font-family: PingFangSC-Regular;
    font-size: 12px;
    color: #cccccc;
    margin-top: 10%;
    margin-left: 38%;
  }
  .marker {