mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* 封装 doc-page, 方便写文档 * add pop manager * popup upgrade * 更新 README * add empty line * delete empty css * dialog init * dialog * dialog upgrade * 修复 helper 里的样式问题 * dialog 文档 * 修复 button 奇怪的边框问题 * 缩进处理
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
<doc-page title="DIALOG">
|
|
<view class="zan-btns" style="margin-top: 30vh;">
|
|
<zan-button bindtap="toggleBaseDialog">基础 Dialog</zan-button>
|
|
<zan-button bindtap="toggleWithoutTitleDialog">Dialog - 无标题</zan-button>
|
|
<zan-button bindtap="toggleButtonDialog">Dialog - 自定义显示按钮</zan-button>
|
|
<zan-button bindtap="toggleVerticalDialog">Dialog - 按钮纵向排布</zan-button>
|
|
</view>
|
|
|
|
<zan-dialog id="zan-base-dialog"></zan-dialog>
|
|
<zan-dialog id="zan-no-title-dialog"></zan-dialog>
|
|
<zan-dialog id="zan-button-dialog"></zan-dialog>
|
|
<zan-dialog id="zan-vertical-dialog"></zan-dialog>
|
|
</doc-page>
|
|
|
|
<!-- <import src="/dist/dialog/index.wxml" />
|
|
|
|
<view class="container">
|
|
|
|
<view class="doc-title zan-hairline--bottom">DIALOG</view>
|
|
|
|
<view class="zan-btns" style="margin-top: 30vh;">
|
|
<button class="zan-btn" bindtap="toggleBaseDialog">
|
|
基础 Dialog
|
|
</button>
|
|
<button class="zan-btn" bindtap="toggleWithoutTitleDialog">
|
|
Dialog - 无标题
|
|
</button>
|
|
<button class="zan-btn" bindtap="toggleButtonDialog">
|
|
Dialog - 自定义显示按钮
|
|
</button>
|
|
<button class="zan-btn" bindtap="toggleVerticalDialog">
|
|
Dialog - 按钮纵向排布
|
|
</button>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<template is="zan-dialog" data="{{ zanDialog }}"></template> -->
|