更新记录
1.0.0(2024-07-11) 下载此版本
1.0.0
平台兼容性
shaoll-bubblePopup
Props
| 属性名 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| width | String | 宽度 | 300rpx |
| radius | String | popup圆角 | 8rpx |
| left | String | 定位 left值 | auto |
| right | String | right值 | auto |
| top | String | top值 | auto |
| bottom | String | bottom值 | auto |
| translateX | String | 水平方向移动距离 | 0 |
| translateY | String | 垂直方向移动距离 | 0 |
| backgroundColor | String | 背景颜色 | #4c4c4c |
| color | String | 字体颜色 | #fff |
| borderWidth | String | 三角箭头border-width | 12rpx |
| direction | String | 三角箭头方向 top left right bottom | top |
| triangleLeft | String | 三角箭头定位left值 | auto |
| triangleRight | String | 三角箭头定位right值 | auto |
| triangleTop | String | 三角箭头定位top值 | auto |
| triangleBottom | String | 三角箭头定位bottom值 | auto |
| position | String | 定位 relative absolute fixed | fixed |
| flexEnd | Boolean | flex-end | false |
| mask | Boolean | 是否需要mask | true |
| maskBgColor | String | 遮罩背景色 | rgba(0, 0, 0, 0.4) |
| show | Boolean | 控制显示 | false |
Slot
| 插槽名称 | 插槽说明 |
|---|---|
| default | 气泡弹框内显示内容 |
Events
| 事件名 | 说明 | 回调参数 |
|---|---|---|
| close | 遮罩点击事件,关闭弹框 | { } |

收藏人数:
下载插件并导入HBuilderX
赞赏(0)
下载 37
赞赏 0
下载 10640627
赞赏 1792
赞赏
京公网安备:11010802035340号