-
-
-
查询
-
新增用户
-
删除用户
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
@@ -127,47 +286,54 @@ const rowSelection = computed(() => {
height: auto;
}
+.header {
+ display: flex;
+}
+
.input {
- width: 30vw;
- margin-top: 20px;
- margin-bottom: 10px;
+ width: 35vw;
+ margin-top: 2vh;
+ margin-bottom: 1vh;
display: flex;
flex-direction: row;
}
.first-input {
- margin-right: 60px;
- margin-left: 20px;
+ margin-right: 1vw;
+ margin-left: 1vw;
}
+.second-input {
+ margin-right: 1vw;
+}
.edit {
+ margin-top: 2vh;
width: 20vw;
- display: grid;
- grid-template-columns: repeat(3, auto); /* 将容器分为三列,每个按钮占一列 */
- column-gap: 20px;
+ display: flex;
}
.query-button {
background-color: dodgerblue;
color:white;
- margin-left: 20px;
+ margin-left: 4vw;
+ margin-right: 1vw;
}
.add-button {
background-color: limegreen;
color: white;
- margin-left: 20px;
}
.delete-button {
background-color: #CD5C5C;
color: white;
- margin-left: 20px;
+ margin-left: 1vw;
}
.table {
- width: 100%; /* 设置表格宽度为100% */
- height: 400px; /* 设置表格高度为400px */
+ width: 100%;
+ height: auto;
+ margin-top: 2vh;
}