fff
This commit is contained in:
parent
e7bb2e38d4
commit
238e8eb79a
@ -1,13 +1,11 @@
|
|||||||
import SendMessage from "@/components/ask/send";
|
|
||||||
import { ThemedText } from "@/components/ThemedText";
|
import { ThemedText } from "@/components/ThemedText";
|
||||||
|
import { WEBSOCKET_ENDPOINT } from "@/lib/websocket-util";
|
||||||
import { Message } from "@/types/ask";
|
import { Message } from "@/types/ask";
|
||||||
import { useLocalSearchParams, useRouter } from "expo-router";
|
import { useLocalSearchParams, useRouter } from "expo-router";
|
||||||
import { useRef, useState } from 'react';
|
import { useRef, useState } from 'react';
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import {
|
import {
|
||||||
FlatList,
|
FlatList,
|
||||||
KeyboardAvoidingView,
|
|
||||||
Platform,
|
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
@ -245,9 +243,9 @@ export default function AskScreen() {
|
|||||||
|
|
||||||
<View style={styles.contentContainer}>
|
<View style={styles.contentContainer}>
|
||||||
<ThemedText>1</ThemedText>
|
<ThemedText>1</ThemedText>
|
||||||
{/* <ThemedText>
|
<ThemedText>
|
||||||
{WEBSOCKET_ENDPOINT}
|
{WEBSOCKET_ENDPOINT}
|
||||||
</ThemedText> */}
|
</ThemedText>
|
||||||
{/* 欢迎页面 */}
|
{/* 欢迎页面 */}
|
||||||
{/* <Animated.View
|
{/* <Animated.View
|
||||||
style={[styles.absoluteView,
|
style={[styles.absoluteView,
|
||||||
@ -278,7 +276,7 @@ export default function AskScreen() {
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* 输入框区域 */}
|
{/* 输入框区域 */}
|
||||||
<KeyboardAvoidingView
|
{/* <KeyboardAvoidingView
|
||||||
behavior={Platform.OS === "ios" ? "padding" : "height"}
|
behavior={Platform.OS === "ios" ? "padding" : "height"}
|
||||||
keyboardVerticalOffset={0} >
|
keyboardVerticalOffset={0} >
|
||||||
<View style={styles.inputContainer} key={conversationId}>
|
<View style={styles.inputContainer} key={conversationId}>
|
||||||
@ -291,7 +289,7 @@ export default function AskScreen() {
|
|||||||
setSelectedImages={setSelectedImages}
|
setSelectedImages={setSelectedImages}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</KeyboardAvoidingView>
|
</KeyboardAvoidingView> */}
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user