-
使用 movable-area 实现可拖拽进度条、滑动条、评分条
-
具体使用可以跳转至 uniapp插件地址 查看
<template>
<view>
<yichan-movable-area />
</view>
</template>
<script>
import YiChanMovableArea from '../../components/yichan-movable-area/yichan-movable-area.vue';
export default {
components: {
YiChanMovableArea
},
}
</script>
属性名 | 类型 | 默认值 | 说明 |
---|---|---|---|
min | Number | 最小值 | 0 |
max | Number | 最大值 | 0 |
defaultValue | Number | 默认值 | 0 |
函数名 | 说明 | 返回值 |
---|---|---|
change | 拖动时触发 | 返回当前选择的数值 |