UNPKG

@wanghonggan/uv-ui

Version:

uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。

36 lines (35 loc) 804 B
import { getPropsByKey } from "../../libs/config/config"; export default { props: { color: { type: String, default: '#d6d7d9' }, // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 length: { type: [String, Number], default: '100%' }, // 线条方向,col-竖向,row-横向 direction: { type: String, default: 'row' }, // 是否显示细边框 hairline: { type: Boolean, default: true }, // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px" margin: { type: [String, Number], default: 0 }, // 是否虚线,true-虚线,false-实线 dashed: { type: Boolean, default: false }, ...getPropsByKey('line') } }