Yao e4dfc9e48c
[new feature] Layout: 新增 layout 组件 (#43)
* change example dir

* Update README.md

更新预览教程

* 新增 layout 组件

* exclude example

* change .wxss -> .pcss

* 脚本目录更名为 scripts
2017-10-31 17:41:31 +08:00

15 lines
318 B
Plaintext

<import src="/dist/toast/index.wxml" />
<view class="container">
<view class="doc-title">TOAST</view>
<view class="zan-btns" style="margin-top: 30vh;">
<button class="zan-btn" bindtap="showToast">
显示toast
</button>
</view>
</view>
<template is="zan-toast" data="{{ zanToast }}"></template>