Merge pull request #92 from youzan/update-panel

[improvement] 增加无边框的panel样式
This commit is contained in:
wny 2017-12-28 16:30:13 +08:00 committed by GitHub
commit dff2430383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,10 @@
<view style="padding: 15px;">内容</view>
</view>
<view class="zan-panel zan-panel--without-border">
<view style="padding: 15px;">无边框的panel</view>
</view>
<view class="zan-panel">
<view style="padding: 15px;">内容</view>
</view>

View File

@ -24,3 +24,9 @@
.zan-panel--without-margin-top {
margin-top: 0;
}
.zan-panel--without-border {
&::after {
border: 0 none;
}
}