This commit is contained in:
2025-06-16 10:09:19 +08:00
commit 7a066b3026
428 changed files with 50385 additions and 0 deletions

View File

@ -0,0 +1,54 @@
<template>
<view>
<view class="flex align-center justify-center">
<view class="text-center">
<image :src="src" style="width: 300rpx;height: 248rpx;"></image>
<view class="font32 text-center">{{title}}</view>
<view class="mt-2 font28 text-muted text-center" v-if="subtitle">{{subtitle}}</view>
</view>
</view>
</view>
</template>
<script>
export default {
name:"i-nodata",
props:{
src:{
type:String,
default(){
return '/static/zanwu.png'
}
},
title:{
type:String,
default(){
return '空空如也'
}
},
subtitle:{
type:String,
default(){
return null
}
},
isBtn:{
type:Boolean,
default(){
return true
}
}
},
methods:{
toShow(){
this.$emit('click')
},
}
}
</script>
<style>
</style>