未验证 提交 723b8238 编写于 作者: O openharmony_ci 提交者: Gitee

!15559 修改responsive-layout.md文件

Merge pull request !15559 from fanzhaonan/master
...@@ -317,7 +317,7 @@ struct GridRowSample1 { ...@@ -317,7 +317,7 @@ struct GridRowSample1 {
@State private currentBreakpoint: string = 'unknown' @State private currentBreakpoint: string = 'unknown'
build() { build() {
// 修改断点的取值范围同时启用更多断点,注意,修改的断点值后面必须加上vp单位。 // 修改断点的取值范围同时启用更多断点,注意,修改的断点值后面必须加上vp单位。
GridRow(breakpoints: {value: ['600vp', '700vp', '800vp', '900vp', '1000vp'], GridRow({breakpoints: {value: ['600vp', '700vp', '800vp', '900vp', '1000vp'],
reference: BreakpointsReference.WindowSize}}) { reference: BreakpointsReference.WindowSize}}) {
GridCol({span:{xs: 12, sm: 12, md: 12, lg:12, xl: 12, xxl:12}}) { GridCol({span:{xs: 12, sm: 12, md: 12, lg:12, xl: 12, xxl:12}}) {
Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册