UNPKG

@wanghonggan/uv-ui

Version:

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

47 lines (46 loc) 861 B
import { getPropsByKey } from "../../libs/config/config"; export default { props: { // 是否虚线 dashed: { type: Boolean, default: false }, // 是否细线 hairline: { type: Boolean, default: true }, // 是否以点替代文字,优先于text字段起作用 dot: { type: Boolean, default: false }, // 内容文本的位置,left-左边,center-中间,right-右边 textPosition: { type: String, default: 'center' }, // 文本内容 text: { type: [String, Number], default: '' }, // 文本大小 textSize: { type: [String, Number], default: 14 }, // 文本颜色 textColor: { type: String, default: '#909399' }, // 线条颜色 lineColor: { type: String, default: '#dcdfe6' }, ...getPropsByKey('divider') } }