first
This commit is contained in:
29
pageInvoicing/components/empty.vue
Normal file
29
pageInvoicing/components/empty.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<view class="u-flex u-flex-col u-row-center u-col-center">
|
||||
<image :src="img" mode="" class="img"></image>
|
||||
<view class="tips">{{tips}}</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props= defineProps({
|
||||
tips:{
|
||||
type:String,
|
||||
default:'暂无数据'
|
||||
},
|
||||
img:{
|
||||
type:String,
|
||||
default:'/pageInvoicing/static/images/icon-empty.svg'
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.img{
|
||||
width: 326rpx;
|
||||
height: 336rpx;
|
||||
}
|
||||
.tips{
|
||||
margin-top: 74rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user