Files
test-repo/docs/.vitepress/theme/components/StepBar.vue
T
sanbuphy 1d25eb9b9b style(docs): improve typography and layout consistency
- Standardize font sizes and line heights across docs
- Add ChapterIntroduction component for consistent chapter headers
- Fix markdown formatting and whitespace issues
- Improve code block and table styling
- Add font size and line height controls to layout
2026-01-13 14:42:34 +08:00

29 lines
668 B
Vue

<template>
<el-steps :active="active" align-center>
<el-step
v-for="(item, index) in items"
:key="index"
:title="item.title"
:description="item.description"
/>
</el-steps>
</template>
<script setup>
defineProps({
active: {
type: Number,
default: 0
},
items: {
type: Array,
default: () => [
{ title: '困境与机会', description: '普通人的编程新可能' },
{ title: '能力初探', description: '60秒极速开发体验' },
{ title: '原生实战', description: '打造AI原生贪吃蛇' },
{ title: '拓展创造', description: '举一反三做游戏' }
]
}
})
</script>