Skip to content

mosowe-space 间距

uniapp/uni_modules组件

下载地址

兼容性

平台androidios微信小程序H5
兼容

props

属性类型说明默认
size'default' | 'small' | 'large' | number间隙,default:24,small:16,large:32。单位rpxdefault
wrapboolean是否换行false

slots

插槽名说明
default默认插槽

示例代码

vue
<template>
  <mosowe-space>
    <view>11111</view>
    <view>
      <view class="test2">3333</view>
    </view>
    <text class="text">2222</text>
    <mosowe-button width="200rpx">按钮</mosowe-button>
    <mosowe-text-tag>标签</mosowe-text-tag>
    <mosowe-text>文案</mosowe-text>
    <uni-icons
      type="contact"
      size="30"
    ></uni-icons>
  </mosowe-space>
</template>

贡献者

mosowe

文档版本 v1.0.1