#### 自定义位置
使用 `centered` 或类似 `style.top` 的样式来设置对话框位置。
#### To customize the position of modal
You can use `centered`,`style.top` or other styles to set position of modal dialog.
```tpl
setModal1Visible(true)"
>Display a modal dialog at 20px to Top
setModal1Visible(false)"
@cancel="() => setModal1Visible(false)"
>
some contents...
some contents...
some contents...
modal2Visible = true"
>Vertically centered modal dialog
modal2Visible = false"
>
some contents...
some contents...
some contents...
```