[improvement] 增加无边框的panel样式

This commit is contained in:
niunai 2017-12-28 16:26:01 +08:00
parent e8d37a6f78
commit 0923500d79
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;
}
}