Yao 7467a30020
[bug fix] Tab: 修复不滚动情况下,文字过长显示问题 (#81)
* format code

* 更改传参方式 && 增加无滚动时文字过长处理

* 增加 helper 文档

* update helper doc

* update helper doc
2017-12-16 20:57:25 +08:00

23 lines
516 B
Plaintext

<import src="/dist/tab/index.wxml" />
<view class="container">
<view class="doc-title">TAB</view>
<view style="margin: 20px 0">
<template
is="zan-tab"
data="{{ ...tab1, componentId: 'tab1' }}"></template>
</view>
<view style="margin: 20px 0">
<template
is="zan-tab"
data="{{ ...tab2, componentId: 'tab2' }}"></template>
</view>
<view style="margin: 20px 0">
<template
is="zan-tab"
data="{{ ...tab3, componentId: 'tab3' }}"></template>
</view>
</view>