This commit is contained in:
Junhui Chen 2025-08-08 14:13:43 +08:00
parent 1891f5c359
commit 8f0cb0ada2

View File

@ -1,5 +1,5 @@
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
import Chat from "@/components/ask/chat";
import AskHello from "@/components/ask/hello";
import { ThemedText } from "@/components/ThemedText";
import { fetchApi } from "@/lib/server-api-util";
import { Message } from "@/types/ask";
@ -262,7 +262,7 @@ export default function AskScreen() {
<View style={[styles.contentContainer, { marginTop: isHello ? -24 : 0 }]}>
{/* 欢迎页面 */}
{/* <Animated.View
<Animated.View
style={[
styles.absoluteView,
{
@ -271,12 +271,12 @@ export default function AskScreen() {
zIndex: 1
}
]}
> */}
{/* <AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} /> */}
{/* </Animated.View> */}
>
<AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} />
</Animated.View>
{/* 聊天页面 */}
{/* <Animated.View
<Animated.View
style={[
styles.absoluteView,
{
@ -285,8 +285,8 @@ export default function AskScreen() {
zIndex: 0
}
]}
> */}
<Chat
>
{/* <Chat
ref={chatListRef}
userMessages={userMessages}
sessionId={sessionId}
@ -296,8 +296,8 @@ export default function AskScreen() {
contentContainerStyle={styles.chatContentContainer}
showsVerticalScrollIndicator={false}
onContentSizeChange={() => scrollToEnd()}
/>
{/* </Animated.View> */}
/> */}
</Animated.View>
</View>
{/* 输入框区域 */}