@@ -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 }}
+