UNPKG

yl-view

Version:

一个基于uniapp的ui框架

52 lines (51 loc) 856 B
export default { props: { // button 尺寸 size: { type: Number, default: 80 }, // 图标名字 icon: { type: String, default: 'add-bold' }, // 是否吸顶 isCeiling: { type: Boolean, default: false }, // 菜单栏 menuList: { type: Array, default: _ => [] }, // 子菜单 宽度 itemWidth: { type: String, default: '200rpx' }, // bgColor bgColor: { type: String, default: uni.$yl.ylPrimary }, showIcon: { type: Boolean, default: true }, boxShadow: { type: String, default: '0 5px 7px 0 rgba(0, 0, 0, 0.1)' }, position: { type: Object, default: _ => { return { left: '32rpx', top: `${(uni.getSystemInfoSync().windowHeight - uni.getSystemInfoSync().windowTop - 66)}px` } } }, } }