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; }