Browse Source

bug修复

threethousanddream 2 months ago
parent
commit
23b8bdae2f

+ 18 - 0
src/assets/myStyle.scss

@@ -152,4 +152,22 @@
     flex: 1;
     overflow-y: auto;
   }
+}
+.comp-upload {
+  .el-upload.el-upload--text {
+    flex-direction: column;
+    align-items: flex-start;
+  }
+  .add-box {
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    font-size: 20px;
+    color: #ccc;
+    border: 1px dashed #ccc;
+  }
+  .hint {
+    font-size: 12px;
+    color: #777;
+  }
 }

+ 0 - 19
src/components/Upload/index.vue

@@ -69,24 +69,5 @@ const uploadImage = (e) => {
   });
 }
 </script>
-
 <style lang="scss">
-.comp-upload {
-  .el-upload.el-upload--text {
-    flex-direction: column;
-    align-items: flex-start;
-  }
-  .add-box {
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    font-size: 20px;
-    color: #ccc;
-    border: 1px dashed #ccc;
-  }
-  .hint {
-    font-size: 12px;
-    color: #777;
-  }
-}
 </style>

+ 24 - 0
src/views/backup/list.scss

@@ -0,0 +1,24 @@
+.backup-upload-dialog {
+  .el-upload-list {
+    display: none;
+  }
+}
+.update_sql {
+  .my-top {
+    .icon {
+      width: 18px;
+      height: 18px;
+      margin-right: 3px;
+    }
+  }
+}
+.backup-dialog {
+  height: 80% !important;
+  .el-dialog__body {
+    height: calc(100% - 56px) !important;
+    overflow-y: auto;
+    .el-textarea__inner {
+      max-height: 73px;
+    }
+  }
+}

+ 1 - 24
src/views/backup/list.vue

@@ -384,28 +384,5 @@ const uploadFile = () => {
 }
 </script>
 <style lang="scss">
-.backup-upload-dialog {
-  .el-upload-list {
-    display: none;
-  }
-}
-.update_sql {
-  .my-top {
-    .icon {
-      width: 18px;
-      height: 18px;
-      margin-right: 3px;
-    }
-  }
-}
-.backup-dialog {
-  height: 80% !important;
-  .el-dialog__body {
-    height: calc(100% - 56px) !important;
-    overflow-y: auto;
-    .el-textarea__inner {
-      max-height: 73px;
-    }
-  }
-}
+@import "./list.scss";
 </style>

+ 23 - 0
src/views/ctrl/analyse.scss

@@ -0,0 +1,23 @@
+.page-ctrl-analyse {
+  overflow-y: auto;
+  .top, .bottom {
+    height: calc((100% - 20px) / 2);
+    overflow: hidden;
+    min-height: 345px;
+  }
+  .title-box {
+    line-height: 40px;
+    font-size: 16px;
+    font-weight: 600;
+  }
+  .my-top {
+    padding-bottom: 10px;
+  }
+  .el-input-group__append {
+    padding: 0 5px;
+    background-color: #fff;
+  }
+  .table-box {
+    min-height: 300px;
+  }
+}

+ 1 - 23
src/views/ctrl/analyse.vue

@@ -241,27 +241,5 @@ const apiCurrentChange = current => {
 }
 </script>
 <style lang="scss">
-.page-ctrl-analyse {
-  overflow-y: auto;
-  .top, .bottom {
-    height: calc((100% - 20px) / 2);
-    overflow: hidden;
-    min-height: 345px;
-  }
-  .title-box {
-    line-height: 40px;
-    font-size: 16px;
-    font-weight: 600;
-  }
-  .my-top {
-    padding-bottom: 10px;
-  }
-  .el-input-group__append {
-    padding: 0 5px;
-    background-color: #fff;
-  }
-  .table-box {
-    min-height: 300px;
-  }
-}
+@import "./analyse.scss";
 </style>

+ 1 - 3
src/views/ctrl/dsDetail.vue

@@ -178,7 +178,5 @@ const onDetailSizeChange = size => {
   getData()
 }
 </script>
-<style lang="scss" scoped>
-.page-ctrl-ds-detail {
-}
+<style lang="scss">
 </style>

+ 1 - 1
src/views/temp/visualTemp.vue

@@ -488,7 +488,7 @@ const onSizeChange = size => {
   getData()
 }
 </script>
-<style lang="scss">
+<style lang="scss" scoped>
 .page-temp {
   .main-container {
     display: flex;