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

21 lines
592 B
Plaintext

<import src="/dist/select/index.wxml" />
<view class="container">
<view class="doc-title">SELECT</view>
<view class="zan-panel-title">基础用法</view>
<view class="zan-panel">
<view>
<template is="zan-select" data="{{ items, checkedValue: checked.base, componentId: 'base' }}" ></template>
</view>
</view>
<view class="zan-panel-title">自定义高亮颜色</view>
<view class="zan-panel">
<view>
<template is="zan-select" data="{{ items, checkedValue: checked.color, activeColor, componentId: 'color' }}" ></template>
</view>
</view>
</view>