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

30 lines
735 B
Plaintext

<import src="/dist/noticebar/index.wxml" />
<view class="container">
<view class="doc-title">NOTICEBAR</view>
<view class="zan-panel-title">滚动通告栏</view>
<view class="zan-panel">
<template
is="zan-noticebar"
data="{{ ...movable, componentId: 'movable' }}"
></template>
</view>
<view class="zan-panel-title">静止通告栏1</view>
<view class="zan-panel">
<template
is="zan-noticebar"
data="{{ ...static1, componentId: 'static1' }}"
></template>
</view>
<view class="zan-panel-title">静止通告栏2</view>
<view class="zan-panel">
<template
is="zan-noticebar"
data="{{ ...static2, componentId: 'static2' }}"
></template>
</view>
</view>