# 使用
通过与
visiable绑定我们可以指定事件打开对话框
日常生活中,少不了对话,emui 为您提供了两种对话框,您可以通过
v-slot填入指定的插槽,实现对话的按钮功能
Copy
朴实无华的对话 dialog
Copy
# Attributes
# 1、dialog
| 属性 | 属性值 | 说明 |
|---|---|---|
| title | String | dialog 标题 |
| visiable | String | dialog 是否开始就展示在页面上 |
| v-slot | slot | 给对话框添加开关按钮 |
| width | String | dialog 宽度 |
| top | String | dialog 与上页的距离 |