# 封装无数据默认组件
<template>
<!-- 无内容默认 -->
<view class="nothing animated fadeInLeft">
<image src="../../static/common/nothing.png" mode="widthFix"></image>
</view>
</template>
<script>
</script>
<style lang="less" scoped>
.nothing {
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
image {
width: 60%;
}
}
</style>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26