You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
662 B
42 lines
662 B
<template>
|
|
<view class="empty-box">
|
|
<image :src="imgHost + '/statics/images/empty-box.png'"></image>
|
|
<view class="txt">{{title || $t(`暂无记录`)}}</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {HTTP_REQUEST_URL} from '@/config/app';
|
|
export default{
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
data(){
|
|
return{
|
|
imgHost:HTTP_REQUEST_URL
|
|
}
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.empty-box{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 200rpx;
|
|
image{
|
|
width: 414rpx;
|
|
height: 240rpx;
|
|
}
|
|
.txt{
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
}
|
|
</style>
|
|
|