From cbf06eea2499ecfd8b84bde1ee82a9e909dbdcd3 Mon Sep 17 00:00:00 2001 From: RockYang Date: Wed, 25 Dec 2024 11:10:23 +0800 Subject: [PATCH] fine-tune page styles, use iframe to load external page in navigation bar --- web/src/assets/css/luma.styl | 2 +- web/src/assets/css/main.styl | 3 +- web/src/assets/css/suno.styl | 2 +- web/src/views/ExternalPage.vue | 35 +-- web/src/views/Home.vue | 23 +- web/src/views/Invitation.vue | 31 +-- web/src/views/Luma.vue | 2 +- web/src/views/PowerLog.vue | 2 +- web/src/views/admin/ApiKey.vue | 266 +++++++++---------- web/src/views/admin/ChatList.vue | 129 ++------- web/src/views/admin/ImageList.vue | 424 ++++++++++++++---------------- web/src/views/admin/Login.vue | 111 ++++---- web/src/views/admin/LoginLog.vue | 83 +++--- web/src/views/admin/Medias.vue | 332 +++++++++++------------ web/src/views/admin/Order.vue | 171 ++++++------ web/src/views/admin/PowerLog.vue | 154 +++++------ web/src/views/admin/Redeem.vue | 277 ++++++++++--------- web/src/views/admin/Users.vue | 2 +- 18 files changed, 959 insertions(+), 1090 deletions(-) diff --git a/web/src/assets/css/luma.styl b/web/src/assets/css/luma.styl index adb2d0f5..aebc0a25 100644 --- a/web/src/assets/css/luma.styl +++ b/web/src/assets/css/luma.styl @@ -277,7 +277,7 @@ } .pagination { - padding 10px 20px + margin-top 20px display flex justify-content center } diff --git a/web/src/assets/css/main.styl b/web/src/assets/css/main.styl index 9abf3c22..5510d7ca 100644 --- a/web/src/assets/css/main.styl +++ b/web/src/assets/css/main.styl @@ -58,7 +58,8 @@ body { .container { padding: 15px 20px 30px 20px; background: #ffffff; - margin-bottom 80px + margin-bottom 20px + max-width 100% } .crumbs { diff --git a/web/src/assets/css/suno.styl b/web/src/assets/css/suno.styl index a2dc045b..7166c73e 100644 --- a/web/src/assets/css/suno.styl +++ b/web/src/assets/css/suno.styl @@ -382,7 +382,7 @@ } .pagination { - padding 10px 20px + margin-top 20px display flex justify-content center } diff --git a/web/src/views/ExternalPage.vue b/web/src/views/ExternalPage.vue index 134386df..72e13f98 100644 --- a/web/src/views/ExternalPage.vue +++ b/web/src/views/ExternalPage.vue @@ -1,32 +1,37 @@ \ No newline at end of file + diff --git a/web/src/views/admin/ChatList.vue b/web/src/views/admin/ChatList.vue index f3e630da..a88752d0 100644 --- a/web/src/views/admin/ChatList.vue +++ b/web/src/views/admin/ChatList.vue @@ -3,18 +3,8 @@
- - + + - 搜索 + 搜索
- + @@ -65,16 +44,8 @@