hanbaoshan
2020-10-20 98a6297b10a4b97c3022f84d3ba7908c178d9ee0
src/pages/cameraAccess/components/scene/SlideScene.vue
@@ -1,7 +1,7 @@
<template>
  <div class="swiper-box">
    <p class="task-tip" v-if="sceneData.length == 0 ">暂无场景,请开始创建</p>
    <swiper ref="sceneSwiper" v-if="sceneData.length>=1" :options="swiperOption" class="swiper-box-container">
      <!-- <span class="task-tip" v-show="Camera.rules.length == 0 ">暂无场景,请开始创建</span> -->
      <swiper-slide v-for="item in sceneData" :key="item.id+'s'">
        <div class="wrap-box" >
          <div class="inner">
@@ -143,6 +143,12 @@
  fill: currentColor;
  overflow: hidden;
}
.task-tip{
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #cccccc;
  margin-top: 10%;
}
.wrap-box {
  width: 100%;
  display: inline-block;
@@ -222,7 +228,7 @@
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 96%;
            width: 76%;
          }
        }
      }