diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 54da371..985595e 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -18,9 +18,9 @@ i {
}
.container {
- padding: 20px;
+ flex: 1;
+ padding: 0 20px;
box-sizing: border-box;
-
}
.table-container {
@@ -28,6 +28,7 @@ i {
padding: 22px 17px;
box-sizing: border-box;
border-radius: 5px;
+ box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
}
.el-table th {
@@ -98,4 +99,26 @@ i {
.noScrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
+}
+
+.scrollbar {
+ overflow: auto;
+}
+
+.scrollbar::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+}
+
+.scrollbar::-webkit-scrollbar-thumb {
+ background-color: #B2B2B2;
+ border-radius: 4px;
+}
+
+.scrollbar::-webkit-scrollbar-track:hover {
+ background-color: #fff;
+}
+
+.scrollbar::-webkit-scrollbar-thumb:hover {
+ background-color: #909399;
}
\ No newline at end of file
diff --git a/src/components/table-edit.vue b/src/components/table-edit.vue
index b5058e4..fee210a 100644
--- a/src/components/table-edit.vue
+++ b/src/components/table-edit.vue
@@ -19,6 +19,15 @@
+
+
+
保 存
@@ -68,6 +78,8 @@ const { options, formData, edit, update } = defineProps({
},
});
+const emit = defineEmits(["cancel"]);
+
const form = ref({ ...(edit ? formData : {}) });
const rules: FormRules = options.list
diff --git a/src/components/table-search.vue b/src/components/table-search.vue
index 451f5b9..84d75a6 100644
--- a/src/components/table-search.vue
+++ b/src/components/table-search.vue
@@ -69,10 +69,11 @@ const resetForm = (formEl: FormInstance | undefined) => {