diff --git a/components/aigc/chat/ChatItem.vue b/components/aigc/chat/ChatItem.vue index a0325dc..58de73a 100644 --- a/components/aigc/chat/ChatItem.vue +++ b/components/aigc/chat/ChatItem.vue @@ -34,7 +34,7 @@ const dayjs = useDayjs()
@@ -60,7 +60,7 @@ const dayjs = useDayjs() } &-remove-btn { - @apply absolute top-0.5 right-0 opacity-0; + @apply absolute top-0.5 right-0 md:opacity-0; @apply transition duration-300 hover:text-red-400; @apply cursor-pointer; } diff --git a/layouts/default.vue b/layouts/default.vue index fc905cf..309c22f 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -20,7 +20,7 @@ const links = [ { label: '绘画', icon: 'i-tabler-brush', - to: '/aigc/drawing', + to: '/', }, { label: '聊天', icon: 'i-tabler-message-2', diff --git a/pages/aigc/chat/index.vue b/pages/aigc/chat/index.vue index cf4023d..e5593dd 100644 --- a/pages/aigc/chat/index.vue +++ b/pages/aigc/chat/index.vue @@ -1,7 +1,14 @@ - - - - \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index 75a1c2e..d1bf262 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,9 +1,414 @@