Skip to content

间隔 Gap

间隔组件。

兼容性

  • 兼容:✅
  • 不兼容:❌
  • 未知:❔
H5安卓苹果微信支付宝百度抖音QQ快手飞书京东
小红书鸿蒙360华为快应用快应用联盟

插件市场地址

DCloud 插件市场地址

基础使用

  • 通过 size 属性设置大小。
vue
<template>
    <pure-gap size="20px"></pure-gap>
</template>

行内模式

  • 通过 inline 属性设置为行内模式。
vue

<template>
    <pure-gap inline></pure-gap>
</template>

Props

属性名说明类型默认值可选值版本
size大小String--+1.0.0
inline是否显示为行内模式Booleanfalsetrue+1.0.0

基于 MIT 许可发布