Yi.Vue3.x.Vant/src/components/AppUserIcon.vue

(完整代码) 579B

<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'
const props= 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>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。