第一提交
This commit is contained in:
32
components/Empty.vue
Normal file
32
components/Empty.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<!-- 空 -->
|
||||
<view class="img-box padding-lg margin-lg text-center">
|
||||
<view class="bg-img margin radius flex align-center" :style="'background-image: url('+mainURL+'kong.png)'">
|
||||
|
||||
</view>
|
||||
<text>这里没有相关记录哦~</text>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'Empty',
|
||||
data() {
|
||||
return {
|
||||
mainURL: this.global.mainURL,
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
/* 空 */
|
||||
.img-box {
|
||||
color: rgb(148, 147, 147);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.bg-img{
|
||||
min-height: 450rpx;
|
||||
min-width: 200upx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user