feat: 官网代码全量更新

覆盖最新版本代码,包含:
- 新增品牌百科、公司百科页面及CMS管理
- 新增微信引导组件(WechatCTA)
- 新增品牌/公司图片资源
- 全站组件/页面/数据/样式更新

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
这个提交包含在:
wx
2026-04-16 13:21:11 +08:00
共同撰写人 Claude Opus 4.6
父节点 bd0518eda6
当前提交 ac90205395
共修改 113 个文件,包含 4463 行新增和 405 行删除
+35 -10
查看文件
@@ -78,8 +78,10 @@
<!-- 联系咨询 -->
<div class="sidebar-card sidebar-card--cta">
<h3 class="sidebar-card__title">免费获取定制方案</h3>
<p class="sidebar-card__desc">看完攻略有疑问?联系呼籁旅行定制师,一对一解答。</p>
<CommonInternalLink to="/contact" text="立即咨询" />
<p class="sidebar-card__desc">看完攻略有疑问?扫码添加定制师微信,一对一解答。</p>
<img src="/images/contact/qrcode-wechat.jpg" alt="定制师微信二维码" class="sidebar-qrcode" />
<span class="sidebar-qrcode-label">扫码添加定制师微信</span>
<CommonInternalLink to="/contact" text="其他联系方式" />
</div>
<!-- 全部文章 -->
@@ -142,17 +144,17 @@ if (!article.value) {
// SEO
useHead({
title: article.value?.seo?.title || article.value?.title,
title: article.value?.seoTitle || article.value?.title,
meta: [
{ name: 'description', content: article.value?.seo?.description || article.value?.summary },
{ name: 'keywords', content: article.value?.seo?.keywords || (article.value?.tags || []).join(',') },
{ name: 'description', content: article.value?.seoDescription || article.value?.summary },
{ name: 'keywords', content: article.value?.seoKeywords || (article.value?.tags || []).join(',') },
{ name: 'author', content: article.value?.author },
{ name: 'article:published_time', content: (article.value?.date || '') + 'T00:00:00+08:00' },
{ name: 'article:modified_time', content: (article.value?.date || '') + 'T00:00:00+08:00' },
{ name: 'geo.region', content: 'CN-NM' },
{ name: 'geo.placename', content: '呼伦贝尔' },
{ property: 'og:title', content: article.value?.seo?.title || article.value?.title },
{ property: 'og:description', content: article.value?.seo?.description || article.value?.summary },
{ property: 'og:title', content: article.value?.seoTitle || article.value?.title },
{ property: 'og:description', content: article.value?.seoDescription || article.value?.summary },
{ property: 'og:type', content: 'article' },
{ property: 'og:url', content: `https://1814.love/blog/${article.value?.id}` },
{ property: 'og:site_name', content: '呼籁旅行' },
@@ -277,13 +279,12 @@ function formatDate(dateStr) {
margin-bottom: @space-xl;
border-radius: @border-radius-lg;
overflow: hidden;
aspect-ratio: 16 / 7;
background: @color-primary-bg;
&__img {
width: 100%;
height: 100%;
object-fit: cover;
height: auto;
display: block;
}
}
@@ -347,6 +348,14 @@ function formatDate(dateStr) {
font-weight: @font-weight-bold;
}
:deep(img) {
max-width: 100%;
height: auto;
border-radius: @border-radius-lg;
display: block;
margin: 0 auto;
}
:deep(br) {
display: block;
content: '';
@@ -518,6 +527,22 @@ function formatDate(dateStr) {
}
}
.sidebar-qrcode {
display: block;
width: 120px;
height: 120px;
border-radius: @border-radius-sm;
object-fit: contain;
margin-bottom: @space-xs;
}
.sidebar-qrcode-label {
display: block;
font-size: @font-size-xs;
color: @color-text-muted;
margin-bottom: @space-md;
}
.sidebar-articles {
list-style: none;
margin: 0;
+6 -10
查看文件
@@ -37,7 +37,7 @@
<article
v-for="article in filteredArticles"
:key="article.id"
class="blog-card reveal"
class="blog-card"
>
<NuxtLink :to="`/blog/${article.id}`" class="blog-card__link">
<div class="blog-card__cover">
@@ -72,15 +72,11 @@
</div>
<!-- CTA -->
<div class="blog-cta">
<h2>看完攻略,准备出发了吗?</h2>
<p>呼籁旅行为每个家庭提供专属定制方案,告诉我们你的需求,我们帮你把行程安排得妥妥的。</p>
<div class="blog-cta-links">
<CommonInternalLink to="/products" text="查看定制游产品" />
<CommonInternalLink to="/contact" text="咨询定制师" />
<CommonInternalLink to="/faq" text="常见问答" />
</div>
</div>
<CommonWechatCTA
title="看完攻略,准备出发了吗?"
description="扫码添加定制师微信,根据你的家庭情况和假期安排,推荐合适的行程方案。"
:links="[{ to: '/products', text: '查看定制游产品' }, { to: '/faq', text: '常见问答' }]"
/>
</div>
</section>
</div>