更多
This commit is contained in:
@@ -118,4 +118,6 @@
|
||||
.height-190{height:190rpx;}
|
||||
.height-240{height:240rpx;}
|
||||
.tabmenu{line-height:80rpx;}
|
||||
.tabmenu.active::before{display:block;position:absolute;bottom:0;left:50%;width:30rpx;height:4rpx;margin-left:-15rpx;content:"";background-color:#36afa2;}
|
||||
.tabmenu.active::before{display:block;position:absolute;bottom:0;left:50%;width:30rpx;height:4rpx;margin-left:-15rpx;content:"";background-color:#36afa2;}
|
||||
|
||||
.safe-pb{padding-bottom:calc(constant(safe-area-inset-bottom) - 15px );padding-bottom:calc(env(safe-area-inset-bottom) - 15px);}
|
||||
@@ -18,7 +18,11 @@ Component({
|
||||
noDataMsg: {
|
||||
type:String,
|
||||
value: ''
|
||||
}
|
||||
},
|
||||
isMiddle: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<text>我们是有底线的</text>
|
||||
</view>
|
||||
|
||||
<view class="text-center pt100 pb100" hidden="{{!isNoData}}">
|
||||
<view class="text-center {{isMiddle?'absolute box-center-middle':'pt100 pb100'}}" hidden="{{!isNoData}}">
|
||||
<view class="inline-block noData"></view>
|
||||
<view class="pt30 font-28 color-999">{{noDataMsg||'空空如也,这里什么也没有'}}</view>
|
||||
</view>
|
||||
@@ -1,8 +1,8 @@
|
||||
@import "../../commons/css/common.wxss";
|
||||
|
||||
.noData {
|
||||
width: 220rpx;
|
||||
height: 142rpx;
|
||||
width:264rpx;
|
||||
height:165rpx;
|
||||
background: url(https://qs.haodian.cn/wechat_app/liche/common/none.png?v=191231) no-repeat;
|
||||
background-size:100% auto;
|
||||
background-position: top center;
|
||||
|
||||
Reference in New Issue
Block a user