|
|
@@ -8,11 +8,12 @@ import { BreakpointTypeEnum } from '../common/util/BreakpointSystem'
|
|
|
import { resourceManager } from '@kit.LocalizationKit'
|
|
|
import { PreferencesUtil } from '@pura/harmony-utils'
|
|
|
import { hilog } from '@kit.PerformanceAnalysisKit'
|
|
|
-import { BusinessError } from '@kit.BasicServicesKit'
|
|
|
+import { BusinessError, emitter } from '@kit.BasicServicesKit'
|
|
|
import { systemShare } from '@kit.ShareKit'
|
|
|
import { uniformTypeDescriptor } from '@kit.ArkData'
|
|
|
import { http } from '@kit.NetworkKit'
|
|
|
import { LogCollector } from '../common/util/LogCollector'
|
|
|
+import { EventConstants } from '../common/constants/EventConstants'
|
|
|
|
|
|
@Preview
|
|
|
// @Entry
|
|
|
@@ -135,10 +136,8 @@ export struct AboutPage{
|
|
|
.margin({ left: 12, right: 8 })
|
|
|
.onClick(() => {
|
|
|
this.getUIContext()?.animateTo({ duration: 555 }, () => {
|
|
|
- // 动画闭包内控制Image组件的出现和消失
|
|
|
- // this.isShowDrawer = !this.isShowDrawer
|
|
|
- // this.offsetX = 0
|
|
|
- this.mType =0
|
|
|
+ const eventData: emitter.EventData = {};
|
|
|
+ emitter.emit({ eventId: EventConstants.EVENT_SETTING_BACK_TO_HOME }, eventData);
|
|
|
})
|
|
|
})
|
|
|
Blank().flexGrow(1)
|