Huanyuyuehui/components/emptyPage.vue

38 lines
553 B
Vue
Raw Normal View History

2024-03-21 17:52:58 +08:00
<template>
<view class="empty-box">
2024-04-23 14:55:27 +08:00
<image src="https://store.tropjoin.com/images/empty-box.png"></image>
2024-03-21 17:52:58 +08:00
<view class="txt">{{title}}</view>
</view>
</template>
<script>
2024-03-21 18:05:36 +08:00
2024-03-21 17:52:58 +08:00
export default{
props: {
title: {
type: String,
default: '暂无记录',
},
},
}
</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>