f
This commit is contained in:
parent
1891f5c359
commit
8f0cb0ada2
@ -1,5 +1,5 @@
|
|||||||
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
|
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 { ThemedText } from "@/components/ThemedText";
|
||||||
import { fetchApi } from "@/lib/server-api-util";
|
import { fetchApi } from "@/lib/server-api-util";
|
||||||
import { Message } from "@/types/ask";
|
import { Message } from "@/types/ask";
|
||||||
@ -262,7 +262,7 @@ export default function AskScreen() {
|
|||||||
|
|
||||||
<View style={[styles.contentContainer, { marginTop: isHello ? -24 : 0 }]}>
|
<View style={[styles.contentContainer, { marginTop: isHello ? -24 : 0 }]}>
|
||||||
{/* 欢迎页面 */}
|
{/* 欢迎页面 */}
|
||||||
{/* <Animated.View
|
<Animated.View
|
||||||
style={[
|
style={[
|
||||||
styles.absoluteView,
|
styles.absoluteView,
|
||||||
{
|
{
|
||||||
@ -271,12 +271,12 @@ export default function AskScreen() {
|
|||||||
zIndex: 1
|
zIndex: 1
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
> */}
|
>
|
||||||
{/* <AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} /> */}
|
<AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} />
|
||||||
{/* </Animated.View> */}
|
</Animated.View>
|
||||||
|
|
||||||
{/* 聊天页面 */}
|
{/* 聊天页面 */}
|
||||||
{/* <Animated.View
|
<Animated.View
|
||||||
style={[
|
style={[
|
||||||
styles.absoluteView,
|
styles.absoluteView,
|
||||||
{
|
{
|
||||||
@ -285,8 +285,8 @@ export default function AskScreen() {
|
|||||||
zIndex: 0
|
zIndex: 0
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
> */}
|
>
|
||||||
<Chat
|
{/* <Chat
|
||||||
ref={chatListRef}
|
ref={chatListRef}
|
||||||
userMessages={userMessages}
|
userMessages={userMessages}
|
||||||
sessionId={sessionId}
|
sessionId={sessionId}
|
||||||
@ -296,8 +296,8 @@ export default function AskScreen() {
|
|||||||
contentContainerStyle={styles.chatContentContainer}
|
contentContainerStyle={styles.chatContentContainer}
|
||||||
showsVerticalScrollIndicator={false}
|
showsVerticalScrollIndicator={false}
|
||||||
onContentSizeChange={() => scrollToEnd()}
|
onContentSizeChange={() => scrollToEnd()}
|
||||||
/>
|
/> */}
|
||||||
{/* </Animated.View> */}
|
</Animated.View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* 输入框区域 */}
|
{/* 输入框区域 */}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user