UNPKG

@wanghonggan/uv-ui

Version:

uv-ui 破釜沉舟之兼容vue3+2、nvue、app、h5、小程序等多端基于uni-app和uView2.x的生态框架,支持单独导入,开箱即用,利剑出击。

52 lines (51 loc) 1.04 kB
import { getPropsByKey } from "../../libs/config/config"; export default { props: { // 标题,有值则显示,同时会显示关闭按钮 title: { type: String, default: '' }, // 选项上方的描述信息 description: { type: String, default: '' }, // 数据 actions: { type: Array, default: () => [] }, // 取消按钮的文字,不为空时显示按钮 cancelText: { type: String, default: '' }, // 点击某个菜单项时是否关闭弹窗 closeOnClickAction: { type: Boolean, default: true }, // 处理底部安全区(默认true) safeAreaInsetBottom: { type: Boolean, default: true }, // 小程序的打开方式 openType: { type: String, default: '' }, // 点击遮罩是否允许关闭 (默认true) closeOnClickOverlay: { type: Boolean, default: true }, // 圆角值 round: { type: [Boolean, String, Number], default: 0 }, ...getPropsByKey('actionSheet') } }