File was renamed from src/components/camera/SeparateRules.vue |
| | |
| | | /> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- <swiper :options="swiperOption" class="swiper-box-container"> |
| | | |
| | | <swiper-slide v-for="(item, index) in 10" :key="index"> |
| | |
| | | <div class="icon-btn" slot="button-next"> |
| | | <i class="iconfont iconyou1"></i> |
| | | </div> |
| | | </div> --> |
| | | </div>--> |
| | | <!-- <swiper :options="swiperOption" class="swiper-box-container"> |
| | | <span class="task-tip" v-show="Camera.rules.length == 0 ">暂无场景,请开始创建</span> |
| | | <swiper-slide v-for="(item, index) in Camera.rules" :key="index"> |
| | |
| | | <div class="icon-btn" slot="button-next"> |
| | | <i class="iconfont iconyou1"></i> |
| | | </div> |
| | | </div> --> |
| | | </div>--> |
| | | |
| | | <!-- 系统信息 --> |
| | | |
| | | </div> |
| | | |
| | | <div class="bottom" style="top:254px;"> |
| | |
| | | > |
| | | <p style="text-align:left;padding: 10px;box-sizing: border-box"> |
| | | <b style="font-size: 14px">时间段</b> |
| | | |
| | | </p> |
| | | <time-slider ref="timeSlider" :type="'sep'" /> |
| | | </div> |
| | |
| | | import polygonCanvas from "@/components/canvas"; |
| | | import Sysinfo from "./SystemInfo"; |
| | | import SceneRule from "./SceneRule"; |
| | | import SlideScene from "../scene/SlideScene"; |
| | | import SlideScene from "./scene/SlideScene"; |
| | | |
| | | export default { |
| | | components: { |
| | | TimeSlider, |
| | |
| | | canvasHeight: 324 |
| | | }; |
| | | }, |
| | | mounted(){ |
| | | mounted() { |
| | | this.mockAsync() |
| | | }, |
| | | |
| | | methods: { |
| | | mockAsync(){ |
| | | setTimeout(()=>{ |
| | | mockAsync() { |
| | | setTimeout(() => { |
| | | this.mockSceneData = [ |
| | | { scenename: "name1", id:1, icon: ["iconrenlianjiance", "icongetijingzhi"] }, |
| | | { scenename: "name2", id:2, icon: ["iconchouyan-copy"] }, |
| | | { |
| | | scenename: "name3", |
| | | id:3, |
| | | icon: [ |
| | | "iconrenshukouzhao", |
| | | "iconchouyan-copy", |
| | | "iconrenlianjiance", |
| | | "icongetijingzhi" |
| | | ] |
| | | }, |
| | | { |
| | | scenename: "name4", |
| | | id:4, |
| | | icon: ["iconchouyan-copy", "iconrenlianjiance", "icongetijingzhi"] |
| | | }, |
| | | { scenename: "name5", id:5, icon: ["icongetijingzhi"] }, |
| | | { scenename: "name6", id:6, icon: ["iconrenshukouzhao", "icongetijingzhi"] }, |
| | | { scenename: "name7", id:7, icon: ["iconrenlianjiance"] } |
| | | ]; |
| | | },3000) |
| | | { scenename: "name1", id: 1, icon: ["iconrenlianjiance", "icongetijingzhi"] }, |
| | | { scenename: "name2", id: 2, icon: ["iconchouyan-copy"] }, |
| | | { |
| | | scenename: "name3", |
| | | id: 3, |
| | | icon: [ |
| | | "iconrenshukouzhao", |
| | | "iconchouyan-copy", |
| | | "iconrenlianjiance", |
| | | "icongetijingzhi" |
| | | ] |
| | | }, |
| | | { |
| | | scenename: "name4", |
| | | id: 4, |
| | | icon: ["iconchouyan-copy", "iconrenlianjiance", "icongetijingzhi"] |
| | | }, |
| | | { scenename: "name5", id: 5, icon: ["icongetijingzhi"] }, |
| | | { scenename: "name6", id: 6, icon: ["iconrenshukouzhao", "icongetijingzhi"] }, |
| | | { scenename: "name7", id: 7, icon: ["iconrenlianjiance"] } |
| | | ]; |
| | | }, 3000) |
| | | }, |
| | | drawBaseImg() { |
| | | this.$refs.canvas.showModal(); |
| | |
| | | position: initial; |
| | | min-width: 472px; |
| | | width: 80%; |
| | | |
| | | |
| | | // height: 124px; |
| | | } |
| | | .swiper-slide { |
| | |
| | | } |
| | | } |
| | | .el-loading-spinner { |
| | | background: url("../../assets/gif/loading.gif") no-repeat; |
| | | background: url("../../../assets/gif/loading.gif") no-repeat; |
| | | top: 50%; |
| | | margin-top: -21px; |
| | | width: calc(100% - 260px) !important; |