当前位置: 首页 > news >正文

渭南商铺网站建设企业所得税优惠政策

渭南商铺网站建设,企业所得税优惠政策,中科宁波网站建设,app拉新工作室Row组件 Row沿水平方向布局容器 接口: Row(value?:{space?: number | string }) 参数: 参数名 参数类型 必填 参数描述 space string | number 否 横向布局元素间距。 从API version 9开始,space为负数或者justifyContent设置为…

Row组件

Row沿水平方向布局容器

接口:

Row(value?:{space?: number | string })

参数:

参数名

参数类型

必填

参数描述

space

string | number

横向布局元素间距。

从API version 9开始,space为负数或者justifyContent设置为FlexAlign.SpaceBetween、FlexAlign.SpaceAround、FlexAlign.SpaceEvenly时不生效。

默认值:0,单位vp

说明:

可选值为大于等于0的数字,或者可以转换为数字的字符串。

属性:

名称

参数类型

描述

alignItems

VerticalAlign

设置子组件在垂直方向上的对齐格式。

默认值:VerticalAlign.Center

从API version 9开始,该接口支持在ArkTS卡片中使用。

justifyContent8+

FlexAlign

设置子组件在水平方向上的对齐格式。

默认值:FlexAlign.Start

从API version 9开始,该接口支持在ArkTS卡片中使用。

UI结构示例,1行里包含3行

@Entry
@Component
struct APage {build() {Row() {Row() {Text("左部").width('100%').fontColor(Color.White).textAlign(TextAlign.Center)}.backgroundColor(Color.Red).width(100).height(100)Row() {Text("中间").width('100%').fontColor(Color.White).textAlign(TextAlign.Center)}.backgroundColor(Color.Blue).width(100).height(100)Row() {Text("右部").width('100%').fontColor(Color.White).textAlign(TextAlign.Center)}.backgroundColor(Color.Pink).width(100).height(100)}.width('100%').height('100%')}
}

水平方向对齐

FlexAlign.Start

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.Start)}
}

FlexAlign.Center

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.Center)}
}

FlexAlign.End

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.End)}
}

FlexAlign.SpaceBetween

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.SpaceBetween)}
}

FlexAlign.SpaceAround

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.SpaceAround)}
}

FlexAlign.SpaceEvenly

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').justifyContent(FlexAlign.SpaceEvenly)}
}

垂直方向对齐

VerticalAlign.Top

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').alignItems(VerticalAlign.Top)}
}

VerticalAlign.Center

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').alignItems(VerticalAlign.Center)}
}

VerticalAlign.Bottom

@Entry
@Component
struct APage {build() {Row() {}.width('100%').height('100%').alignItems(VerticalAlign.Bottom)}
}

http://www.yayakq.cn/news/369328/

相关文章:

  • 做网站开发用什么APP好室内设计3d效果图用什么软件
  • centos 7.2 做网站怎么做网站源码
  • 音乐网站建设seo的中文含义是什么意思
  • 卧龙区网站建设价格app商店
  • 济南pc网站建设公司商旅100网页版
  • h5网站程序网页传奇霸主高手攻略
  • 做电影网站免责声明有用吗策划营销有限公司
  • 广州网站设计营销公司如果网站没有icp备案号
  • 做物流网站有哪些功能打开网站代码怎么写
  • 广元网站建设工作室网页制作和设计实验报告
  • 做网站看什么书北京工厂网站建设
  • 备案ip 查询网站查询系统南京企业网
  • 青岛模板做网站wordpress自动适应手机
  • 安庆有做网站的吗网站建设管理总结
  • 阿里云做网站买什么wordpress拖拽
  • 厦门 网站制作长沙3合1网站建设
  • 几个好用的在线网站应届生求职网站官网
  • 网站开发html5二元期权网站建设
  • 北京微网站建设设计服务廊坊seo关键字排名
  • 河北省电力建设第一工程公司网站wordpress中文版apk
  • 重钢建设公司官方网站番禺网站建设系统
  • 泉州网站seo网站建设拿什么框架
  • 网站微商城的建设运营实践和思考广西住房和城乡建设厅继续教育网
  • 品牌网站建设价格实惠好素材网站
  • 网站前期基础建设 怎么写家装类设计网站
  • 建站公司的服务内容宝应县建设工程管理局网站
  • 龙岗龙城街道网站建设开网店3个月来亏了10万
  • 石家庄微网站建设公司哪家好网站后台做链接
  • 素材分享网站源码生鲜网站怎么做
  • 怎么在建设银行网站挂号网站建设运维情况