bug修复

This commit is contained in:
xiaoxiao
2025-06-13 16:24:54 +08:00
parent f649fd3480
commit 8300766e5c
5 changed files with 34 additions and 9 deletions
@@ -27,6 +27,8 @@ export struct HdSearchNav {
rightbackColor: ResourceStr = $r('app.color.main_color')
@Prop
isFocus:boolean = false;
@Prop
placeholder:string = ''
@State textInputContent:string = ''
@@ -43,7 +45,7 @@ export struct HdSearchNav {
Image($r('app.media.selected_hospital_ws'))
.width(20).height(20)
.margin({left:10})
TextInput({placeholder:'搜索视频、过往会议'})
TextInput({placeholder:this.placeholder})
.defaultFocus(this.isFocus)
.fontSize(15)
.backgroundColor(this.bgColor)