2018-07-30 13:50:31 +08:00

35 lines
822 B
Plaintext

<import src="/dist/toast/index.wxml" />
<view class="container">
<van-button bind:buttonclick="showToast">
显示toast
</van-button>
<van-button bind:buttonclick="showIconToast">
显示 Icon 图标的toast
</van-button>
<van-button bind:buttonclick="showImageToast">
自定义图片作为图标的toast
</van-button>
<van-button bind:buttonclick="showLoadingToast">
显示 Loading toast
</van-button>
<van-button bind:buttonclick="showOnlyIcon">
只显示图标的toast
</van-button>
<van-button bind:buttonclick="showEverToast">
不消失的的toast
</van-button>
<van-button bind:buttonclick="showLoading">
显示 Loading
</van-button>
</view>
<!-- <template is="van-toast" data="{{ zanToast }}"></template> -->
<van-toast id="van-toast-test"></van-toast>