master
ihzero 2023-08-22 10:45:58 +08:00
parent 6c6828f693
commit 2d7b998c86
6 changed files with 10 additions and 5 deletions

View File

@ -101,7 +101,7 @@ html {
color: var(--color-fg-default);
background-color: var(--color-canvas-default);
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 16px;
font-size: 16Px;
line-height: 1.5;
word-wrap: break-word;
}

View File

@ -146,6 +146,7 @@ onMounted(() => {
height: 60px;
border: 1px solid white;
border-radius: 50%;
z-index: 99;
&::after{
font-size: 30px;
color: white;

View File

@ -39,7 +39,7 @@
<div class="text-center" v-if="contentLoading">
<van-loading type="spinner" size="24"/>
</div>
<div class="text-white" v-else>
<div class="text-white opacity-40" v-else>
<TextComponent class="cu-text" :text="contenText" :inversion="false"></TextComponent>
<!-- {{ contenText }} -->
</div>

View File

@ -1,7 +1,7 @@
<template>
<div
ref="messageRef"
class="flex w-full overflow-hidden"
class="flex w-full"
:class="[{ 'flex-row-reverse': inversion }]"
>
<div
@ -11,7 +11,7 @@
<AvatarComponent :inversion="inversion" />
</div>
<div
class="overflow-hidden text-22px"
class="overflow-hidden text-26px"
:class="[inversion ? 'items-end' : 'items-start']"
>
<div

View File

@ -1,6 +1,7 @@
.markdown-body {
background-color: transparent;
font-size: 14px;
font-size: 26px;
color: white;
p {
white-space: pre-wrap;

View File

@ -260,6 +260,7 @@ function handleSubmit() {
async function onConversation(action = 'next', file, fileText) {
let message = inputValue.value || fileText
if (loading.value) return
if (!isLogin) {
authModal.setAuthModalType('login')
@ -269,6 +270,8 @@ async function onConversation(action = 'next', file, fileText) {
if ((!message || message.trim() === '') && action == 'next') return
controller = new AbortController()
const params = {
action: action,
conversation_id: chatStore.active,