feat: init wechat

This commit is contained in:
yanghao05
2025-04-16 20:58:26 +08:00
parent 92a070cc81
commit 85301c8994
22 changed files with 841 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
<script setup>
import { ref } from 'vue';
const userInfo = ref({
name: '用户名',
avatar: '',
// Add more user info as needed
})
</script>
<template>
<div class="user-profile p-3">
<Card>
<template #header>
<div class="flex align-items-center gap-3">
<Avatar :image="userInfo.avatar" size="large" />
<h3>{{ userInfo.name }}</h3>
</div>
</template>
<template #content>
<div class="grid">
<Button label="我的收藏" class="p-button-text" />
<Button label="我的点赞" class="p-button-text" />
<Button label="订单列表" class="p-button-text" />
</div>
</template>
</Card>
</div>
</template>