From b9ce1dd41062d1f163522de3c511d02aa731b3e8 Mon Sep 17 00:00:00 2001 From: old burden Date: Thu, 23 Apr 2026 17:05:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20nanobanana=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portal-ui/src/lang/en_US/route.js | 2 +- portal-ui/src/lang/zh_HK/route.js | 2 +- portal-ui/src/layout/components/Login.vue | 15 ++++++--------- portal-ui/src/layout/components/Register.vue | 18 ++++++++---------- portal-ui/src/router/index.js | 10 ---------- portal-ui/src/views/Index.vue | 2 +- portal-ui/src/views/authLogin.vue | 2 +- 7 files changed, 18 insertions(+), 33 deletions(-) diff --git a/portal-ui/src/lang/en_US/route.js b/portal-ui/src/lang/en_US/route.js index 50704f8..3046ef2 100644 --- a/portal-ui/src/lang/en_US/route.js +++ b/portal-ui/src/lang/en_US/route.js @@ -1,6 +1,6 @@ export default { index: 'Home', - imageToImage: 'One-click undressing', + imageToImage: 'Image-to-Image', imageToImage2: 'Image-to-Image2', changeFace: 'Swap Face', changeFaceVideo: 'Swap Video Face', diff --git a/portal-ui/src/lang/zh_HK/route.js b/portal-ui/src/lang/zh_HK/route.js index 31eca36..1e51701 100644 --- a/portal-ui/src/lang/zh_HK/route.js +++ b/portal-ui/src/lang/zh_HK/route.js @@ -1,6 +1,6 @@ export default { index: '首頁', - imageToImage: '一鍵脫衣', + imageToImage: '图生图', imageToImage2: '圖生圖2', changeFace: '一鍵換臉', changeFaceVideo: '視頻換臉', diff --git a/portal-ui/src/layout/components/Login.vue b/portal-ui/src/layout/components/Login.vue index 1bd02d1..1adb65a 100644 --- a/portal-ui/src/layout/components/Login.vue +++ b/portal-ui/src/layout/components/Login.vue @@ -203,13 +203,10 @@ export default { .login-dialog { border-radius: 20px; overflow: hidden; - background: linear-gradient( - 0deg, - rgba(39, 20, 51, 0.7) 0%, - rgba(230, 33, 122, 0.7) 49% - ); + background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(13, 13, 13, 0.92) 100%); border-radius: 20px; - border: 2px solid #e6217a; + border: 1px solid rgba(140, 180, 255, 0.3); + box-shadow: 0 0 24px rgba(136, 153, 255, 0.12); width: 500px; height: 320px; top: 45% !important; @@ -281,7 +278,7 @@ export default { border-radius: 10px; justify-content: center; border-radius: 10px; - border: 1px solid rgba(#ffffff, 0.3); + border: 1px solid rgba(140, 180, 255, 0.28); height: 40px; margin-top: 20px; padding: 0 16px; @@ -303,7 +300,7 @@ export default { &:hover { background-color: transparent; - border-color: #fff; + border-color: rgba(140, 180, 255, 0.6); } .arco-image { @@ -331,7 +328,7 @@ export default { color: #ffffff; background-color: #1a1a1a; &:hover { - background-color: #262626; + background-color: #252525; } &:active { background-color: #0d0d0d; diff --git a/portal-ui/src/layout/components/Register.vue b/portal-ui/src/layout/components/Register.vue index 839e5c5..189cb1b 100644 --- a/portal-ui/src/layout/components/Register.vue +++ b/portal-ui/src/layout/components/Register.vue @@ -265,14 +265,11 @@ export default { .register-dialog { border-radius: 20px; overflow: hidden; - background: linear-gradient( - 0deg, - rgba(39, 20, 51, 0.7) 0%, - rgba(230, 33, 122, 0.7) 49% - ); + background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(13, 13, 13, 0.92) 100%); background-color: transparent !important; border-radius: 20px; - border: 2px solid #e6217a; + border: 1px solid rgba(140, 180, 255, 0.3); + box-shadow: 0 0 24px rgba(136, 153, 255, 0.12); width: 500px; top: 45% !important; transform: translateY(-45%) !important; @@ -343,7 +340,7 @@ export default { border-radius: 10px; justify-content: center; border-radius: 10px; - border: 1px solid rgba(#ffffff, 0.3); + border: 1px solid rgba(140, 180, 255, 0.28); height: 40px; margin-top: 20px; padding: 0 16px; @@ -365,7 +362,8 @@ export default { &-send { font-size: 14px; - color: #000000; + color: #ffffff; + background: linear-gradient(90deg, #7f97ff 0%, #9f8bff 100%); border-radius: 10px; height: 30px; } @@ -376,7 +374,7 @@ export default { &:hover { background-color: transparent; - border-color: #fff; + border-color: rgba(140, 180, 255, 0.6); } .arco-image { @@ -404,7 +402,7 @@ export default { color: #ffffff; background-color: #1a1a1a; &:hover { - background-color: #262626; + background-color: #252525; } &:active { background-color: #0d0d0d; diff --git a/portal-ui/src/router/index.js b/portal-ui/src/router/index.js index f4c4c2e..7e4c15f 100644 --- a/portal-ui/src/router/index.js +++ b/portal-ui/src/router/index.js @@ -79,16 +79,6 @@ export const constantRoutes = [{ permission: "pass", icon: 'btn_tst' } - }, { - path: 'fast-image', - name: 'fast-image', - component: () => import('@/views/FastImage.vue'), - meta: { - title: 'fastImage', - menuItem: false, - permission: "pass", - icon: 'btn_kjst' - } }, { path: 'recharge', name: 'recharge', diff --git a/portal-ui/src/views/Index.vue b/portal-ui/src/views/Index.vue index c559503..9baa00b 100644 --- a/portal-ui/src/views/Index.vue +++ b/portal-ui/src/views/Index.vue @@ -117,7 +117,7 @@ export default { methods: { doSame(item) { if (item.type == 1) { - this.$router.push(`/fast-image?text=${item.text}`) + this.$router.push(`/image-to-image?text=${item.text}`) } else if (item.type == 11) { this.$router.push(`/image-to-image`) //?text=${item.text} } else if (item.type == 12) { diff --git a/portal-ui/src/views/authLogin.vue b/portal-ui/src/views/authLogin.vue index 49cdb7f..c6c6ec6 100644 --- a/portal-ui/src/views/authLogin.vue +++ b/portal-ui/src/views/authLogin.vue @@ -44,6 +44,6 @@ export default {