> dialog由header、main、footer三部分组成，支持按配置优先级控制header和footer样式，优先级依次为slot -> events -> attributes

<!-- ### header部分

* 仅attributes中存在tltle时:

attributes.tltle = "提示" √√√

* attributes和slot同时定义tltle时:

attributes.tltle = "提示" ×××

<div slot="tltle">自定义html</div> √√√

* attributes和slot都不存在tltle时:

   不显示header -->


<!-- 
### footer部分

events中存在confirm时:

```
   @confirm = functon() √√√
```

events.confirm和slot.footer同时存在时:

```
   @confirm = functon() ×××
   <div slot="footer">自定义html</div> √√√
```

attributes和slot都不存在tltle时:

```
   不显示footer
``` -->
      
## Props

* title *String* - 定义标题

* width *String* - 定义弹框宽度

* hide-mask 是否使用遮罩层，不需要赋值，默认为true

* lock-scroll 是否溢出滚动，不需要赋值，默认为false


## Slots

* header - 定义头部

* footer - 定义底部

## Events

* confirm - 确认

* close - 关闭

* mask - 点击遮罩层