f
This commit is contained in:
parent
238e8eb79a
commit
e770e412ad
@ -1,12 +1,21 @@
|
||||
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
|
||||
import Chat from "@/components/ask/chat";
|
||||
import SendMessage from "@/components/ask/send";
|
||||
import { ThemedText } from "@/components/ThemedText";
|
||||
import { WEBSOCKET_ENDPOINT } from "@/lib/websocket-util";
|
||||
import { Message } from "@/types/ask";
|
||||
import { useLocalSearchParams, useRouter } from "expo-router";
|
||||
import { useRef, useState } from 'react';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import { useTranslation } from "react-i18next";
|
||||
import {
|
||||
Animated,
|
||||
FlatList,
|
||||
Keyboard,
|
||||
KeyboardAvoidingView,
|
||||
Platform,
|
||||
StyleSheet,
|
||||
TextInput,
|
||||
TouchableOpacity,
|
||||
View
|
||||
} from 'react-native';
|
||||
import { useSharedValue } from 'react-native-reanimated';
|
||||
@ -219,7 +228,7 @@ export default function AskScreen() {
|
||||
return (
|
||||
<View style={[styles.container, { paddingTop: insets.top, paddingBottom: insets.bottom }]}>
|
||||
{/* 导航栏 */}
|
||||
{/* <View style={[styles.navbar, isHello && styles.hiddenNavbar]}>
|
||||
<View style={[styles.navbar, isHello && styles.hiddenNavbar]}>
|
||||
<TouchableOpacity
|
||||
style={styles.backButton}
|
||||
onPress={() => {
|
||||
@ -239,7 +248,7 @@ export default function AskScreen() {
|
||||
</TouchableOpacity>
|
||||
<ThemedText style={styles.title} onPress={() => { router.push('/owner') }}>MemoWake</ThemedText>
|
||||
<View style={styles.placeholder} />
|
||||
</View> */}
|
||||
</View>
|
||||
|
||||
<View style={styles.contentContainer}>
|
||||
<ThemedText>1</ThemedText>
|
||||
@ -256,7 +265,7 @@ export default function AskScreen() {
|
||||
</Animated.View> */}
|
||||
|
||||
{/* 聊天页面 */}
|
||||
{/* <Animated.View
|
||||
<Animated.View
|
||||
style={[styles.absoluteView,
|
||||
// chatStyle,
|
||||
{ zIndex: 0 }]}
|
||||
@ -272,11 +281,11 @@ export default function AskScreen() {
|
||||
showsVerticalScrollIndicator={false}
|
||||
// onContentSizeChange={() => scrollToEnd()}
|
||||
/>
|
||||
</Animated.View> */}
|
||||
</Animated.View>
|
||||
</View>
|
||||
|
||||
{/* 输入框区域 */}
|
||||
{/* <KeyboardAvoidingView
|
||||
<KeyboardAvoidingView
|
||||
behavior={Platform.OS === "ios" ? "padding" : "height"}
|
||||
keyboardVerticalOffset={0} >
|
||||
<View style={styles.inputContainer} key={conversationId}>
|
||||
@ -289,7 +298,7 @@ export default function AskScreen() {
|
||||
setSelectedImages={setSelectedImages}
|
||||
/>
|
||||
</View>
|
||||
</KeyboardAvoidingView> */}
|
||||
</KeyboardAvoidingView>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user