diff --git a/prompto-lab-ui/src/App.vue b/prompto-lab-ui/src/App.vue index 4c6eb15..4a75f6e 100644 --- a/prompto-lab-ui/src/App.vue +++ b/prompto-lab-ui/src/App.vue @@ -1,199 +1,42 @@ - - - - - - - - - - - - ◈ - - - PromptoLab - AI Engineering - - - - - - - - - - - - ⬢ - - 首页 - - - - - - - ⬡ - - 构建器 - - - - - - - ⚙ - - 设置 - - - - - - - - - - - 在线 - - - - - - - - {{ userInfo?.nickname?.charAt(0) || userInfo?.email?.charAt(0) || 'U' }} - - - - - {{ userInfo?.nickname || userInfo?.email || '用户' }} - 专业版用户 - - - - ⏻ - - - - - - - - - 登录 - → - - - - + + + + @@ -203,7 +46,8 @@ onUnmounted(() => { diff --git a/prompto-lab-ui/src/assets/base.css b/prompto-lab-ui/src/assets/base.css index 8816868..4b9393f 100644 --- a/prompto-lab-ui/src/assets/base.css +++ b/prompto-lab-ui/src/assets/base.css @@ -59,7 +59,7 @@ } body { - min-height: 100vh; + height: 100vh; color: var(--color-text); background: var(--color-background); transition: diff --git a/prompto-lab-ui/src/assets/main.css b/prompto-lab-ui/src/assets/main.css index 003af53..900f467 100644 --- a/prompto-lab-ui/src/assets/main.css +++ b/prompto-lab-ui/src/assets/main.css @@ -17,7 +17,7 @@ body { } #app { - min-height: 100vh; + height: 100vh; width: 100%; } diff --git a/prompto-lab-ui/src/components/AppHeader.vue b/prompto-lab-ui/src/components/AppHeader.vue new file mode 100644 index 0000000..e7f685e --- /dev/null +++ b/prompto-lab-ui/src/components/AppHeader.vue @@ -0,0 +1,741 @@ + + + + + + + + + + + + + + ◈ + + + PromptoLab + AI Engineering + + + + + + + + + + + + ⬢ + + 首页 + + + + + + + ⬡ + + 构建器 + + + + + + + ⚙ + + 设置 + + + + + + + + + + + 在线 + + + + + + + + {{ userInfo?.nickname?.charAt(0) || userInfo?.email?.charAt(0) || 'U' }} + + + + + {{ userInfo?.nickname || userInfo?.email || '用户' }} + 专业版用户 + + + + ⏻ + + + + + + + + + 登录 + → + + + + + + + \ No newline at end of file diff --git a/prompto-lab-ui/src/components/ChatMain.vue b/prompto-lab-ui/src/components/ChatMain.vue index 70cbc2c..8c23a6b 100644 --- a/prompto-lab-ui/src/components/ChatMain.vue +++ b/prompto-lab-ui/src/components/ChatMain.vue @@ -82,14 +82,14 @@ - + > 📎 @@ -627,7 +627,7 @@ watch(() => props.messages.length, () => { .message-input { flex: 1; min-height: 24px; - max-height: 120px; + max-height: 150px; background: transparent; border: none; outline: none; diff --git a/prompto-lab-ui/src/views/HomeView.vue b/prompto-lab-ui/src/views/HomeView.vue index c7322b2..7fe6d81 100644 --- a/prompto-lab-ui/src/views/HomeView.vue +++ b/prompto-lab-ui/src/views/HomeView.vue @@ -377,7 +377,6 @@ onUnmounted(() => { color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; position: relative; - overflow-x: hidden; } .container {