feat(Dialog): update border radius (#2158)

This commit is contained in:
neverland 2019-10-15 20:41:30 +08:00 committed by GitHub
parent e81c2689f2
commit c1c8979539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 29 deletions

View File

@ -1,48 +1,26 @@
<demo-block title="提示弹窗" padding>
<van-button
plain
type="primary"
class="demo-margin-right"
bind:click="onClickAlert"
>
<van-button type="primary" class="demo-margin-right" bind:click="onClickAlert">
提示弹窗
</van-button>
<van-button
plain
type="primary"
bind:click="onClickAlert2"
>
<van-button type="primary" bind:click="onClickAlert2">
提示弹窗(无标题)
</van-button>
</demo-block>
<demo-block title="确认弹窗" padding>
<van-button
plain
type="primary"
bind:click="onClickConfirm"
>
<van-button type="primary" bind:click="onClickConfirm">
确认弹窗
</van-button>
</demo-block>
<demo-block title="异步关闭" padding>
<van-button
plain
type="primary"
bind:click="onClickAsyncClose"
>
<van-button type="primary" bind:click="onClickAsyncClose">
异步关闭
</van-button>
</demo-block>
<demo-block title="组件调用" padding>
<van-button
plain
type="danger"
class="demo-margin-right"
bind:click="showCustomDialog"
>
<van-button type="primary" class="demo-margin-right" bind:click="showCustomDialog">
组件调用
</van-button>
<van-dialog

View File

@ -1,5 +1,5 @@
.demo-image {
box-sizing: border-box;
width: 100%;
padding: 25px 20px 0;
box-sizing: border-box;
}

View File

@ -6,7 +6,7 @@
width: 320px;
overflow: hidden;
font-size: 16px;
border-radius: 4px;
border-radius: 16px;
.theme(background-color, '@white');
@media (max-width: 321px) {