From 37cf2800ad61c59e50100b9c08df77d01454fa9f Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 12 Sep 2024 09:58:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9F=A5=E7=9C=8B=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/carouselChart.vue | 13 ++++-- .../components/morePicPreveiw.vue | 46 ++++++++++++++++++- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/src/views/realTimeMonitor/components/carouselChart.vue b/src/views/realTimeMonitor/components/carouselChart.vue index d48fac5..8856946 100644 --- a/src/views/realTimeMonitor/components/carouselChart.vue +++ b/src/views/realTimeMonitor/components/carouselChart.vue @@ -99,7 +99,7 @@ " > - +

@@ -134,7 +134,7 @@

- +

+ + +
@@ -47,6 +59,8 @@ export default { nopicPath: require("@/assets/img/nopic.jpg"), picLoading: false, photoNum: 10, + fistPath: "", + fistflag: true, }; }, mounted() {}, @@ -55,6 +69,7 @@ export default { this.isShow = true; console.log(data); this.deviceData = data; + this.fistPath = data.path; if (data.photoTime == null) { data.photoTime = new Date().getTime(); } @@ -63,7 +78,7 @@ export default { //获取图片 getTerminalPhotoList(channelid, date, termId) { this.terminalPhoto = []; - this.picLoading = true; + //this.picLoading = true; getTerminalPhotoListJoggle({ channelid: channelid, time: date, @@ -72,6 +87,7 @@ export default { .then((res) => { console.log(res); this.picLoading = false; + this.fistflag = false; if (res.data.list.length == 0) { this.terminalPhoto = [ { @@ -107,6 +123,7 @@ export default { }, handleclose() { this.isShow = false; + this.fistflag = true; }, }, }; @@ -151,6 +168,33 @@ export default { .picmain { width: 100%; height: calc(100% - 10px); + .el-skeleton { + width: 100%; + height: 100%; + .el-skeleton__image { + width: 100%; + height: 80%; + svg { + width: 60%; + height: 60%; + } + } + .littleBox { + display: flex; + height: 18%; + margin-top: 2%; + align-items: center; + justify-content: space-around; + .el-skeleton__image { + width: 23%; + height: 100%; + } + svg { + width: 30%; + height: 30%; + } + } + } } }