From 5173f8e31d106abd003e123c8679cf53c7940b33 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 30 一月 2023 11:54:12 +0800
Subject: [PATCH] 网格绘制

---
 src/views/systemSetting/device/point/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/systemSetting/device/point/index.vue b/src/views/systemSetting/device/point/index.vue
index 86f450f..7bb4603 100644
--- a/src/views/systemSetting/device/point/index.vue
+++ b/src/views/systemSetting/device/point/index.vue
@@ -4,8 +4,8 @@
       <department-aside @selectedDepartment="selectedDepartment" />
     </el-aside>
 
-    <el-container>
-      <el-header style="display: flex; flex-direction: column; height: 120px">
+    <el-container class="point-container">
+      <el-header style="display: flex; flex-direction: column; height: 120px;padding: 0 40px">
         <div
           style="display: flex; justify-content: space-between; height: 80px"
         >
@@ -146,17 +146,22 @@
     },
   },
   beforeDestroy() {
-    videoList.forEach((element) => {
+    this.videoList.forEach((element) => {
       element.push();
     });
   },
 };
 </script>
 <style lang="scss" scoped>
+.point-container{
+  margin-left: 5px;
+  border: 1px solid #ccc;
+  padding: 10px;
+}
 .button-one {
   height: 40px;
   width: 80px;
-  margin-left: 20px;
+  //margin-left: 20px;
   padding: 0;
   // background-color: #09152f;
   color: rgb(75, 155, 183);
@@ -309,4 +314,4 @@
 video::-webkit-media-controls-toggle-closed-captions-button {
   display: none;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0