hi-action-sheet

hi-action-sheet 底部菜单

介绍

弹出一个选择抽屉

引入

import "../hi-action-sheet.stml";

代码示例

属性

list 表单列表json数组 list: [ { name: "选项一", value: 1, }, { name: "选项二", value: 2, disable: true, //是否禁用 }, { name: "选项三", value: 3, }, ],

is_show 是否显示隐藏 false/true

cancelColor 取消按钮的颜色

@cancel 取消事件

@confirm 确认事件返回event.detail数组item项

<hi-action-sheet :list="list" :show="is_show" cancelColor="color:red" @cancel="cancelFun()" @confirm="comfirmFun"></hi-action-sheet>
是否仍需要帮助? 请保持联络!
最后更新于 2024/04/24