feat:还原更新框架

This commit is contained in:
2026-07-23 14:49:48 +08:00
parent d5a6a16ea5
commit 75c7434f79
529 changed files with 43714 additions and 68201 deletions
@@ -1,39 +1,36 @@
import { defineMixin } from '../../libs/vue'
import ScrollListDefaultProps from './scrollList'
import { registerComponentProps } from '../../libs/config/props.js'
const defProps = registerComponentProps(ScrollListDefaultProps)
export const props = defineMixin({
props: {
// 指示器的整体宽度
indicatorWidth: {
type: [String, Number],
default: () => defProps.scrollList.indicatorWidth
},
// 滑块的宽度
indicatorBarWidth: {
type: [String, Number],
default: () => defProps.scrollList.indicatorBarWidth
},
// 是否显示面板指示器
indicator: {
type: Boolean,
default: () => defProps.scrollList.indicator
},
// 指示器非激活颜色
indicatorColor: {
type: String,
default: () => defProps.scrollList.indicatorColor
},
// 指示器的激活颜色
indicatorActiveColor: {
type: String,
default: () => defProps.scrollList.indicatorActiveColor
},
// 指示器样式,可通过bottom,left,right进行定位
indicatorStyle: {
type: [String, Object],
default: () => defProps.scrollList.indicatorStyle
}
}
})
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 指示器的整体宽度
indicatorWidth: {
type: [String, Number],
default: () => defProps.scrollList.indicatorWidth
},
// 滑块的宽度
indicatorBarWidth: {
type: [String, Number],
default: () => defProps.scrollList.indicatorBarWidth
},
// 是否显示面板指示器
indicator: {
type: Boolean,
default: () => defProps.scrollList.indicator
},
// 指示器非激活颜色
indicatorColor: {
type: String,
default: () => defProps.scrollList.indicatorColor
},
// 指示器的激活颜色
indicatorActiveColor: {
type: String,
default: () => defProps.scrollList.indicatorActiveColor
},
// 指示器样式,可通过bottom,left,right进行定位
indicatorStyle: {
type: [String, Object],
default: () => defProps.scrollList.indicatorStyle
}
}
})