1.0.14 • Published 6 years ago
wxc-dialog
MinUI 小程序组件 - 对话框
Install
$ min install @qianzhaoy/wxc-dialog
API
Dialog【props】
名称 | 描述 |
---|
title | 【说明】标题文案【类型】String 【默认值】"" |
title-color | 【说明】标题颜色【类型】String 【默认值】#000000 |
content | 【说明】内容 【类型】String 【默认值】"" |
content-color | 【说明】内容颜色【类型】String 【默认值】#888888 |
confirm-text | 【说明】确认按钮文案 【类型】String 【默认值】"" |
confirm-color | 【说明】确认按钮文案颜色【类型】String 【默认值】#ff5777 |
cancel-text | 【说明】取消按钮文案 【类型】String 【默认值】"" |
cancel-color | 【说明】取消按钮文案颜色【类型】String 【默认值】#666666 |
image | 【说明】显示的图片链接 【类型】String 【默认值】"" |
Link
Preview
Dialog【methods】
名称 | 描述 |
---|
show | 【说明】显示弹窗【params】void【return】void |
hide | 【说明】隐藏弹窗【params】void【return】void |
ChangeLog
v1.0.3(2018.01.04)
v1.0.2(2017.11.02)
v1.0.1(2017.10.24)