1 Star 3 Fork 0

LeoYang / KuView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 993 Bytes
一键复制 编辑 原始数据 按行查看 历史
LeoYang 提交于 2024-01-21 00:31 . 新增gap、safe-area组件

Gap 间隔块

App(vue) App(nvue) H5 小程序
微信

基本使用

<template>
	<ku-gap width="750rpx" height="10rpx" bg-color="#ffffff"></ku-gap>
</template>

API

Props

参数 说明 类型 默认值 可选值
width 间隔块宽度 Number|String 默认宽度继承父级元素 尺寸单位传值说明
height 间隔块高度 Number|String 10 尺寸单位传值说明
bgColor 背景颜色 String transparent css颜色值
customStyle 自定义样式 Object - -

width、height尺寸说明

可传值Number或者Number + 尺寸单位

  • 传值Number 100 = 组件实际尺寸100px
  • 传值String '100' = 组件实际尺寸100px
  • 传值String '100px' = 组件实际尺寸100px
  • 传值String '100rpx' = 组件实际尺寸100rpx
1
https://gitee.com/louie_gk/KuView.git
git@gitee.com:louie_gk/KuView.git
louie_gk
KuView
KuView
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891