feat:重构模块架构

This commit is contained in:
2025-10-15 22:41:34 +08:00
parent 4b04958a29
commit 796d6ab657
16 changed files with 983 additions and 645 deletions

View File

@@ -8,7 +8,7 @@
<div class="skills-grid">
<div
v-for="(skill, index) in skills"
v-for="(skill, index) in profileStore.skills"
:key="index"
class="skill-card animate-item"
:data-delay="index * 150"
@@ -36,13 +36,11 @@
<script setup>
import { defineProps, onMounted } from 'vue'
import { useProfileStore } from '@/store/profile.ts'
const profileStore = useProfileStore()
// 接收技能数据和sectionId
const props = defineProps({
skills: {
type: Array,
required: true
},
sectionId: {
type: String,
required: true