mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* change example dir * Update README.md 更新预览教程 * 新增 layout 组件 * exclude example * change .wxss -> .pcss * 脚本目录更名为 scripts
30 lines
735 B
Plaintext
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> |