yangsunyue

desc:关于界面UI

import { AboutPageUI} from 'wdComponent';
@Entry
@Component
struct PrivacySettingPage {
build() {
Column(){
AboutPageUI()
}
}
}
\ No newline at end of file
... ...
import { AboutPageUI} from 'wdComponent';
@Entry
@Component
struct PrivacySettingPage {
build() {
Column(){
AboutPageUI()
}
}
}
\ No newline at end of file
... ...
... ... @@ -3,6 +3,8 @@
"pages/Index",
"pages/MainPage",
"pages/ColumnPage",
"pages/TestPage"
"pages/TestPage",
"pages/PrivacySettingPage",
"pages/SettingAboutPage"
]
}
\ No newline at end of file
... ...
... ... @@ -27,3 +27,6 @@ export { TriPicCardComponent } from "./components/view/TriPicCardComponent"
export { BigPicCardComponent } from "./components/view/BigPicCardComponent"
export { HeadPictureCardComponent } from "./components/view/HeadPictureCardComponent"
export { AboutPageUI } from "./components/page/about/AboutPageUI"
... ...
const TAG = 'AboutPageUI';
@Component
export struct AboutPageUI {
@State message: string = '京ICP备16066560号-6A Copyright © 人民日报客户端\nall rights reserved.'
@State version: string = '版本号:v8.0.1.1'
build() {
Column() {
Image($r('app.media.setting_about_logo'))
.width('278lpx')
.height('154lpx')
.margin({top:'173lpx',bottom:'154lpx'})
Row(){
}.backgroundColor(Color.Yellow)
.width('100%')
.height('97lpx')
Row(){
}.backgroundColor(Color.Yellow)
.width('100%')
.height('97lpx')
Blank()
Image($r('app.media.app_icon'))
.width('192lpx')
.height('192lpx')
Text(this.version)
.fontSize('25lpx')
.textAlign(TextAlign.Center)
.fontColor($r("app.color.color_666666"))
.margin({bottom:'31lpx'})
Text(this.message)
.fontSize('19lpx')
.textAlign(TextAlign.Center)
.fontColor($r("app.color.color_999999"))
.margin({bottom:'35lpx'})
}
.width('100%')
.height('100%')
}
}
\ No newline at end of file
... ...
import MinePageMoreFunctionModel from '../../../viewmodel/MinePageMoreFunctionModel'
import RouteManager from '../../../utils/RouteManager'
@Component
export default struct MinePageMoreFunctionUI{
... ... @@ -64,6 +65,7 @@ export default struct MinePageMoreFunctionUI{
}
.onClick(()=>{
console.log(index+"")
RouteManager.jumpNewPage("pages/PrivacySettingPage")
})
.height('117lpx')
}, item => item)
... ...