|
@@ -1,7 +1,7 @@
|
|
|
import TitleBar from '../view/TitleBar'
|
|
import TitleBar from '../view/TitleBar'
|
|
|
import { router } from '@kit.ArkUI'
|
|
import { router } from '@kit.ArkUI'
|
|
|
import { CommonConstants } from '../common/constants/CommonConstants'
|
|
import { CommonConstants } from '../common/constants/CommonConstants'
|
|
|
-import { AppUtil, ToastUtil } from '@pura/harmony-utils'
|
|
|
|
|
|
|
+import { AppUtil, DisplayUtil, ToastUtil } from '@pura/harmony-utils'
|
|
|
import { Utility } from '../common/util/Utility'
|
|
import { Utility } from '../common/util/Utility'
|
|
|
import { ConfigurationConstant } from '@kit.AbilityKit'
|
|
import { ConfigurationConstant } from '@kit.AbilityKit'
|
|
|
import { BreakpointTypeEnum } from '../common/util/BreakpointSystem'
|
|
import { BreakpointTypeEnum } from '../common/util/BreakpointSystem'
|
|
@@ -63,10 +63,11 @@ export struct AboutPage{
|
|
|
.height(this.currentBreakpoint !== BreakpointTypeEnum.SM?0:px2vp(AppUtil.getStatusBarHeight()))
|
|
.height(this.currentBreakpoint !== BreakpointTypeEnum.SM?0:px2vp(AppUtil.getStatusBarHeight()))
|
|
|
.backgroundColor($r('app.color.title_bar_bg'))
|
|
.backgroundColor($r('app.color.title_bar_bg'))
|
|
|
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP])
|
|
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP])
|
|
|
-
|
|
|
|
|
TitleBar({model:$titleBarModel})
|
|
TitleBar({model:$titleBarModel})
|
|
|
Scroll(){
|
|
Scroll(){
|
|
|
|
|
+
|
|
|
Column(){
|
|
Column(){
|
|
|
|
|
+
|
|
|
Image($r('app.media.icon'))
|
|
Image($r('app.media.icon'))
|
|
|
.width(150)
|
|
.width(150)
|
|
|
.height(150)
|
|
.height(150)
|
|
@@ -134,10 +135,11 @@ export struct AboutPage{
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
- .height('95%')
|
|
|
|
|
|
|
+ .height('100%')
|
|
|
.width('100%')
|
|
.width('100%')
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
- .height('100%')
|
|
|
|
|
|
|
+ .height(px2vp(DisplayUtil.getHeight()-AppUtil.getStatusBarHeight()-AppUtil.getNavigationIndicatorHeight()))
|
|
|
.backgroundColor(this.isDarkMode ? '#1A1A1A' : undefined)
|
|
.backgroundColor(this.isDarkMode ? '#1A1A1A' : undefined)
|
|
|
.linearGradient(!this.isDarkMode ? {colors:[['#FF4081', 0.0], ['#FF8C00', 0.6]]} : undefined)
|
|
.linearGradient(!this.isDarkMode ? {colors:[['#FF4081', 0.0], ['#FF8C00', 0.6]]} : undefined)
|
|
|
}
|
|
}
|