文件种子数据

This commit is contained in:
陈淳
2022-10-13 14:45:09 +08:00
parent ea4ddb68f3
commit 55ad046e96
14 changed files with 79 additions and 13 deletions

View File

@@ -0,0 +1,34 @@
<template>
<van-image
round
:width="width"
:height="height"
:src="url+(src??'0')"
/>
</template>
<script setup lang="ts">
import { type } from 'os';
import { ref } from 'vue'
defineProps<{ src: {type:string,default:'null',required:false},
width:{type:string,default:'3rem',required:false},
height:{type:string,default:'3rem',required:false},
}>()
const url = `${import.meta.env.VITE_APP_BASE_API}/file/`;
</script>
<style scoped>
.col-body
{
text-align: center;
}
.col-body .van-icon
{
margin-bottom: 0.6rem;
}
p{
font-size: large;
font-weight:bold;
}
</style>