# bluetooth
**Repository Path**: johnny_zou/bluetooth
## Basic Information
- **Project Name**: bluetooth
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-12-23
- **Last Updated**: 2025-01-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 组件说明(暂不支持vue3)
基于Uniapp中 **movable-area** 和 **movable-view** 开发,可支持多个平台,传入list参数即可实现拖拽排序,而且是双向绑定的,无需其他操作,内置一些常用的参数,可开箱即用。
## 参数说明
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|-----------------|------------------------------------|--------|-----|------|
| value / v-model | 绑定值 | array | - | [] |
| column | 每行展示数量 | number | - | 3 |
| width | 拖拽容器的宽度 | string | - | 100% |
| height | 拖拽容器的高度,若不传则默认根据column和每个盒子的高度自动生成 | string | | auto |
| itemKey | 唯一key,必传 | string | - | -
| itemHeight | 每个拖拽盒子的高度 | string | - | 100px
| direction | 可拖拽方向,具体看movable-view | string | all/vertical/horizontal/none | all
| damping| 阻尼系数,用于控制x或y改变时的动画和过界回弹的动画,值越大移动越快 | number| - | 20
# 使用实例
```
index.vue
//注:小程序不能使用插槽这样进行使用,需在BasicDrag里面写入需要展示的item
{{ element.title }}
```
## 打赏
如果你觉得本插件,解决了你的问题,可以请作者喝杯咖啡

