fix: nanobanana 优化

This commit is contained in:
old burden 2026-04-23 17:05:54 +08:00
parent a8d789bdc9
commit b9ce1dd410
7 changed files with 18 additions and 33 deletions

View File

@ -1,6 +1,6 @@
export default { export default {
index: 'Home', index: 'Home',
imageToImage: 'One-click undressing', imageToImage: 'Image-to-Image',
imageToImage2: 'Image-to-Image2', imageToImage2: 'Image-to-Image2',
changeFace: 'Swap Face', changeFace: 'Swap Face',
changeFaceVideo: 'Swap Video Face', changeFaceVideo: 'Swap Video Face',

View File

@ -1,6 +1,6 @@
export default { export default {
index: '首頁', index: '首頁',
imageToImage: '一鍵脫衣', imageToImage: '图生图',
imageToImage2: '圖生圖2', imageToImage2: '圖生圖2',
changeFace: '一鍵換臉', changeFace: '一鍵換臉',
changeFaceVideo: '視頻換臉', changeFaceVideo: '視頻換臉',

View File

@ -203,13 +203,10 @@ export default {
.login-dialog { .login-dialog {
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: hidden;
background: linear-gradient( background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(13, 13, 13, 0.92) 100%);
0deg,
rgba(39, 20, 51, 0.7) 0%,
rgba(230, 33, 122, 0.7) 49%
);
border-radius: 20px; 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; width: 500px;
height: 320px; height: 320px;
top: 45% !important; top: 45% !important;
@ -281,7 +278,7 @@ export default {
border-radius: 10px; border-radius: 10px;
justify-content: center; justify-content: center;
border-radius: 10px; border-radius: 10px;
border: 1px solid rgba(#ffffff, 0.3); border: 1px solid rgba(140, 180, 255, 0.28);
height: 40px; height: 40px;
margin-top: 20px; margin-top: 20px;
padding: 0 16px; padding: 0 16px;
@ -303,7 +300,7 @@ export default {
&:hover { &:hover {
background-color: transparent; background-color: transparent;
border-color: #fff; border-color: rgba(140, 180, 255, 0.6);
} }
.arco-image { .arco-image {
@ -331,7 +328,7 @@ export default {
color: #ffffff; color: #ffffff;
background-color: #1a1a1a; background-color: #1a1a1a;
&:hover { &:hover {
background-color: #262626; background-color: #252525;
} }
&:active { &:active {
background-color: #0d0d0d; background-color: #0d0d0d;

View File

@ -265,14 +265,11 @@ export default {
.register-dialog { .register-dialog {
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: hidden;
background: linear-gradient( background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(13, 13, 13, 0.92) 100%);
0deg,
rgba(39, 20, 51, 0.7) 0%,
rgba(230, 33, 122, 0.7) 49%
);
background-color: transparent !important; background-color: transparent !important;
border-radius: 20px; 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; width: 500px;
top: 45% !important; top: 45% !important;
transform: translateY(-45%) !important; transform: translateY(-45%) !important;
@ -343,7 +340,7 @@ export default {
border-radius: 10px; border-radius: 10px;
justify-content: center; justify-content: center;
border-radius: 10px; border-radius: 10px;
border: 1px solid rgba(#ffffff, 0.3); border: 1px solid rgba(140, 180, 255, 0.28);
height: 40px; height: 40px;
margin-top: 20px; margin-top: 20px;
padding: 0 16px; padding: 0 16px;
@ -365,7 +362,8 @@ export default {
&-send { &-send {
font-size: 14px; font-size: 14px;
color: #000000; color: #ffffff;
background: linear-gradient(90deg, #7f97ff 0%, #9f8bff 100%);
border-radius: 10px; border-radius: 10px;
height: 30px; height: 30px;
} }
@ -376,7 +374,7 @@ export default {
&:hover { &:hover {
background-color: transparent; background-color: transparent;
border-color: #fff; border-color: rgba(140, 180, 255, 0.6);
} }
.arco-image { .arco-image {
@ -404,7 +402,7 @@ export default {
color: #ffffff; color: #ffffff;
background-color: #1a1a1a; background-color: #1a1a1a;
&:hover { &:hover {
background-color: #262626; background-color: #252525;
} }
&:active { &:active {
background-color: #0d0d0d; background-color: #0d0d0d;

View File

@ -79,16 +79,6 @@ export const constantRoutes = [{
permission: "pass", permission: "pass",
icon: 'btn_tst' 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', path: 'recharge',
name: 'recharge', name: 'recharge',

View File

@ -117,7 +117,7 @@ export default {
methods: { methods: {
doSame(item) { doSame(item) {
if (item.type == 1) { 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) { } else if (item.type == 11) {
this.$router.push(`/image-to-image`) //?text=${item.text} this.$router.push(`/image-to-image`) //?text=${item.text}
} else if (item.type == 12) { } else if (item.type == 12) {

View File

@ -44,6 +44,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.auth-login { .auth-login {
height: 100%; height: 100%;
background: linear-gradient(0deg, #091125 0%, #000000 100%); background: linear-gradient(180deg, #111111 0%, #0d0d0d 100%);
} }
</style> </style>