@wanghonggan/uv-ui
Version:
uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。
37 lines (36 loc) • 762 B
JavaScript
import { getPropsByKey } from "../../libs/config/config";
export default {
props: {
// 指示器的整体宽度
indicatorWidth: {
type: [String, Number],
default: 50
},
// 滑块的宽度
indicatorBarWidth: {
type: [String, Number],
default: 20
},
// 是否显示面板指示器
indicator: {
type: Boolean,
default: true
},
// 指示器非激活颜色
indicatorColor: {
type: String,
default: '#f2f2f2'
},
// 指示器的激活颜色
indicatorActiveColor: {
type: String,
default: '#3c9cff'
},
// 指示器样式,可通过bottom,left,right进行定位
indicatorStyle: {
type: [String, Object],
default: ''
},
...getPropsByKey('scrollList')
}
}