diff --git a/web/src/assets/css/mobile/chat-list.css b/web/src/assets/css/mobile/chat-list.css
new file mode 100644
index 00000000..f6d91551
--- /dev/null
+++ b/web/src/assets/css/mobile/chat-list.css
@@ -0,0 +1,29 @@
+.mobile-chat-list .content .van-cell__value .chat-list-item {
+ display: flex;
+ font-size: 14px;
+}
+.mobile-chat-list .content .van-cell__value .chat-list-item .van-image {
+ min-width: 32px;
+ width: 32px;
+ height: 32px;
+}
+.mobile-chat-list .content .van-cell__value .chat-list-item .van-ellipsis {
+ margin-top: 5px;
+ margin-left: 10px;
+}
+.mobile-chat-list .van-nav-bar .van-nav-bar__right .van-icon {
+ font-size: 20px;
+}
+.van-popup .picker-option {
+ display: flex;
+ width: 100%;
+ padding: 0 10px;
+ overflow: hidden;
+ height: 20px;
+ text-overflow: ellipsis;
+}
+.van-popup .picker-option .van-image {
+ width: 20px;
+ height: 20px;
+ margin-right: 5px;
+}
diff --git a/web/src/assets/css/mobile/chat-list.styl b/web/src/assets/css/mobile/chat-list.styl
new file mode 100644
index 00000000..76df090a
--- /dev/null
+++ b/web/src/assets/css/mobile/chat-list.styl
@@ -0,0 +1,47 @@
+.mobile-chat-list {
+ .content {
+ .van-cell__value {
+ .chat-list-item {
+ display flex
+ font-size 14px
+
+ .van-image {
+ min-width 32px
+ width 32px
+ height 32px
+ }
+
+ .van-ellipsis {
+ margin-top 5px;
+ margin-left 10px;
+ }
+ }
+ }
+ }
+
+
+ .van-nav-bar {
+ .van-nav-bar__right {
+ .van-icon {
+ font-size 20px;
+ }
+ }
+ }
+}
+
+.van-popup {
+ .picker-option {
+ display flex
+ width 100%
+ padding 0 10px
+ overflow hidden
+ height 20px
+ text-overflow ellipsis
+
+ .van-image {
+ width 20px;
+ height 20px;
+ margin-right 5px
+ }
+ }
+}
\ No newline at end of file
diff --git a/web/src/components/mobile/ChatPrompt.vue b/web/src/components/mobile/ChatPrompt.vue
index d009576c..c56b29be 100644
--- a/web/src/components/mobile/ChatPrompt.vue
+++ b/web/src/components/mobile/ChatPrompt.vue
@@ -77,7 +77,7 @@ onMounted(() => {
padding: 5px 10px;
background-color: #98E165;
color #444444
- font-size: 16px
+ font-size: 14px
border-radius: 5px
line-height 1.5
}
diff --git a/web/src/components/mobile/ChatReply.vue b/web/src/components/mobile/ChatReply.vue
index 3819ec05..21c43a28 100644
--- a/web/src/components/mobile/ChatReply.vue
+++ b/web/src/components/mobile/ChatReply.vue
@@ -95,7 +95,7 @@ onMounted(() => {
padding: 5px 10px;
color #444444
background-color: #ffffff;
- font-size: 16px
+ font-size: 14px
border-radius: 5px;
p:last-child {
diff --git a/web/src/router.js b/web/src/router.js
index d0ba8254..a78d44af 100644
--- a/web/src/router.js
+++ b/web/src/router.js
@@ -159,31 +159,42 @@ const routes = [
]
},
- {
- path: '/mobile/chat/session',
- name: 'mobile-chat-session',
- component: () => import('@/views/mobile/ChatSession.vue'),
- },
+
{
name: 'mobile',
path: '/mobile',
- meta: {title: 'ChatPuls-智能助手V3'},
+ meta: {title: 'ChatPlus-智能助手V3'},
component: () => import('@/views/mobile/Home.vue'),
- redirect: '/mobile/chat/list',
+ redirect: '/mobile/chat',
children: [
{
- path: '/mobile/chat/list',
- name: 'mobile-chat-list',
+ path: '/mobile/chat',
+ name: 'mobile-chat',
component: () => import('@/views/mobile/ChatList.vue'),
},
-
+ {
+ path: '/mobile/mj',
+ name: 'mobile-mj',
+ component: () => import('@/views/mobile/ImageMj.vue'),
+ },
{
path: '/mobile/profile',
name: 'mobile-profile',
component: () => import('@/views/mobile/Profile.vue'),
},
+ {
+ path: '/mobile/apps',
+ name: 'mobile-app',
+ component: () => import('@/views/mobile/ChatApps.vue'),
+ },
]
},
+ {
+ path: '/mobile/chat/session',
+ name: 'mobile-chat-session',
+ component: () => import('@/views/mobile/ChatSession.vue'),
+ },
+
{
name: 'test',
path: '/test',
diff --git a/web/src/views/mobile/Setting.vue b/web/src/views/mobile/ChatApps.vue
similarity index 100%
rename from web/src/views/mobile/Setting.vue
rename to web/src/views/mobile/ChatApps.vue
diff --git a/web/src/views/mobile/ChatList.vue b/web/src/views/mobile/ChatList.vue
index 3bd4b0b5..61ca3a4d 100644
--- a/web/src/views/mobile/ChatList.vue
+++ b/web/src/views/mobile/ChatList.vue
@@ -261,49 +261,5 @@ const removeChat = (item) => {
\ No newline at end of file
diff --git a/web/src/views/mobile/Home.vue b/web/src/views/mobile/Home.vue
index 2ff621fd..de5bfc14 100644
--- a/web/src/views/mobile/Home.vue
+++ b/web/src/views/mobile/Home.vue
@@ -4,9 +4,10 @@
-
-
-
+ 对话
+ 绘图
+ 应用
+ 我的
@@ -33,7 +34,6 @@ checkSession().then(() => {
const active = ref('home')
const onChange = (index) => {
console.log(index)
- // showToast(`标签 ${index}`);
}
diff --git a/web/src/views/mobile/ImageMj.vue b/web/src/views/mobile/ImageMj.vue
new file mode 100644
index 00000000..1231fdf6
--- /dev/null
+++ b/web/src/views/mobile/ImageMj.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.calls }}
+
+
+
+
+
+ {{ form.img_calls }}
+
+
+
+
+
+ {{ form.total_tokens }}
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file