123456789101112131415161718192021222324252627282930313233343536373839 |
- import { defineProps } from '../../libs/util/props';
- export default defineProps('scrollList', {
- // 指示器的整体宽度
- indicatorWidth: {
- type: [String, Number],
- default: 50
- },
- // 滑块的宽度
- indicatorBarWidth: {
- type: [String, Number],
- default: 20
- },
- // 是否允许滚动
- scroll: {
- type: Boolean,
- default: true
- },
- // 是否显示面板指示器
- indicator: {
- type: Boolean,
- default: true
- },
- // 指示器非激活颜色
- indicatorColor: {
- type: String,
- default: '#f2f2f2'
- },
- // 指示器的激活颜色
- indicatorActiveColor: {
- type: String,
- default: '#3c9cff'
- },
- // 指示器样式,可通过bottom,left,right进行定位
- indicatorStyle: {
- type: [String, Object],
- default: ''
- }
- })
|