diff --git a/src/views/data/monitor/index.vue b/src/views/data/monitor/index.vue index fd6749c..91073fc 100644 --- a/src/views/data/monitor/index.vue +++ b/src/views/data/monitor/index.vue @@ -1,35 +1,14 @@ @@ -196,9 +175,22 @@ export default { diff --git a/src/views/data/photo/index.vue b/src/views/data/photo/index.vue index a8743b4..24fbf93 100644 --- a/src/views/data/photo/index.vue +++ b/src/views/data/photo/index.vue @@ -25,7 +25,12 @@
- + +
{{item.stnm}}
@@ -38,6 +43,11 @@
+ + + + +
@@ -74,7 +84,10 @@ export default { stcdTypeId: null, latestTm: null, latestValue: null - } + }, + open: false, + showImg : '', + srcList:[] } }, @@ -97,6 +110,12 @@ export default { resetQuery() { this.resetForm("queryForm"); this.handleQuery(); + }, + show(url){ + // this.open = true; + // this.showImg = url; + this.srcList =[] + this.srcList.push(url) } } }; @@ -113,7 +132,11 @@ export default { box-shadow: 2px 2px 8px #ccc; } img { - width: 400px; + width: 300px; + } + .show-img{ + width: 100%; + margin: 0 auto; } .info { padding: 16px;