qa-regulatory-gwj-app/components/empty/empty.vue

34 lines
623 B
Vue
Raw Normal View History

2023-11-07 10:08:37 +08:00
<template>
<view class="empty">
2024-08-27 15:07:23 +08:00
<u--image :showLoading="true" src="/static/svg/empty.svg" width="750rpx" height="500rpx"></u--image>
2023-11-07 10:08:37 +08:00
<view class="empty-text">{{ message }}</view>
</view>
</template>
<script>
export default {
props: {
message: {
type: String,
default: '暂无数据'
},
},
}
</script>
<style lang="scss" scoped>
.empty {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
.empty-text{
2024-08-27 15:07:23 +08:00
font-size: 30rpx;
2023-11-07 10:08:37 +08:00
color: $uni-text-color-placeholder;
position: absolute;
2024-08-27 15:07:23 +08:00
top: 400rpx;
2023-11-07 10:08:37 +08:00
}
}
</style>