Empty.vue
460 字节
<template>
<view class="flexC" style="margin: 0 auto; flex-direction: column">
<image src="/static/images/empty.png" mode="scaleToFill" />
<view class="flexC">{{ props.text }}</view>
</view>
</template>
<script setup lang="ts">
const props = defineProps({
text: String
})
</script>
<style scoped>
image {
width: 320rpx;
height: 320rpx;
margin-bottom: 32rpx;
}
.flexC {
color: #323233;
font-size: 28rpx;
font-weight: 700;
}
</style>