hulai-website/components/products/VersionHighlights.vue
刘涛 a25f3a77ce sync: 同步最新呼籁官网代码到仓库
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 21:57:35 +08:00

59 行
1.3 KiB
Vue

<template>
<section class="section section--gray">
<div class="container">
<CommonSectionTitle title="更多V9亮点" subtitle="独家资源 · 自营服务 · 全程无忧" />
<div class="highlights-list">
<div v-for="item in highlights" :key="item.text" class="highlight-item">
<span class="highlight-label">{{ item.label }}</span>
<span class="highlight-text">{{ item.text }}</span>
</div>
</div>
</div>
</section>
</template>
<script setup>
defineProps({
highlights: { type: Array, required: true }
})
</script>
<style lang="less" scoped>
.highlights-list {
max-width: 800px;
margin: 0 auto;
display: flex;
flex-direction: column;
}
.highlight-item {
display: flex;
align-items: baseline;
gap: @space-md;
padding: @space-md 0;
border-bottom: 1px solid @color-border;
&:last-child {
border-bottom: none;
}
}
.highlight-label {
flex-shrink: 0;
font-size: @font-size-xs;
font-weight: @font-weight-bold;
color: @color-primary;
background: @color-primary-bg;
padding: @space-xs @space-sm;
border-radius: @border-radius-sm;
min-width: 42px;
text-align: center;
}
.highlight-text {
font-size: @font-size-base;
color: @color-text-secondary;
line-height: @line-height-base;
}
</style>