更新记录
1.0.1(2025-11-13)
1.0.1 2025-11-13 修改因命名导致的致命错误
1.0.0(2025-11-13)
1.0.0 2025-11-13 第一版本,仅在个人 项目测试过,其他项目如有问题,可以自行尝试调整或联系开发者
平台兼容性
uni-app(4.86)
| Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
|---|---|---|---|---|---|---|---|---|
| √ | √ | - | - | - | - | - | - | - |
| 微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
|---|---|---|---|---|---|---|---|---|---|---|
| √ | - | - | - | - | - | - | - | - | - | - |
uni-app x(4.86)
| Chrome | Safari | Android | iOS | 鸿蒙 | 微信小程序 |
|---|---|---|---|---|---|
| - | - | - | - | - | - |
cloudty-actionSheetPlus
说明
cloudty-actionSheetPlus是因为选用uView的u-action-sheet没有搜索功能,所以基于u-action-sheet思路,而重新撰写的aciton-sheet插件
使用
1.全局引入(推荐)
在 pages.json 中配置:
{
"globalStyle": {
"usingComponents": {
"cloudty-action-sheet-plus": "@/uni_modules/cloudty-actionSheetPlus/components/cloudty-actionSheetPlus/cloudty-actionSheetPlus"
}
}
}
2.页面引用
在具体页面的 vue 文件中引入:
<script>
import cloudtyActionSheetPlus from '@/uni_modules/cloudty-actionSheetPlus/components/cloudty-actionSheetPlus/cloudty-actionSheetPlus.vue'
export default {
components: {
cloudtyActionSheetPlus
}
}
</script>
组件参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| show | Boolean | 是 | 控制组件显示或隐藏 |
| actions | Array | 是 | 选项列表,每个元素应包含 name 和 subname 字段 |
组件事件说明
| 事件名称 | 说明 | 返回值 |
|---|---|---|
| select | 用户选择某项时触发 | 选中的项对象 |
| close | 组件关闭时触发 | - |

收藏人数:
购买普通授权版(
试用
赞赏(0)
下载 0
赞赏 0
下载 11026503
赞赏 1800
赞赏
京公网安备:11010802035340号