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

网站开发和小程序开发区别网站字体规范

网站开发和小程序开发区别,网站字体规范,photoshop做网站设计,手机wap在线浏览器虽然我们拥有 Divider 组件#xff0c;但很多时候我们需要不是一个被 Divider 组件 分割开的页面结构#xff0c;因此我们会重复的使用很多的 Divider 组件#xff0c;这在我们的开发效率上造成了一定的困扰。 间距组件就是为了解决这种困扰应运而生的。 基础用法# 最基础…虽然我们拥有 Divider 组件但很多时候我们需要不是一个被 Divider 组件 分割开的页面结构因此我们会重复的使用很多的 Divider 组件这在我们的开发效率上造成了一定的困扰。 间距组件就是为了解决这种困扰应运而生的。 基础用法# 最基础的用法通过这个组件来给组件之间提供统一的间距。 通过间距组件来给多个组件之间提供间距 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 垂直布局# 使用 direction 来控制布局的方式, 背后实际上是利用了 flex-direction 来控制. 我们也提供垂直布局方式。 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 控制间距的大小# 通过调整 size 的值来控制间距的大小 使用内置的 small、default、large 来设置间距大小分别对应 8px、12px 和 16px 的间距。 默认的间距大小为 small也就是 8px。 您也可以通过自定义的 size 来控制大小 参见下一个部分。 largedefaultsmall Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 自定义 Size# 很多时候内建的大小不满足设计师的要求我们可以通过传入自己定义的大小 (数值类型) 来设置。 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 TIP 不要让 ElSpace 与使用依赖父元素百分比宽度或高度的元素一起使用例如 ElSlider这样会造成光标不同步。 自动换行# 在 水平 (horizontal) ** 模式下, 通过控制 wrap布尔类型**来控制是否自动换行 利用 wrap 属性控制换行 Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button Text button 行间分隔符# 有时候仅仅在行间加空白并不能满足我们的日常需求此时分隔符 (spacer) 就可以发挥非常好的作用了。 字母数字类型分隔符# button 1 | button 2 分隔符还可以是 VNode 类型# button 1 button 2 对齐方式# 设置该值可以调整所有子节点在容器内的对齐方式可设置的值与 align-items一致。 使用 alignment 属性来对齐 string button header body string button header body string button header body 填充容器# 通过 fill**布尔类型**参数您可以控制子节点是否自动填充容器。 下面的例子中当设置为 fill 时子节点的宽度会自动适配容器的宽度。 用 fill 属性让子节点自动填充容器 fill:  Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 也可以使用 fillRatio 参数自定义填充的比例 默认值为 100代表基于父容器宽度的 100% 进行填充 需要注意的是水平布局和垂直布局的表现形式稍有不同具体的效果可以查看下面的例子 用 fillRatio 自定义填充比例 direction: horizontalvertical fillRatio: Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 Card nameOperation button List item 1 List item 2 List item 3 List item 4 API# Attributes# 属性名说明类型默认值alignment对齐的方式enum align-itemscenterclass类名string / object / array—direction排列的方向enumhorizontalprefix-cls给 space-items 的类名前缀string—style额外样式string / object—spacer间隔符string / number / VNode—size间隔大小enum / number / arraysmallwrap设置是否自动折行booleanfalsefill子元素是否填充父容器booleanfalsefill-ratio填充父容器的比例number100 Slots# 名称说明default需要添加间隔的元素 源代码# 组件 • 文档
http://www.ho-use.cn/article/10820081.html

相关文章:

  • 江西省赣州市会昌县seo推广计划
  • 亚洲建行网站打不开免费发布信息的平台有哪些
  • 福田企业网站优化最好的方法珠海网站建设 超凡科技
  • 网站模块结构图怎样自己搭建一个做影视的网站
  • 可以做猫头像的网站wordpress首页加载图片慢
  • 网站关键词提取工具免费网站看完你会回来感谢我的
  • 免费静态网站托管重庆论坛网站建设
  • 开封淘宝网站建设网站建设有什么看法
  • 有需要做网站推广找我WordPress如何设置付费下载
  • 国外虚拟主机 两个网站企业网站申请流程
  • 用c 做一个小网站怎么做wordpress安装 linux
  • 做自己的网站有什么用广州番禺哪个公司建网站比较好
  • 自己怎么建个优惠网站网络营销策划的流程及要点
  • php 数据录入网站网站建设 亿安网络
  • 交互式网站是什么意思美术学院网站建设
  • 网站内图片变换怎么做免费服务器网址
  • 江苏省建设通官方网站黄石建设网站公司
  • 凡科建站相关链接国内seo公司哪家最好
  • 站群建站云虚机安装wordpress教程
  • 用什么软件上传网站重庆企业网站设计制作
  • 教育集团网站设计策划书wordpress主题seven
  • 设计logo网站生成器wordpress4.4.1
  • 聊城哪里有做网站的建设童装网站的意义
  • 找专题页面那个网站好东莞营销网站建设优化
  • 牛商网做的网站有哪些广州新闻头条最新消息
  • 济南做网站多钱网站建设网站营销网站托管一体化
  • 网站建设方案格式网站中数据查询如何做
  • 网站怎么重建征婚网站认识的男人做定投保
  • 平面设计教程网站有哪些龙城区建设局网站
  • 个人租车网站源码网站制作宣传