diff --git a/src/main.js b/src/main.js index 3cbdfcb..6d89aab 100644 --- a/src/main.js +++ b/src/main.js @@ -60,7 +60,7 @@ Vue.directive("debounce", { } timer = setTimeout(() => { binding.value(); - }, 2000); + }, 500); }); }, }); diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 3f591fa..c69bd72 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -3,8 +3,10 @@
+
+ +
@@ -33,7 +43,13 @@ @click="handleBigpic(item, index)" :class="activeSmall === index ? 'borderActive' : ''" > -
+

--通道{{ item.channelId }}

+
+ +
@@ -108,6 +135,14 @@ export default { this.bigPicPath = this.terminalPhoto[0].path; this.fiveList = this.terminalPhoto.slice(this.page - 1, this.pagesize); this.total = this.terminalPhoto.length / this.pagesize; + console.log("this.bigPicPath"); + }, + watch: { + terminalPhoto: function (newVal, oldVal) { + this.bigPicPath = this.terminalPhoto[0].path; + this.fiveList = this.terminalPhoto.slice(this.page - 1, this.pagesize); + this.total = this.terminalPhoto.length / this.pagesize; + }, }, methods: { @@ -180,7 +215,7 @@ export default { width: 100%; display: flex; flex-direction: column; - height: calc(100% - 24px); + height: calc(100% - 0px); box-sizing: border-box; .picTop { width: 100%; @@ -250,7 +285,7 @@ export default { } .picBottom { width: 100%; - height: 18%; + height: 20%; position: relative; .smallPicBox { width: 100%; diff --git a/src/views/devicePhotoSchedule/components/setdevice.vue b/src/views/devicePhotoSchedule/components/setdevice.vue index 2f85bb0..f37e6eb 100644 --- a/src/views/devicePhotoSchedule/components/setdevice.vue +++ b/src/views/devicePhotoSchedule/components/setdevice.vue @@ -4,14 +4,27 @@ title="设置" :visible.sync="isShow" :close-on-click-modal="false" - width="720px" + width="1020px" >

时间表规则

- - {{ val.startTime }} - {{ val.endTime }} - + + {{ + val.startTime + }} + {{ + val.endTime + }} + {{ val.span }} @@ -19,13 +32,28 @@
- - {{ val.name }} - + + + {{ val.name }} +
-
通道:
+