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

77 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="container">
<view class="zan-panel">
<view class="zan-cell">
<view class="zan-cell__bd">
<view class="zan-pull-right">zan-pull-right: 往右靠</view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view class="zan-text-deleted">zan-text-deleted被删除的效果</view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view>
<view class="zan-font-12">zan-font-12字号12</view>
<view class="zan-font-12 zan-font-bold">zan-font-bold再来个加粗</view>
</view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view>
<view class="zan-font-16">zan-font-16字号16</view>
<view class="zan-font-16 zan-font-bold">zan-font-bold再来个加粗</view>
</view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view class="">
<view>字体颜色</view>
<view class="zan-c-red">zan-c-red: 红色</view>
<view class="zan-c-gray">zan-c-gray: 灰色</view>
<view class="zan-c-gray-dark">zan-c-gray-dark: 再灰一点点</view>
<view class="zan-c-gray-darker">zan-c-gray-darker: 更深的灰色</view>
<view class="zan-c-black">zan-c-black: 黑色</view>
<view class="zan-c-blue">zan-c-blue: 蓝色</view>
<view class="zan-c-green">zan-c-green: 绿色</view>
</view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view>zan-arrow箭头</view>
<view class="zan-arrow"></view>
</view>
</view>
<view class="zan-cell">
<view class="zan-cell__bd">
<view class="zan-ellipsis" style="width: 300px;">
zan-ellipsis单行点点点
->我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符
</view>
</view>
</view>
<view class="zan-cell zan-cell--last-child">
<view class="zan-cell__bd">
<view class="zan-ellipsis--l2">
zan-ellipsis--l2单行点点点
->我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符
</view>
</view>
</view>
</view>
</view>