mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-19 21:24:33 -04:00
@@ -194,7 +194,7 @@ export struct ToolBarComp {
|
||||
alignment: DialogAlignment.Bottom,
|
||||
autoCancel: true,
|
||||
customStyle: true,
|
||||
cancel: this.existApp()
|
||||
cancel: this.existApp
|
||||
})
|
||||
|
||||
existApp() {
|
||||
|
||||
@@ -685,7 +685,7 @@ export struct SearchComp {
|
||||
|
||||
Flex({ justifyContent: FlexAlign.Start }) {
|
||||
Image($r('app.media.search')).width(20).height(20)
|
||||
TextInput({ placeholder: $r('app.string.searchNote') }, text: this.text)
|
||||
TextInput({ placeholder: $r('app.string.searchNote'), text: this.text })
|
||||
.backgroundColor(this.longpress ? $r("app.color.search_longpress_bgcolor_f7f8f9") : $r("app.color.color_ffffff"))
|
||||
.caretColor($r("app.color.search_note_caret_color"))
|
||||
.enabled(this.longpress ? false : true)
|
||||
|
||||
Reference in New Issue
Block a user