diff --git a/package.json b/package.json index bcee3d9..f0c2b52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aihub", - "version": "1.6.1", + "version": "1.7.0", "description": "An Electron application for AI", "main": "./out/main/index.js", "author": "junki.cn", diff --git a/src/renderer/src/assets/css/styles.less b/src/renderer/src/assets/css/styles.less index cf79ca7..4f04a79 100644 --- a/src/renderer/src/assets/css/styles.less +++ b/src/renderer/src/assets/css/styles.less @@ -133,3 +133,11 @@ img { .z-index-max { z-index: 999999; } + +// 选中边框样式 +.before-active-border { + border: 2px solid transparent; +} +.active-border { + border: 2px solid var(--color-fill-3); +} diff --git a/src/renderer/src/components/modal/PromptList.vue b/src/renderer/src/components/modal/PromptList.vue index e3790bc..b763d3c 100644 --- a/src/renderer/src/components/modal/PromptList.vue +++ b/src/renderer/src/components/modal/PromptList.vue @@ -70,12 +70,12 @@ const selectPrompt = (prompt: string) => { overflow-y: auto; .prompt-item { - padding: 10px; - transition: all 100ms linear; + padding: 8px; border-radius: var(--border-radius-small); + border: 2px solid transparent; &:hover { - background-color: var(--color-fill-2); + border: 2px solid var(--color-fill-3); } &:active { diff --git a/src/renderer/src/components/views/chat-plugin/chat-plugin-list/ChatPluginItem.vue b/src/renderer/src/components/views/chat-plugin/chat-plugin-list/ChatPluginItem.vue index f642eae..b53c1fb 100644 --- a/src/renderer/src/components/views/chat-plugin/chat-plugin-list/ChatPluginItem.vue +++ b/src/renderer/src/components/views/chat-plugin/chat-plugin-list/ChatPluginItem.vue @@ -17,9 +17,9 @@ const itemActive = () => {