diff --git a/src/static/common.less b/src/static/common.less
index a4893ab..eef75a2 100644
--- a/src/static/common.less
+++ b/src/static/common.less
@@ -63,9 +63,9 @@ html, body, #app, .layout {
}
/* ===== 主内容区 ===== */
-.layout-main {
- padding: 0 !important;
- display: flex !important;
+.el-main.layout-main {
+ --el-main-padding: 0;
+ display: flex;
flex-direction: column;
background: var(--el-fill-color);
@@ -85,29 +85,19 @@ html, body, #app, .layout {
}
> .layout-copy {
text-align: center;
- padding: 8px 0 12px;
+ padding-bottom: 12px;
color: var(--el-text-color-placeholder);
font-size: var(--el-font-size-extra-small);
}
-}
-/* ===== 页面布局(用于带分页的表格页面)===== */
-.page-wrapper {
- display: flex;
- flex-direction: column;
- height: 100%;
-}
+ /* ===== 页面布局(用于带分页的表格页面)===== */
+ .page-wrapper {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
-/* ===== 表格美化 ===== */
-.table-container {
- position: relative;
- flex: 1;
- overflow: hidden;
- margin-bottom: 12px;
- display: flex;
- flex-direction: column;
-
- .el-table {
+ .table-container {
// CSS 变量覆盖:表头背景/文字色、行悬停色、边框色、正文色
--el-table-header-bg-color: var(--el-fill-color-light);
--el-table-header-text-color: var(--el-text-color-regular);
@@ -119,7 +109,9 @@ html, body, #app, .layout {
flex: 1;
border-radius: var(--el-border-radius-base);
overflow: hidden;
- border: 1px solid var(--el-border-color-lighter);
+ border-left: 1px solid var(--el-border-color-lighter);
+ border-right: 1px solid var(--el-border-color-lighter);
+ border-top: 1px solid var(--el-border-color-lighter);
&::before {
display: none;
@@ -141,25 +133,22 @@ html, body, #app, .layout {
padding: 4px 6px;
}
}
-}
-
-/* ===== 操作栏 ===== */
-.btn-container {
- margin-bottom: 14px;
- display: flex;
- align-items: center;
-
- .search-btn {
- margin-left: auto;
+ /* ===== 分页 ===== */
+ .page-container {
+ margin-top: 20px;
display: flex;
+ justify-content: center;
}
-}
+ /* ===== 操作栏 ===== */
+ .btn-container {
+ margin-bottom: 14px;
+ display: flex;
+ align-items: center;
-/* ===== 分页 ===== */
-.page-container {
- padding: 16px 0 4px;
- display: flex;
- justify-content: center;
+ .search-btn {
+ margin-left: auto;
+ }
+ }
}
/* ===== 表单弹窗 ===== */
diff --git a/src/views/api/Hitokoto.vue b/src/views/api/Hitokoto.vue
index 8c5462f..9654e03 100644
--- a/src/views/api/Hitokoto.vue
+++ b/src/views/api/Hitokoto.vue
@@ -26,25 +26,23 @@
{{ JSON.stringify(scope.row.value, null, ' ') }}
-
- {{ JSON.stringify(scope.row.value, null, ' ') }}
+
+