未验证 提交 2ed1d2f2 编写于 作者: O openharmony_ci 提交者: Gitee

!9179 UX一期 Search组件相关XTS 修复黄蓝区resource类型实际值不一致的问题

Merge pull request !9179 from sunjiakun/UXI_xts_search_fix
......@@ -145,6 +145,7 @@ struct SliderExample {
fontColor: $r('sys.color.ohos_id_color_text_primary_activated')
}
)
.fontColor($r('sys.color.ohos_id_color_text_primary'))
.key('searchTestDefaultValue')
Search({ value: '', placeholder: 'Type to search...' })
......@@ -246,6 +247,39 @@ struct SliderExample {
.fontColor(this.textColorResource)
.key('searchTestResource')
Search({ value: '', placeholder: 'Type to search...' })
.width(300)
.height(40)
.margin(5)
.caretStyle({
width: this.caretWidthResource,
color: $r('sys.color.ohos_id_color_connected')
})
.searchIcon({
size: this.leftSearchIconSizeResource,
color: $r('sys.color.ohos_id_color_connected'),
src: this.searchSrcPathResource
})
.cancelButton({
style: this.rightButtonStyleParam,
icon: {
size: this.rightCancelIconSizeResource,
color: $r('sys.color.ohos_id_color_connected'),
src: this.rightIconSrcPathResource
}
})
.searchButton(
'Search',
{
fontSize: this.searchButtonFontSizeResource,
fontColor: $r('sys.color.ohos_id_color_connected')
}
)
.placeholderFont(this.placeholderFont)
.textFont(this.textFont)
.fontColor($r('sys.color.ohos_id_color_connected'))
.key('searchTestResource2')
Search({ value: '', placeholder: 'Type to search...' })
.width(300)
.height(40)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册