|
@@ -16,6 +16,7 @@ import ButtonEnableStreamVoice from "./components/OptionButtons/ButtonEnableStre
|
|
|
|
|
|
import RecommendQuestions from "./components/RecommendQuestions";
|
|
|
import { usePersistentState } from "@/hooks/usePersistentState";
|
|
|
+import style from './index.module.less'
|
|
|
|
|
|
// 导入我们抽离的 hooks 和常量
|
|
|
import {
|
|
@@ -193,6 +194,7 @@ export default function Index() {
|
|
|
)}
|
|
|
</View>
|
|
|
</ScrollView>
|
|
|
+
|
|
|
<View
|
|
|
className="w-full h-60"
|
|
|
style={{
|
|
@@ -210,6 +212,12 @@ export default function Index() {
|
|
|
<View className="bg-[#F5FAFF]">
|
|
|
{agent && (
|
|
|
<View className="flex flex-col w-full gap-8">
|
|
|
+ <View>
|
|
|
+ <ButtonEnableStreamVoice
|
|
|
+ setEnable={setStreamVoiceEnable}
|
|
|
+ enable={streamVoiceEnable}
|
|
|
+ />
|
|
|
+ </View>
|
|
|
<InputBar
|
|
|
enableOutputAudioStream={streamVoiceEnable}
|
|
|
agent={agent}
|
|
@@ -220,17 +228,14 @@ export default function Index() {
|
|
|
setIsVoice={setIsVoice}
|
|
|
disabled={disabled}
|
|
|
/>
|
|
|
- <View>
|
|
|
- <ButtonEnableStreamVoice
|
|
|
- setEnable={setStreamVoiceEnable}
|
|
|
- enable={streamVoiceEnable}
|
|
|
- />
|
|
|
- </View>
|
|
|
+
|
|
|
</View>
|
|
|
)}
|
|
|
+ <View className={style.aiTips}>内容由AI生成,仅供参考</View>
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|
|
|
+
|
|
|
</PageCustom>
|
|
|
);
|
|
|
}
|