2016-12-22 15:00:10 +08:00

21 lines
503 B
Plaintext

<view class="container">
<view class="zui-btns">
<button
class="zui-btn zui-btn--primary zui-btn--big"
bindtap="toggleDialog"
style="margin-top: 40vh;"
>
显示弹层
</button>
</view>
<view class="zui-dialog {{ showDialog ? 'zui-dialog--show' : '' }}">
<view class="zui-dialog__mask" bindtap="toggleDialog" />
<view class="zui-dialog__container">
<view style="padding: 100px 0; text-align: center;">内容</view>
</view>
</view>
</view>