| | |
| | | <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">
|
| | |
| | | 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;
|
| | |
| | | top: 50%;
|
| | | left: 50%;
|
| | | transform: translate(-50%, -50%);
|
| | | width: 96%;
|
| | | width: 76%;
|
| | | }
|
| | | }
|
| | | }
|