Commit 769fc702 by huangqy

没写完

parent e62b1b8b
...@@ -59,7 +59,7 @@ export struct General { ...@@ -59,7 +59,7 @@ export struct General {
build() { build() {
Column() { Column() {
TitleBar({ title: "设备系统信息" }) TitleBar({ title: "设备系统信息" })
Flex({ direction: FlexDirection.Column}) { Flex({ direction: FlexDirection.Column }) {
Column() { Column() {
List({ space: 2}) { List({ space: 2}) {
ForEach(this.systemTitle, (item, index) => { ForEach(this.systemTitle, (item, index) => {
...@@ -119,17 +119,15 @@ export struct General { ...@@ -119,17 +119,15 @@ export struct General {
.width('100%') .width('100%')
.backgroundColor('#fff') .backgroundColor('#fff')
.divider({ strokeWidth: 1, color: 'rgb(242,242,242)' }) // 每行之间的分界线 .divider({ strokeWidth: 1, color: 'rgb(242,242,242)' }) // 每行之间的分界线
}.flexGrow(1) }.height('82%')
Row() {
Flex({ justifyContent: FlexAlign.SpaceAround, alignItems: ItemAlign.Center }) { Flex({ justifyContent: FlexAlign.SpaceAround, alignItems: ItemAlign.Center }) {
Button("保存").CommonButtonStyle() Button("保存").CommonButtonStyle()
Button("重置").CommonButtonStyle() Button("重置").CommonButtonStyle()
} }
}
.height(70) .height(70)
.flexShrink(0)
.backgroundColor('#97c6a6') .backgroundColor('#97c6a6')
} }
} }
.linearGradient({ .linearGradient({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论