bug修复
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user