From c325db93020bee724c5ce411eb49523ba5230bcb Mon Sep 17 00:00:00 2001 From: xiaohuohumax <1915970986@qq.com> Date: Thu, 3 Oct 2024 18:11:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E6=A0=B7=E5=BC=8F=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/web/CHANGELOG.md | 6 ++ app/web/package.json | 2 +- app/web/src/App.vue | 3 +- app/web/src/components/CSubTitle.vue | 2 +- app/web/src/style/index.css | 13 ++-- app/web/src/views/VAbout.vue | 24 +++---- app/web/src/views/VAlbum.vue | 45 ++++--------- app/web/src/views/VAlbumDetails.vue | 2 +- app/web/src/views/VArticle.vue | 2 +- app/web/src/views/VHistory.vue | 10 +-- app/web/src/views/VLink.vue | 66 +++++++------------ app/web/src/views/VMessage.vue | 10 +-- app/web/src/views/VTag.vue | 10 +-- app/web/src/views/components/CAlbumCard.vue | 36 +++++----- app/web/src/views/components/CArticleCard.vue | 2 +- app/web/src/views/components/CBanner.vue | 2 +- app/web/src/views/components/CComment.vue | 2 +- .../src/views/components/CHeaderSearch.vue | 2 +- app/web/src/views/components/CLinkCard.vue | 63 ++++++++++++------ app/web/src/views/layout/LHeader.vue | 4 +- 20 files changed, 153 insertions(+), 153 deletions(-) diff --git a/app/web/CHANGELOG.md b/app/web/CHANGELOG.md index a285a79..f277de7 100644 --- a/app/web/CHANGELOG.md +++ b/app/web/CHANGELOG.md @@ -1,5 +1,11 @@ # @xiaohuohumax/miaoji-web +## 1.4.1 + +### Minor Changes + +- 样式布局调整 + ## 1.4.0 ### Minor Changes diff --git a/app/web/package.json b/app/web/package.json index fe9222f..f50497d 100644 --- a/app/web/package.json +++ b/app/web/package.json @@ -1,7 +1,7 @@ { "name": "@xiaohuohumax/miaoji-web", "type": "module", - "version": "1.4.0", + "version": "1.4.1", "private": true, "description": "MiaoJi web client", "author": { diff --git a/app/web/src/App.vue b/app/web/src/App.vue index b696fb0..ac69bbd 100644 --- a/app/web/src/App.vue +++ b/app/web/src/App.vue @@ -47,12 +47,13 @@ const themeOverrides: GlobalThemeOverrides = { }, Card: { color: 'transparent', + borderColor: 'transparent', }, } diff --git a/app/web/src/style/index.css b/app/web/src/style/index.css index 60f3cc3..2b7e78f 100644 --- a/app/web/src/style/index.css +++ b/app/web/src/style/index.css @@ -9,7 +9,7 @@ html.dark:root{ --text-color: rgb(134 239 172); - --bg-color: #101010; + --bg-color: #18181c; } /* tailwindcss 与 naive-ui 基础样式冲突 */ @@ -64,24 +64,19 @@ menu { list-style: initial !important; } -.n-card { - background-color: var(--bg-color); -} - @keyframes card { 0% { opacity: 0; - transform: translateY(1em); } 100% { opacity: 1; - transform: translateY(0); } } .n-card { - animation: card .6s ease-in; + animation: card .3s ease-in; + background-color: var(--bg-color); } .n-icon { @@ -90,4 +85,4 @@ menu { .n-loading-bar-container .n-loading-bar:not(.n-loading-bar--error){ background-color: var(--text-color) !important; - } +} diff --git a/app/web/src/views/VAbout.vue b/app/web/src/views/VAbout.vue index affef2c..c937c02 100644 --- a/app/web/src/views/VAbout.vue +++ b/app/web/src/views/VAbout.vue @@ -29,18 +29,18 @@ async function queryDataFunc(): Promise { diff --git a/app/web/src/views/VAlbum.vue b/app/web/src/views/VAlbum.vue index eb556c8..d1ab450 100644 --- a/app/web/src/views/VAlbum.vue +++ b/app/web/src/views/VAlbum.vue @@ -1,8 +1,6 @@ diff --git a/app/web/src/views/VAlbumDetails.vue b/app/web/src/views/VAlbumDetails.vue index 0a7f1bd..01e6586 100644 --- a/app/web/src/views/VAlbumDetails.vue +++ b/app/web/src/views/VAlbumDetails.vue @@ -41,7 +41,7 @@ async function queryDataFunc(): Promise {