From d29aac088aa9a9e911b564224f9f17615576f442 Mon Sep 17 00:00:00 2001 From: ccnetcore Date: Sun, 31 Aug 2025 01:37:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E9=9D=A2=E4=BC=98=E5=8C=96ai-?= =?UTF-8?q?hub=E5=89=8D=E7=AB=AF=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Ai.Vue3/.eslintrc-auto-import.json | 2 + .../components/QrCodeLogin/index.vue | 58 ++++--------------- .../src/components/WelecomeText/index.vue | 2 +- .../components/UserManagement.vue | 4 +- .../src/layouts/components/Aside/index.vue | 8 ++- .../components/Header/components/Avatar.vue | 4 +- Yi.Ai.Vue3/src/pages/chat/index.vue | 2 +- .../pages/chat/layouts/chatWithId/index.vue | 2 +- Yi.Ai.Vue3/src/styles/github-markdown.css | 2 +- Yi.Ai.Vue3/src/styles/yixin-markdown.scss | 2 +- 10 files changed, 27 insertions(+), 59 deletions(-) diff --git a/Yi.Ai.Vue3/.eslintrc-auto-import.json b/Yi.Ai.Vue3/.eslintrc-auto-import.json index af1083b7..313e6711 100644 --- a/Yi.Ai.Vue3/.eslintrc-auto-import.json +++ b/Yi.Ai.Vue3/.eslintrc-auto-import.json @@ -5,6 +5,8 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, + "ElMessage": true, + "ElMessageBox": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, diff --git a/Yi.Ai.Vue3/src/components/LoginDialog/components/QrCodeLogin/index.vue b/Yi.Ai.Vue3/src/components/LoginDialog/components/QrCodeLogin/index.vue index 71e23880..de8a1861 100644 --- a/Yi.Ai.Vue3/src/components/LoginDialog/components/QrCodeLogin/index.vue +++ b/Yi.Ai.Vue3/src/components/LoginDialog/components/QrCodeLogin/index.vue @@ -290,14 +290,14 @@ onMounted(() => {
- 提示:
- 意社区老用户可返回登录
- 登录后前往个人中心绑定微信 +

提示:

+

意社区老用户可用原方式登录

+

登录后前往个人中心绑定微信

提示:
- 若该微信已注册意社区
- 将直接解绑到该账号 + 若扫码的微信已注册过意社区账号
+ 将直接解绑到当前登录账号
@@ -306,56 +306,17 @@ onMounted(() => { .tip-old-user{ line-height: 1.5; margin: 5px 0; - padding: 6px 12px; - color: #F56C6C; - position: relative; + color: #FF4D4F; display: flex; - align-items: center; - min-height: 4rem; - border-radius: var(--r); - border: none; - background: rgba(#fff, 0.1); - backdrop-filter: blur(2px); - text-shadow: 0.25em 0.25em 1px #00000010; - --shadow-color: 0deg 0% 64%; - --shadow-elevation-high: 0.5px 1px 1.1px hsl(var(--shadow-color) / 0.28), 1.4px 3.1px 3.4px -0.4px hsl(var(--shadow-color) / 0.27), 2.5px 5.3px 5.9px -0.7px hsl(var(--shadow-color) / 0.25), 3.9px 8.4px 9.3px -1.1px hsl(var(--shadow-color) / 0.24), 6px 12.9px 14.3px -1.5px hsl(var(--shadow-color) / 0.23), 9px 19.5px 21.6px -1.8px hsl(var(--shadow-color) / 0.21), 13.4px 28.9px 32px -2.2px hsl(var(--shadow-color) / 0.2), 19.3px 41.7px 46.2px -2.6px hsl(var(--shadow-color) / 0.19), 27.1px 58.5px 64.8px -2.9px hsl(var(--shadow-color) / 0.17), 37.1px 80px 88.6px -3.3px hsl(var(--shadow-color) / 0.16); - --inner-light: inset 0 -6px 2px -5px #ffffff24, inset 0 -8px 3px -5px #ffffff3b, inset 0 -20px 10px -15px #ffffff5c, inset 7px 25px 10px -20px #ffffff5c; - --inner-shadow: inset -20px 5px 10px -20px #00000021, inset -40px 50px 7px -55px #00000021; - --external-light: 5px -30px 30px -20px #ffffff70, 5px 10px 30px -20px #ffffff70; - --default: var(--external-light), var(--shadow-elevation-high), var(--inner-light), var(--inner-shadow); - box-shadow: var(--default); - background-position: center; - animation: gradient 10s linear infinite; - //background: linear-gradient(45deg, #85d5e757, #7a9ed254, #ba6ac93d, #de54c217, #f86b2d4f); - //background: #00DB73; - + flex-direction: column; + text-align: center; } .tip-old-user-bind{ line-height: 1.5; margin: 5px 0; - padding: 6px 12px; - color: #ffffff; - position: relative; + color: #FF4D4F; display: flex; align-items: center; - min-height: 4rem; - border-radius: var(--r); - border: none; - background: rgba(#fff, 0.1); - backdrop-filter: blur(2px); - text-shadow: 0.25em 0.25em 1px #00000010; - --shadow-color: 0deg 0% 64%; - --shadow-elevation-high: 0.5px 1px 1.1px hsl(var(--shadow-color) / 0.28), 1.4px 3.1px 3.4px -0.4px hsl(var(--shadow-color) / 0.27), 2.5px 5.3px 5.9px -0.7px hsl(var(--shadow-color) / 0.25), 3.9px 8.4px 9.3px -1.1px hsl(var(--shadow-color) / 0.24), 6px 12.9px 14.3px -1.5px hsl(var(--shadow-color) / 0.23), 9px 19.5px 21.6px -1.8px hsl(var(--shadow-color) / 0.21), 13.4px 28.9px 32px -2.2px hsl(var(--shadow-color) / 0.2), 19.3px 41.7px 46.2px -2.6px hsl(var(--shadow-color) / 0.19), 27.1px 58.5px 64.8px -2.9px hsl(var(--shadow-color) / 0.17), 37.1px 80px 88.6px -3.3px hsl(var(--shadow-color) / 0.16); - --inner-light: inset 0 -6px 2px -5px #ffffff24, inset 0 -8px 3px -5px #ffffff3b, inset 0 -20px 10px -15px #ffffff5c, inset 7px 25px 10px -20px #ffffff5c; - --inner-shadow: inset -20px 5px 10px -20px #00000021, inset -40px 50px 7px -55px #00000021; - --external-light: 5px -30px 30px -20px #ffffff70, 5px 10px 30px -20px #ffffff70; - --default: var(--external-light), var(--shadow-elevation-high), var(--inner-light), var(--inner-shadow); - box-shadow: var(--default); - background-position: center; - animation: gradient 10s linear infinite; - background: linear-gradient(45deg, #85d5e757, #7a9ed254, #ba6ac93d, #de54c217, #f86b2d4f); - background: #ff0000; - } .qr-wrapper { display: flex; @@ -366,6 +327,7 @@ onMounted(() => { font-size: 16px; font-weight: 500; color: #303133; + margin-bottom: 10px; } .qr-img-wrapper { position: relative; diff --git a/Yi.Ai.Vue3/src/components/WelecomeText/index.vue b/Yi.Ai.Vue3/src/components/WelecomeText/index.vue index a95eb0f8..1d626475 100644 --- a/Yi.Ai.Vue3/src/components/WelecomeText/index.vue +++ b/Yi.Ai.Vue3/src/components/WelecomeText/index.vue @@ -7,7 +7,7 @@ import { useUserStore } from '@/stores'; const greeting = useTimeGreeting(); const userStore = useUserStore(); -const username = computed(() => userStore.userInfo?.username ?? '意心Ai,一心只为打造更良心的AI平台'); +const username = computed(() => userStore.userInfo?.username ?? '意心Ai,一心只为打造更良心的Ai平台');