hanbaoshan
2021-01-29 8f86d0a825962a17634cb5a4fcdab1ceecea1a5a
src/pages/cameraAccess/components/LinkageRule.vue
@@ -17,8 +17,8 @@
          />
        </div>
      </div>
    </div> -->
    <div class="top" >
    </div>-->
    <div class="top">
      <p class="task-css">
        <b style="font-size: 14px; line-height: 18px;">场景</b>
      </p>
@@ -36,7 +36,7 @@
            :ShowLocalVedio="cameraType === 'dataStack'"
            v-if="showSysInfo"
            style="margin-top:-10px"
          /> -->
          />-->
        </div>
      </div>
    </div>
@@ -74,6 +74,7 @@
                    :currentCameraId="data.cameraId"
                    @changeLoading="changeLoading"
                    @fromCanvas="getCanvasData"
                    @refresh="refresh"
                  ></polygon-canvas>
                </swiper-slide>
              </swiper>
@@ -236,6 +237,14 @@
      }
      this.swipercanvasData = swipers;
    },
    refresh(url, id) {
      this.swipercanvasData.forEach(data => {
        if (data.cameraId == id) {
          data.baseImg = url;
        }
      })
      //this.Camera.baseImg = url
    },
    getCanvasData() { },
    showRules() {
      this.tableRuleList = [];
@@ -296,9 +305,9 @@
  //height: 100%;
  //padding: 13px 0 20px;
  position: relative;
  .devide{
  .devide {
    height: 10px;
    background: #E9EBF2;
    background: #e9ebf2;
  }
  .top {
    width: 100%;
@@ -396,14 +405,14 @@
      float: right;
      width: 54%;
      height: 144px;
      .card-box{
        width: 54%!important;
      .card-box {
        width: 54% !important;
      }
      .eCharts-box{
      .eCharts-box {
        width: 45%;
        canvas{
          width: 98%!important;
        }
        canvas {
          width: 98% !important;
        }
      }
    }
    .task-css {
@@ -568,7 +577,6 @@
  .add-btn:hover {
    color: #2249b4;
  }
}
</style>
<style lang="scss" scoped>