Showing
8 changed files
with
79 additions
and
1 deletions
| @@ -27,3 +27,6 @@ export { TriPicCardComponent } from "./components/view/TriPicCardComponent" | @@ -27,3 +27,6 @@ export { TriPicCardComponent } from "./components/view/TriPicCardComponent" | ||
| 27 | export { BigPicCardComponent } from "./components/view/BigPicCardComponent" | 27 | export { BigPicCardComponent } from "./components/view/BigPicCardComponent" |
| 28 | 28 | ||
| 29 | export { HeadPictureCardComponent } from "./components/view/HeadPictureCardComponent" | 29 | export { HeadPictureCardComponent } from "./components/view/HeadPictureCardComponent" |
| 30 | + | ||
| 31 | +export { AboutPageUI } from "./components/page/about/AboutPageUI" | ||
| 32 | + |
| 1 | +const TAG = 'AboutPageUI'; | ||
| 2 | + | ||
| 3 | +@Component | ||
| 4 | +export struct AboutPageUI { | ||
| 5 | + @State message: string = '京ICP备16066560号-6A Copyright © 人民日报客户端\nall rights reserved.' | ||
| 6 | + @State version: string = '版本号:v8.0.1.1' | ||
| 7 | + | ||
| 8 | + | ||
| 9 | + build() { | ||
| 10 | + Column() { | ||
| 11 | + Image($r('app.media.setting_about_logo')) | ||
| 12 | + .width('278lpx') | ||
| 13 | + .height('154lpx') | ||
| 14 | + .margin({top:'173lpx',bottom:'154lpx'}) | ||
| 15 | + | ||
| 16 | + Row(){ | ||
| 17 | + | ||
| 18 | + }.backgroundColor(Color.Yellow) | ||
| 19 | + .width('100%') | ||
| 20 | + .height('97lpx') | ||
| 21 | + | ||
| 22 | + Row(){ | ||
| 23 | + | ||
| 24 | + }.backgroundColor(Color.Yellow) | ||
| 25 | + .width('100%') | ||
| 26 | + .height('97lpx') | ||
| 27 | + | ||
| 28 | + Blank() | ||
| 29 | + | ||
| 30 | + Image($r('app.media.app_icon')) | ||
| 31 | + .width('192lpx') | ||
| 32 | + .height('192lpx') | ||
| 33 | + | ||
| 34 | + Text(this.version) | ||
| 35 | + .fontSize('25lpx') | ||
| 36 | + .textAlign(TextAlign.Center) | ||
| 37 | + .fontColor($r("app.color.color_666666")) | ||
| 38 | + .margin({bottom:'31lpx'}) | ||
| 39 | + | ||
| 40 | + Text(this.message) | ||
| 41 | + .fontSize('19lpx') | ||
| 42 | + .textAlign(TextAlign.Center) | ||
| 43 | + .fontColor($r("app.color.color_999999")) | ||
| 44 | + .margin({bottom:'35lpx'}) | ||
| 45 | + } | ||
| 46 | + .width('100%') | ||
| 47 | + .height('100%') | ||
| 48 | + } | ||
| 49 | +} |
| 1 | import MinePageMoreFunctionModel from '../../../viewmodel/MinePageMoreFunctionModel' | 1 | import MinePageMoreFunctionModel from '../../../viewmodel/MinePageMoreFunctionModel' |
| 2 | +import RouteManager from '../../../utils/RouteManager' | ||
| 2 | 3 | ||
| 3 | @Component | 4 | @Component |
| 4 | export default struct MinePageMoreFunctionUI{ | 5 | export default struct MinePageMoreFunctionUI{ |
| @@ -64,6 +65,7 @@ export default struct MinePageMoreFunctionUI{ | @@ -64,6 +65,7 @@ export default struct MinePageMoreFunctionUI{ | ||
| 64 | } | 65 | } |
| 65 | .onClick(()=>{ | 66 | .onClick(()=>{ |
| 66 | console.log(index+"") | 67 | console.log(index+"") |
| 68 | + RouteManager.jumpNewPage("pages/PrivacySettingPage") | ||
| 67 | }) | 69 | }) |
| 68 | .height('117lpx') | 70 | .height('117lpx') |
| 69 | }, item => item) | 71 | }, item => item) |
-
Please register or login to post a comment