From 7f2343d38fa048f6ce179ea0ab2c1a04f41a213c Mon Sep 17 00:00:00 2001 From: wwf <1971391498@qq.com> Date: 星期四, 09 十月 2025 18:05:11 +0800 Subject: [PATCH] 功能完善 --- entry/src/main/ets/pages/account/AboutPage.ets | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 112 insertions(+), 0 deletions(-) diff --git a/entry/src/main/ets/pages/account/AboutPage.ets b/entry/src/main/ets/pages/account/AboutPage.ets new file mode 100644 index 0000000..8634909 --- /dev/null +++ b/entry/src/main/ets/pages/account/AboutPage.ets @@ -0,0 +1,112 @@ + +@Entry +@Component +export struct AboutPage { + build() { + Column() { + Row() { + Image($r('app.media.left_icon')) + .width(20) + .height(20) + Text('鍏充簬') + .fontSize(18) + .fontWeight(700) + + Row() + } + .width('100%') + .padding(10) + .justifyContent(FlexAlign.SpaceBetween) + + Divider() + + Column() { + Column({ space: 10 }) { + Image($r('app.media.logo')) + .width(60) + .height(60) + Text('瀛﹁仒鍚岃') + .fontSize(14) + .fontWeight(500) + .fontColor(Color.Black) + Text('褰撳墠鐗堟湰 V2.1.2') + .fontSize(14) + .fontWeight(500) + .fontColor('#999999') + } + .width('100%') + .height('30%') + .padding({ top: 50 }) + + Column() { + Divider() + .margin({ bottom: 6 }) + List({ space: 10, initialIndex: 0 }){ + ListItem() { + Row() { + Text('妫�娴嬫洿鏂�') + .fontSize(14) + .fontWeight(500) + .layoutWeight(1) + Image($r('app.media.chevron_right')) + .width(12) + .height(12) + } + .width('100%') + .padding(8) + } + ListItem() { + Row() { + Text('鍘昏瘎鍒�') + .fontSize(14) + .fontWeight(500) + .layoutWeight(1) + Image($r('app.media.chevron_right')) + .width(12) + .height(12) + } + .width('100%') + .padding(8) + } + ListItem() { + Row() { + Text('鐢ㄦ埛鍗忚') + .fontSize(14) + .fontWeight(500) + .layoutWeight(1) + Image($r('app.media.chevron_right')) + .width(12) + .height(12) + } + .width('100%') + .padding(8) + } + ListItem() { + Row() { + Text('闅愮鏀跨瓥') + .fontSize(14) + .fontWeight(500) + .layoutWeight(1) + Image($r('app.media.chevron_right')) + .width(12) + .height(12) + } + .width('100%') + .padding(8) + } + } + .listDirection(Axis.Vertical) // 鎺掑垪鏂瑰悜 + .scrollBar(BarState.Off) + .friction(0.6) + .edgeEffect(EdgeEffect.Spring) + .width('100%') + .divider({strokeWidth: 1,color: '#f0f0f0'}) + } + .padding(16) + } + .padding({ top: 10 }) + .width('100%') + .height('100%') + } + } +} \ No newline at end of file -- Gitblit v1.8.0