code init

This commit is contained in:
chenxiaoxi
2021-05-25 18:06:45 +08:00
parent 02698d6dab
commit f54a8d4fa1
1367 changed files with 540755 additions and 21713 deletions
+62
View File
@@ -0,0 +1,62 @@
<!-- 暂无数据 -->
<template>
<div class="hasNoData" :class="pClass">
<div class="no-data-icon iconfont">
&#xe6f0;
<span>{{ tips }}</span>
</div>
</div>
</template>
<script>
export default {
name: 'index',
data () {
return {}
},
methods: {},
components: {},
props: {
pClass: String,
tips: {
type: String,
default: '暂无数据'
}
},
computed: {},
watch: {},
mounted () {}
}
</script>
<style lang="less">
.hasNoData {
display: flex;
display: -ms-flex;
justify-content: center;
align-items: center;
background: rgba(100, 100, 100, .05);
.no-data-icon {
min-width: 80px;
height: 80px;
display: flex;
display: -ms-flex;
justify-content: center;
align-items: center;
border-radius: 50%;
font-size: 50px;
flex-flow: column;
color: #AAA;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
span {
font-size: 14px;
font-weight: normal;
margin-top: 5px;
color: #AAA;
}
}
}
</style>