From 18179613fc890e0911c7096e6bfa739bd8bf75a0 Mon Sep 17 00:00:00 2001 From: RockYang Date: Thu, 26 Dec 2024 18:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=20Dalle=20=E7=BB=98=E5=9B=BE=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=A8=A1=E5=9E=8B=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/assets/css/mobile/chat-session.styl | 14 +- web/src/assets/css/mobile/image-sd.styl | 1 + web/src/assets/css/theme-dark.styl | 12 +- web/src/views/Login.vue | 4 +- web/src/views/mobile/ChatSession.vue | 590 ++++++++++---------- web/src/views/mobile/Profile.vue | 277 +++++---- web/src/views/mobile/pages/ImageDall.vue | 512 +++++++++-------- web/src/views/mobile/pages/ImageMj.vue | 582 ++++++++++--------- web/src/views/mobile/pages/ImageSd.vue | 529 ++++++++---------- 9 files changed, 1215 insertions(+), 1306 deletions(-) diff --git a/web/src/assets/css/mobile/chat-session.styl b/web/src/assets/css/mobile/chat-session.styl index 65a73fd3..c4d8dbd3 100644 --- a/web/src/assets/css/mobile/chat-session.styl +++ b/web/src/assets/css/mobile/chat-session.styl @@ -79,12 +79,12 @@ } } -.van-theme-dark { - .mobile-chat { - .chat-list-wrapper { - background #232425; - } - } -} +// .van-theme-dark { +// .mobile-chat { +// .chat-list-wrapper { +// background #232425; +// } +// } +// } @import "model-select.styl" \ No newline at end of file diff --git a/web/src/assets/css/mobile/image-sd.styl b/web/src/assets/css/mobile/image-sd.styl index f470422a..31c036f5 100644 --- a/web/src/assets/css/mobile/image-sd.styl +++ b/web/src/assets/css/mobile/image-sd.styl @@ -183,6 +183,7 @@ display flex flex-flow column justify-content center + height 200px .title { margin-bottom 20px diff --git a/web/src/assets/css/theme-dark.styl b/web/src/assets/css/theme-dark.styl index 25ded2c3..5946a768 100644 --- a/web/src/assets/css/theme-dark.styl +++ b/web/src/assets/css/theme-dark.styl @@ -57,9 +57,6 @@ .more-menus span.title{ color:#000; } - .menu-list .menu-list-item.active .el-icon{ - background: #0080006e; - } // 操作按钮 --btn-bg: rgba(86, 86, 95, .5); @@ -79,4 +76,13 @@ --code-bg-color: #424242; --code-text-color: #fff; + + // vant 主题样式 + --van-cell-background: #141a36; + --van-cell-background-light: #242a46; + --van-button-default-background: #141a36; + --van-background: #141a36; + --van-tabbar-background: #141a36; + --van-nav-bar-background: #1B244A; + --van-dropdown-menu-background: #141a36; } diff --git a/web/src/views/Login.vue b/web/src/views/Login.vue index 3d91b600..999001dd 100644 --- a/web/src/views/Login.vue +++ b/web/src/views/Login.vue @@ -132,8 +132,8 @@ const login = async function () { const store = useSharedStore(); const doLogin = (verifyData) => { httpPost("/api/user/login", { - username: username.value.trim(), - password: password.value.trim(), + username: username.value, + password: password.value, key: verifyData.key, dots: verifyData.dots, x: verifyData.x, diff --git a/web/src/views/mobile/ChatSession.vue b/web/src/views/mobile/ChatSession.vue index 5fdcd338..b5ac8c1f 100644 --- a/web/src/views/mobile/ChatSession.vue +++ b/web/src/views/mobile/ChatSession.vue @@ -12,69 +12,47 @@ - - +
-
- +
+ - - + +
-
- - - - - - - - - + + + + @@ -83,7 +61,7 @@
- + @@ -100,21 +78,10 @@ - + @@ -123,148 +90,162 @@ \ No newline at end of file + diff --git a/web/src/views/mobile/pages/ImageDall.vue b/web/src/views/mobile/pages/ImageDall.vue index 872d1641..90081507 100644 --- a/web/src/views/mobile/pages/ImageDall.vue +++ b/web/src/views/mobile/pages/ImageDall.vue @@ -3,62 +3,38 @@
- + + + + +
+
+ - +
- + - +
- + - +
@@ -66,33 +42,25 @@
- - 立即生成 - + 立即生成

任务列表

-
- +
- +
@@ -100,26 +68,27 @@ 排队中
-

创作记录

- - @@ -127,25 +96,19 @@
任务失败
详情 - 删除 + 删除
- +
- - + + @@ -159,277 +122,302 @@ -
\ No newline at end of file + diff --git a/web/src/views/mobile/pages/ImageMj.vue b/web/src/views/mobile/pages/ImageMj.vue index 725136d3..acbf28ff 100644 --- a/web/src/views/mobile/pages/ImageMj.vue +++ b/web/src/views/mobile/pages/ImageMj.vue @@ -5,9 +5,7 @@
-
+
@@ -20,13 +18,12 @@
-
+
- +
@@ -35,8 +32,7 @@
@@ -44,8 +40,7 @@
@@ -53,7 +48,7 @@
@@ -62,62 +57,53 @@
- +
- +
- +
提示:只有于 niji6 和 v6 模型支持一致性功能,如果选择其他模型此功能将会生成失败。
- + - + @@ -126,8 +112,7 @@
@@ -135,13 +120,13 @@
请上传两张以上的图片,最多不超过五张,超过五张图片请使用图生图功能。
- +
请上传两张有脸部的图片,用左边图片的脸替换右边图片的脸。
- +
@@ -150,13 +135,7 @@
- +
@@ -166,32 +145,24 @@
- - 立即生成 - + 立即生成

任务列表

-
- +
- +
@@ -199,26 +170,27 @@ 排队中
-

创作记录

- - @@ -230,23 +202,17 @@
- +
- U1 U2 @@ -260,9 +226,8 @@
- - + + @@ -276,7 +241,6 @@ -
@@ -284,37 +248,37 @@ \ No newline at end of file + diff --git a/web/src/views/mobile/pages/ImageSd.vue b/web/src/views/mobile/pages/ImageSd.vue index 3d17bbc5..23521362 100644 --- a/web/src/views/mobile/pages/ImageSd.vue +++ b/web/src/views/mobile/pages/ImageSd.vue @@ -3,20 +3,9 @@
- + - +
@@ -24,92 +13,69 @@ - +
- + - +
- - + +
- + @@ -118,33 +84,25 @@
- - 立即生成 - + 立即生成

任务列表

-
- +
- +
@@ -152,26 +110,27 @@ 排队中
-

创作记录

- - @@ -179,25 +138,19 @@
任务失败
详情 - 删除 + 删除
- +
- - + + @@ -211,59 +164,50 @@ -
\ No newline at end of file +