init
This commit is contained in:
31
project-wl-siji-uniapp-vue3/components/EmptyPage/index.vue
Normal file
31
project-wl-siji-uniapp-vue3/components/EmptyPage/index.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<view class="emptyBox">
|
||||
<image src="../../static/sj_nodata.png" class="emptyImage" mode=""></image>
|
||||
<view><text>{{emptyInfo}}</text></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
// 获取父组件值、方法
|
||||
const props = defineProps({
|
||||
emptyInfo:{
|
||||
type:String,
|
||||
default: '',
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
@import url('@/styles/theme.scss');
|
||||
.emptyBox{
|
||||
padding: 288rpx 0 80rpx;
|
||||
text-align: center;
|
||||
color: var(--neutral-color-font);
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
.emptyImage {
|
||||
width: 400rpx !important;
|
||||
height: 240rpx !important;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user