diff --git a/src/assets/scss/dataBoard/IoTPerception/index.scss b/src/assets/scss/dataBoard/IoTPerception/index.scss index 00d63602c..0aefe98dd 100644 --- a/src/assets/scss/dataBoard/IoTPerception/index.scss +++ b/src/assets/scss/dataBoard/IoTPerception/index.scss @@ -201,6 +201,7 @@ .m-box { width: 460px; + height:320px; // background: linear-gradient(144deg, rgba(46, 164, 255, 0.1) 0%, rgba(46, 164, 255, 0) 100%); background: url('@/assets/images/shuju/overview/box-bg.png') no-repeat; background-size: 100% 100%; diff --git a/src/views/dataBoard/IoTPerception/Videosurveillance/index.scss b/src/views/dataBoard/IoTPerception/Videosurveillance/index.scss new file mode 100644 index 000000000..0c580d4c4 --- /dev/null +++ b/src/views/dataBoard/IoTPerception/Videosurveillance/index.scss @@ -0,0 +1,12 @@ +.m-jdjs{ + // margin: 20px 15px; + .m-jdjs-js{ + display: grid; + grid-template-columns: repeat(2, 1fr); /* 每行 2 个元素,1fr 是均分空间 */ + gap: 10px; /* 设置每个元素之间的间距 */ + img { + width: 210px; + height: 120px; + } + } +} \ No newline at end of file diff --git a/src/views/dataBoard/IoTPerception/Videosurveillance/index.vue b/src/views/dataBoard/IoTPerception/Videosurveillance/index.vue index 709264d1d..e743f425e 100644 --- a/src/views/dataBoard/IoTPerception/Videosurveillance/index.vue +++ b/src/views/dataBoard/IoTPerception/Videosurveillance/index.vue @@ -1,14 +1,10 @@