- 后台全面引入 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>
38 行
1.2 KiB
Vue
38 行
1.2 KiB
Vue
<template>
|
|
<section class="section">
|
|
<div class="container">
|
|
<CommonSectionTitle title="企业文化" />
|
|
<p v-if="culture.core" class="culture-core">{{ culture.core }}</p>
|
|
<div class="values-grid">
|
|
<div v-for="v in culture.values" :key="v.name" class="value-item">
|
|
<h3 class="value-name">{{ v.name }}</h3>
|
|
<p class="value-expr">{{ v.expression }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps({ culture: { type: Object, required: true } })
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.culture-core {
|
|
text-align: center; font-size: @font-size-xl; font-weight: 600; color: @color-primary;
|
|
letter-spacing: 0.1em; margin-bottom: @space-2xl;
|
|
}
|
|
.culture-core {
|
|
text-align: center; font-size: @font-size-xl; font-weight: 600; color: @color-primary;
|
|
letter-spacing: 0.1em; margin-bottom: @space-2xl;
|
|
}
|
|
.values-grid {
|
|
display: grid; grid-template-columns: 1fr; gap: @space-lg;
|
|
.respond-md({ grid-template-columns: repeat(3, 1fr); });
|
|
}
|
|
.value-item { text-align: center; padding: @space-xl @space-lg; }
|
|
.value-name { font-size: @font-size-xl; color: @color-primary; margin-bottom: @space-sm; }
|
|
.value-expr { font-size: @font-size-base; color: @color-text-secondary; }
|
|
|
|
</style>
|