xverse-components-smart-reply-pro
v0.0.9
Published
xverse components smart-reply-pro
Downloads
62
Readme
API
| 参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 | | ---------------------- | ------------- | ------------------------ | ------ | -------- | ----------------------------------------- | | style | CSSProperties | 全局样式 | - | false | - | | entrySound | string | 进入后内容 | - | false | - | | titleTextStyle | CSSProperties | 题目栏样式 | - | false | 文字颜色和文字大小等 | | questionButtonStyle | CSSProperties | 问题列表栏样式 | - | false | 文字颜色和文字大小等 | | answerStyle | CSSProperties | 回复答案栏样式 | - | false | 文字颜色和文字大小等 | | className | string | 支持自定义内容的容器 | - | false | - | | backBtnStyle | CSSProperties | 返回按钮样式 | - | false | - | | questionsListItemStyle | CSSProperties | 默认问题列表样式 | - | false | - | | showVoice | boolean | 是否展示语音输入 | - | false | - | | backgroundImg | string | 背景图 | - | false | - | | avatarId | string | 角色 ID | - | true | - | | showVoiceTipStyle | CSSProperties | 语音功能提示(Tip)样式 | - | false | - | | voiceBtnStyle | CSSProperties | 语音功能按钮样式 | - | false | - | | voiceDefaultBtnStyle | CSSProperties | 长按语音默认按钮样式 | - | false | - | | voiceActiveBtnStyle | CSSProperties | 长按语音正在录音按钮样式 | - | false | - | | clearVoiceTextStyle | CSSProperties | 语音内容清空按钮样式 | - | false | - | | sendVoiceTextStyle | CSSProperties | 语音内容发送按钮样式 | - | false | - | | aiAvatarName | string | 语音角色选择 | - | false | 智能语音 | | aiReplyAPP | string | 智能回复的 APP | - | false | 认知智能组提供 | | aiReplyNpcId | string | 智能回复的 npcId | - | false | 认知智能组提供 | | aIReplyPoi | string | 智能回复的 poi | - | false | 认知智能组提供 | | configJson | string | configJson tts 配置信息 | - | false | 语音智能组提供,需包含所有的 | | spatialAudioConfig | string | | - | false | 语音智能组提供 | | onBack | () => void | 退出面板的处理 | - | false | - | | meshTest | boolean | mesh 测试 | - | false | - | | aiNpcPosition | IAIPosition | aiNpc 的位置信息 | - | false | - | | cameraPosition | IAIPosition | 相机位置 | - | false | - | | inputPlaceholder | string | input 的 Placeholder 值 | - | false | - | | hairPath | string | 角色头发的 Path | - | false | 若无,装扮的默认均为 console 读表的第一件 | | clothesPath | string | 角色上装的 Path | - | false | - | | pantsPath | string | 角色下装的 Path | - | false | - | | shoesPath | string | 角色鞋子的 Path | - | false | - | | suitPath | string | 用户套装的 Path | - | false | - |