- 后台全面引入 Naive UI 组件库,统一 UI 规范 - 前台 usePublicApi 切换到 API 调用(GET /api/content/[key]) - 前后台数据源统一(site_content 表) - 产品线统一管理(tour/camp/course 三套编辑器) - 产品数据归一化(itinerary/faq/pricing 格式统一) - 表单提交 API 改写入 submissions 表 - 新增 submissions 标记已读 API - site-content PUT 支持 upsert - 修复前台 bug(stories 路由冲突、占位符警告、selector breadcrumb) - 消除 PageHero 类型警告(useSEO reactive 修复) - 25 个前台页面全部 HTTP 200,展示效果不变 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
83 行
1.8 KiB
Vue
83 行
1.8 KiB
Vue
<template>
|
|
<section class="section">
|
|
<div class="container">
|
|
<CommonSectionTitle title="9次迭代背后的产品哲学" subtitle="不是做加法,而是做取舍" />
|
|
<div class="philosophy-wrapper">
|
|
<div class="philosophy-list">
|
|
<div v-for="item in philosophy" :key="item.label" class="philosophy-item">
|
|
<h4 class="philosophy-label">{{ item.label }}</h4>
|
|
<p class="philosophy-text">{{ item.text }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="quote-block">
|
|
<p class="quote-text">"{{ quote.text }}"</p>
|
|
<span class="quote-author">—— {{ quote.author }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps({
|
|
philosophy: { type: Array, required: true },
|
|
quote: { type: Object, required: true }
|
|
})
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.philosophy-wrapper {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.philosophy-list {
|
|
margin-bottom: @space-2xl;
|
|
}
|
|
|
|
.philosophy-item {
|
|
padding: @space-lg 0;
|
|
border-bottom: 1px solid @color-border;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
.philosophy-label {
|
|
font-size: @font-size-base;
|
|
font-weight: @font-weight-bold;
|
|
color: @color-text-primary;
|
|
margin: 0 0 @space-xs;
|
|
}
|
|
|
|
.philosophy-text {
|
|
font-size: @font-size-sm;
|
|
color: @color-text-secondary;
|
|
line-height: @line-height-base;
|
|
margin: 0;
|
|
}
|
|
|
|
.quote-block {
|
|
text-align: center;
|
|
padding: @space-2xl;
|
|
background: @color-primary;
|
|
border-radius: @border-radius-lg;
|
|
color: #fff;
|
|
}
|
|
|
|
.quote-text {
|
|
font-size: @font-size-md;
|
|
line-height: @line-height-loose;
|
|
margin: 0 0 @space-lg;
|
|
color: #fff;
|
|
font-weight: @font-weight-medium;
|
|
}
|
|
|
|
.quote-author {
|
|
font-size: @font-size-sm;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
</style>
|