diff --git a/common/component/src/main/ets/components/FolderListComp.ets b/common/component/src/main/ets/components/FolderListComp.ets index 76d7c62ec11cf8e8247db606ff15dba70371998c..711ecba6216705fe978c8d924fe5e54317f0bb48 100644 --- a/common/component/src/main/ets/components/FolderListComp.ets +++ b/common/component/src/main/ets/components/FolderListComp.ets @@ -482,6 +482,6 @@ export struct FolderListBackGround { .width("100%") .height("100%") .backgroundColor($r('app.color.folder_color_d6d6d6')) - .blur(60) + .backgroundBlurStyle(BlurStyle.Thick) } } \ No newline at end of file diff --git a/common/component/src/main/ets/components/NoteContentComp.ets b/common/component/src/main/ets/components/NoteContentComp.ets index 58f953e23edf46573ab9ed38adf0715f1e1afa68..57bbf4ee64d0a29237f812926459a9dd02a2c948 100644 --- a/common/component/src/main/ets/components/NoteContentComp.ets +++ b/common/component/src/main/ets/components/NoteContentComp.ets @@ -143,7 +143,7 @@ export struct NoteContentComp { } LogUtil.info(TAG, "finish loadurl") this.controllerShow.runJavaScript({ - script: "RICH_EDITOR.setHtml('" + this.selectedNoteData.content_text + "')" + script: `RICH_EDITOR.setHtml('${ this.selectedNoteData.content_text }')` }) // 初次加载为为小屏预览模式 if (this.sectionStatus != 1) { diff --git a/common/component/src/main/ets/components/NoteContentCompPortrait.ets b/common/component/src/main/ets/components/NoteContentCompPortrait.ets index 6a7bc46570fc93d48e3fd703044ae6a7d55b0fdd..9882102f19cb914f4217d7bc5d4c8cb03ccf6ef5 100644 --- a/common/component/src/main/ets/components/NoteContentCompPortrait.ets +++ b/common/component/src/main/ets/components/NoteContentCompPortrait.ets @@ -443,7 +443,7 @@ export struct DeleteNoteComp { let context: any = getContext(this) let resource = { bundleName: "com.ohos.note", - moduleName: "phone", + moduleName: "tablet", id: $r('app.string.restore').id }; context.resourceManager.getString(resource, (error, value) => { diff --git a/common/component/src/main/ets/components/NoteListComp.ets b/common/component/src/main/ets/components/NoteListComp.ets index de5dcceb5764c2ca856094dfc3e4236805313ab1..da8fbdd2a0e937d9efb137b993a34500f7760f8d 100644 --- a/common/component/src/main/ets/components/NoteListComp.ets +++ b/common/component/src/main/ets/components/NoteListComp.ets @@ -894,7 +894,7 @@ export struct OperateNoteCompForPortrait { let context: any = getContext(this) let resource = { bundleName: "com.ohos.note", - moduleName: "phone", + moduleName: "tablet", id: $r('app.string.restore').id }; context.resourceManager.getString(resource, (error, value) => {