This commit is contained in:
老叶
2021-07-19 17:45:05 +08:00
parent d459342db8
commit 08ad0859f5
4 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -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);}
+5 -1
View File
@@ -18,7 +18,11 @@ Component({
noDataMsg: {
type:String,
value: ''
}
},
isMiddle: {
type: Boolean,
value: false
},
},
/**
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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;