@@ -12,6 +12,10 @@ Component({
type: String,
value: "150rpx"
},
+ sonMarTop: {
+ type: String,
+ value: "20"
+ },
icon: {
value: 'icon-zanwushuju'
@@ -3,7 +3,7 @@
text-align: center;
color: #BBBBBB;
- .iconfont {
+ .i-1597 {
font-size: 150rpx;
}
@@ -1,4 +1,4 @@
<view class="empty" style="margin-top: {{marTop}};">
- <view class="iconfont {{icon}}"></view>
- <view style="margin-top: 20rpx;">{{text}}</view>
+ <view class="iconfont {{icon}} i-1597"></view>
+ <view style="margin-top: {{sonMarTop}}rpx;">{{text}}</view>
</view>