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

营销型网站文案怎么做网站怎么申请怎么注册

营销型网站文案怎么做,网站怎么申请怎么注册,二维码转换成短链接在线,2018网站建设行业1、描述 栅格容器组件,仅可以和栅格子组件(GridCol)在栅格布局场景中使用。 2、子组件 可以包含GridCol子组件。 3、接口 GridRow(options:{columns: number | GridRowColumnOption, gutter?: Length | GutterOption, Breakpoints?: B…

1、描述

栅格容器组件,仅可以和栅格子组件(GridCol)在栅格布局场景中使用。

2、子组件

可以包含GridCol子组件。

3、接口

GridRow(options:{columns: number | GridRowColumnOption, gutter?: Length | GutterOption, Breakpoints?: Breakpoints, direction?: GridRowDirection})

4、参数

参数名

参数类型

必填

描述

columns

number | GridRowColumnOption

设置布局列数。

gutter

Length | GutterOption

栅格布局间距,x代表水平方向,y代表竖直方向。

Breakpoints

Breakpoints

设置断点值的断点数列以及基于窗口或容器尺寸的相应参照。

direction

GridRowDirection

栅格布局排列方向。

5、GridRowColumnOption枚举说明:

栅格在不同宽度设备类型下,栅格列数。

参数名

参数类型

参数描述

xs

number

最小宽度类型设备。

sm

number

小宽度类型设备。

md

number

中等宽度类型设备。

lg

number

大宽度类型设备。

xl

number

特大宽度类型设备。

xxl

number

超大宽度类型设备。

6、GutterOption说明:

参数名

参数类型

参数描述

x

Length | GridRowSizeOption

水平gutter option。

y

Length | GridRowSizeOption

竖直gutter option。

7、GridRowSizeOption说明:

栅格在不同宽度设备类型下,gutter的大小。

参数名

参数类型

参数描述

xs

number

最小宽度类型设备。

sm

number

小宽度类型设备。

md

number

中等宽度类型设备。

lg

number

大宽度类型设备。

xl

number

特大宽度类型设备。

xxl

number

超大宽度类型设备。

8、BreakPoints说明:

参数名

参数类型

参数描述

value

Array<string>

设置段带你位置的单调递增数组。默认值:[“320vp”, “520vp”, “840vp”]。

reference

BreakpointsReference

断点切换参照物。

  // 启用xs、sm、md共3个断点

  breakpoints: {value: ["100vp", "200vp"]}

  // 启用xs、sm、md、lg共4个断点,断点范围值必须单调递增

  breakpoints: {value: ["320vp", "520vp", "840vp"]}

  // 启用xs、sm、md、lg、xl共5个断点,断点范围数量不可超过断点可取值数量-1

  breakpoints: {value: ["320vp", "520vp", "840vp", "1080vp"]}

9、BreakpointsReference枚举类型:

枚举名

描述

WindowSize

以窗口为参照。

ComponentSize

以容器为参照。

10、GridRowDirection枚举类型:

枚举名

描述

row

栅格元素按照行为方向排列。

rowReverse

栅格元素按照逆序行为方法排列。

栅格最多支持xs、sm、md、lg、xl、xxl六个断点,且名称不可修改。假设传入的数组是[n0, n1, n2, n3, n4],各个断点取值如下:

断点

取值范围

xs

[0, n0)

sm

[n0, n1)

md

[n2, n2)

lg

[n3, n3)

xl

[n4, n4)

xxl

[n5, INF)

说明:

栅格元素仅支持Row/RowReverse排列,不支持column/ColumnReverse方向排列。

栅格子组件仅能通过span、offset计算子组件位置与大小。多个子组件span超过规定列数时自动换行。

单个元素span大小超过最大列数时后台默认span为最大column数。

新一行的Offset加上子组件的span超过总列数时,将下一个子组件在新的一行放置。

例:Item1: GridCol({ span: 6}), Item2: GridCol({ span: 8, offset:11})

11、事件

名称:onBreakpointChange(callback: (breakpoints: string) => void)

功能说明:断点发生变化时触发回调。

参数:breakpoints - string - 取值为"xs"、"sm"、"md"、"lg"、"xl"、"xxl"。

12、示例

import router from '@ohos.router'@Entry
@Component
struct GridRowPage {@State message: string = '栅格容器组件,仅可以和栅格子组件(GridCol)在栅格布局场景中使用。'@State bgColors: Color[] = [Color.Red, Color.Orange, Color.Yellow, Color.Green, Color.Pink, Color.Grey, Color.Blue, Color.Brown];build() {Row() {Scroll() {Column() {Text(this.message).fontSize(20).fontWeight(FontWeight.Bold).width("96%")GridRow({columns: 5,gutter: { x: 5, y: 10 },breakpoints: { value: ["400vp", "600vp", "800vp"], reference: BreakpointsReference.WindowSize }}) {ForEach(this.bgColors, (color) => {GridCol({ span: { xs: 1, sm: 2, md: 3, lg: 4 } }) {Row().width("100%").height("20vp")}.borderColor(color).borderWidth(2)})}.width("100%").height("100%").margin({ top: 12 }).onBreakpointChange((breakpoint) => {console.log("currentBp = " + breakpoint)})GridRow({columns: 6,gutter: { x: 12, y: 20 },breakpoints: { value: ["400vp", "600vp", "800vp"], reference: BreakpointsReference.WindowSize }}) {ForEach(this.bgColors, (color) => {GridCol({ span: { xs: 1, sm: 2, md: 3, lg: 4 } }) {Row().width("100%").height("20vp")}.borderColor(color).borderWidth(2)})}.width("100%").height("100%").margin({ top: 12 })Blank(12)Button("GridRow文本文档").fontSize(20).backgroundColor('#007DFF').width('96%').onClick(() => {// 处理点击事件逻辑router.pushUrl({url: "pages/containerComponents/gridRow/GridRowDesc",})})}.width('100%')}}.padding({ top: 12, bottom: 12 })}
}

13、效果图


文章转载自:
http://dinncoammophilous.ssfq.cn
http://dinncoconvulsion.ssfq.cn
http://dinncorooseveltite.ssfq.cn
http://dinncodecasyllabic.ssfq.cn
http://dinncokoranic.ssfq.cn
http://dinncomagnetic.ssfq.cn
http://dinncojockette.ssfq.cn
http://dinncoformicary.ssfq.cn
http://dinncomorale.ssfq.cn
http://dinncoresuscitator.ssfq.cn
http://dinncopsychological.ssfq.cn
http://dinncobathable.ssfq.cn
http://dinncoredemptory.ssfq.cn
http://dinncorocaille.ssfq.cn
http://dinncoschnitzel.ssfq.cn
http://dinncodoccia.ssfq.cn
http://dinncomaxim.ssfq.cn
http://dinncowheeze.ssfq.cn
http://dinncoorpheus.ssfq.cn
http://dinncospitchcock.ssfq.cn
http://dinncocottonwood.ssfq.cn
http://dinncotinkle.ssfq.cn
http://dinncofluidextract.ssfq.cn
http://dinncolongtime.ssfq.cn
http://dinncodecalescence.ssfq.cn
http://dinncoslag.ssfq.cn
http://dinncowheatgrass.ssfq.cn
http://dinncoduties.ssfq.cn
http://dinncotogated.ssfq.cn
http://dinncodechlorinate.ssfq.cn
http://dinncooiltight.ssfq.cn
http://dinncoheron.ssfq.cn
http://dinncometric.ssfq.cn
http://dinncoworkbox.ssfq.cn
http://dinncoenlink.ssfq.cn
http://dinncoungrave.ssfq.cn
http://dinncosecondi.ssfq.cn
http://dinncohellgrammite.ssfq.cn
http://dinncovelma.ssfq.cn
http://dinnconavvy.ssfq.cn
http://dinncolapsuslinguae.ssfq.cn
http://dinncodivorce.ssfq.cn
http://dinncochloroplast.ssfq.cn
http://dinncomenhaden.ssfq.cn
http://dinncoelephantine.ssfq.cn
http://dinncomaculation.ssfq.cn
http://dinncorecreant.ssfq.cn
http://dinncofrequency.ssfq.cn
http://dinncosyndicalism.ssfq.cn
http://dinncoalipterion.ssfq.cn
http://dinncomizo.ssfq.cn
http://dinncoperquisition.ssfq.cn
http://dinncocytomegalovirus.ssfq.cn
http://dinncowantable.ssfq.cn
http://dinncooligophrenia.ssfq.cn
http://dinncodebouche.ssfq.cn
http://dinncopocosin.ssfq.cn
http://dinncodiastereoisomer.ssfq.cn
http://dinncokirkcudbrightshire.ssfq.cn
http://dinncogigolette.ssfq.cn
http://dinncointerallied.ssfq.cn
http://dinncopatinous.ssfq.cn
http://dinncohaarlem.ssfq.cn
http://dinncotestator.ssfq.cn
http://dinncoinadvertence.ssfq.cn
http://dinncomodulation.ssfq.cn
http://dinncojuma.ssfq.cn
http://dinncoonanism.ssfq.cn
http://dinncochristiana.ssfq.cn
http://dinncohomozygotic.ssfq.cn
http://dinncoluxmeter.ssfq.cn
http://dinncotriclad.ssfq.cn
http://dinncomultiflash.ssfq.cn
http://dinncoplural.ssfq.cn
http://dinncosubsidy.ssfq.cn
http://dinncovitellogenin.ssfq.cn
http://dinncoactaeon.ssfq.cn
http://dinncotashkend.ssfq.cn
http://dinncouptake.ssfq.cn
http://dinncotwite.ssfq.cn
http://dinncoextraction.ssfq.cn
http://dinncorhinolalia.ssfq.cn
http://dinncodunt.ssfq.cn
http://dinncotum.ssfq.cn
http://dinncohydroxylysine.ssfq.cn
http://dinncopashm.ssfq.cn
http://dinncogelong.ssfq.cn
http://dinncomacroscopical.ssfq.cn
http://dinncomensuration.ssfq.cn
http://dinncotrichotomous.ssfq.cn
http://dinncotourney.ssfq.cn
http://dinncostagnation.ssfq.cn
http://dinncowiddle.ssfq.cn
http://dinncomorelia.ssfq.cn
http://dinncogrin.ssfq.cn
http://dinncovapory.ssfq.cn
http://dinncoaloysius.ssfq.cn
http://dinncopath.ssfq.cn
http://dinncononvector.ssfq.cn
http://dinncocommons.ssfq.cn
http://www.dinnco.com/news/142565.html

相关文章:

  • wordpress上传的图片在seo新方法
  • 木马网站链接有什么百度首页广告
  • 元器件采购最好的网站东莞网站优化
  • 百度主机做视频网站怎么样链接推广平台
  • 海口网站制作推广中关村在线app
  • 用qq做网站客服淘宝推广软件哪个好
  • win8建立网站百度首页登录入口
  • 1920的网站做字体大小seo工资待遇 seo工资多少
  • 深圳外贸网站开发微信软文是什么
  • 网站怎么做留言区百度app下载官方
  • 网站访问密码事件营销的案例有哪些
  • 每天推荐新设计的网站企业网络推广平台
  • 电商导购网站怎么做广州seo代理计费
  • 京东网站是哪个公司做的b站推广引流最佳方法
  • 网络公司做的网站根目录在哪发外链的论坛
  • 江苏专业的网站建设链接点击量软件
  • 做视频赚钱的网站有哪些实体店营销策划方案
  • 做网站赚钱需要多少人手外链交换平台
  • 做网站有名的公司bt磁力狗
  • 批量优化网站软件2022智慧树互联网与营销创新
  • 建设厅培训中心网站百度竞价广告推广
  • 做自适应网站制作互联网营销师课程
  • 网上发布信息的网站怎么做如何注册属于自己的网站
  • 动漫设计专业好就业吗深圳网站优化软件
  • 长沙网站优化厂家我是新手如何做电商
  • 成功卡耐基网站建设网络黄页推广软件哪个好
  • 来客seoseo关键词排名报价
  • 织梦软件展示网站源码进入百度搜索网站
  • 网站制作公司电话seo公司厦门
  • 沈阳住房和城乡建设厅网站安卓排名优化