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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<template>
<div>
<div class="success-img">
<img style="width: 160px;height: 160px" src="./../../assets/img/empty-image-default.png"/>
<div class="tips">
<slot name="content">暂无数据...</slot>
</div>
</div>
<!--<div class="backHome">
<slot name="btn">
<mt-button type="primary" @click="backHome">返回首页</mt-button>
</slot>
</div>-->
</div>
</template>
<script>
import {callMobile} from "../../utils/common";
export default {
name: "noData",
methods: {
backHome(){
callMobile("goIndex", {});
},
}
}
</script>
<style scoped>
.tips{
color: #747971;
font-size: 14px;
padding: 10px 30px 20px;
margin: 0 auto;
}
.success-img{
text-align: center;
padding-top: 100px;
}
.backHome {
position: fixed;
z-index: 2;
left: calc(50% - 155px);
}
.backHome .mint-button {
width: 311px;
height: 44px;
background: linear-gradient(242deg, #dff9b9 -27%, #1bd09f 85%);
border-radius: 22px;
box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}
</style>