4 changed files with 37 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||||
|
Component({ |
||||
|
properties: { |
||||
|
isShow: { |
||||
|
type: Boolean |
||||
|
} |
||||
|
}, |
||||
|
data: {}, |
||||
|
methods: {} |
||||
|
}); |
@ -0,0 +1,4 @@ |
|||||
|
{ |
||||
|
"component": true, |
||||
|
"usingComponents": {} |
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
<!--components/nodata/nodata.wxml--> |
||||
|
<view class="box" wx:if="{{isShow}}"> |
||||
|
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/07/rBAB71646bOAXiYnAAB-svV4uWY962.png" class="image"/> |
||||
|
<text class="text">暂无数据~</text> |
||||
|
</view> |
@ -0,0 +1,19 @@ |
|||||
|
/* components/nodata/nodata.wxss */ |
||||
|
.box{ |
||||
|
width: 100%; |
||||
|
height: auto; |
||||
|
box-sizing: border-box; |
||||
|
text-align: center; |
||||
|
margin-top: 100rpx; |
||||
|
} |
||||
|
.image{ |
||||
|
width: 450rpx; |
||||
|
height: 240rpx; |
||||
|
} |
||||
|
.text{ |
||||
|
width: 100%; |
||||
|
height: auto; |
||||
|
font-size: 28rpx; |
||||
|
color: #BCBCBC; |
||||
|
display: block; |
||||
|
} |
Loading…
Reference in new issue