From 0310eee39ef9a3009a5d3f69b25112c1840c7a43 Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sun, 13 Oct 2024 12:07:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E5=85=B7=E7=AE=B1):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E2=80=9C=E4=BF=9D=E6=8C=81=E4=BA=AE=E5=B1=8F=E2=80=9D?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=95=8C=E9=9D=A2=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E6=B7=BB=E5=8A=A0=E5=9C=86=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/toolbox-data.js | 4 ++-- src/views/ToolboxView/Other/KeepScreenOn.vue | 1 + src/views/ToolboxView/ToolboxView.vue | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/assets/js/toolbox-data.js b/src/assets/js/toolbox-data.js index 58f6d16..26a55ac 100644 --- a/src/assets/js/toolbox-data.js +++ b/src/assets/js/toolbox-data.js @@ -214,9 +214,9 @@ export const toolList = [ title: '保持亮屏', iconClass: 'mdi mdi-monitor', desc: '保持屏幕开启,不息屏,不休眠', - createdAt: '2024-10-13', + createdAt: '2024-10-11', updatedAt: '2024-10-13', - version: '1', + version: '2', enabled: true, }, { diff --git a/src/views/ToolboxView/Other/KeepScreenOn.vue b/src/views/ToolboxView/Other/KeepScreenOn.vue index a69dbf6..daa4340 100644 --- a/src/views/ToolboxView/Other/KeepScreenOn.vue +++ b/src/views/ToolboxView/Other/KeepScreenOn.vue @@ -3,6 +3,7 @@ ref="selfRef" class="tool-detail-page" :class="{ + 'has-radius': !fullscreen.isFullscreen.value, 'is-dark-color': isDarkColor, 'is-faded': isFaded, 'is-on': wakeLock.isActive.value, diff --git a/src/views/ToolboxView/ToolboxView.vue b/src/views/ToolboxView/ToolboxView.vue index 407d470..3837e63 100644 --- a/src/views/ToolboxView/ToolboxView.vue +++ b/src/views/ToolboxView/ToolboxView.vue @@ -192,6 +192,10 @@ function handleOpenTool(data) { height: 100%; overflow-y: auto; + &.has-radius { + border-radius: 8px; + } + > .n-card:not(:first-child) { margin-top: 20px; }