feat: 官网代码全量更新 (2026-04-18)
这个提交包含在:
+44
-12
@@ -9,7 +9,6 @@
|
||||
<div class="logo-icon">H</div>
|
||||
<div class="logo-text">
|
||||
<h2>呼籁后台</h2>
|
||||
<span>hulai.com</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,19 +91,43 @@ function submissionLabel() {
|
||||
const menuOptions = computed(() => {
|
||||
return [
|
||||
{ label: menuLabel('数据概览'), key: '/admin' },
|
||||
{ label: menuLabel('产品线管理'), key: '/admin/products' },
|
||||
{ label: menuLabel('产品选择器'), key: '/admin/content/selector' },
|
||||
{ label: submissionLabel(), key: '/admin/submissions' },
|
||||
{ type: 'divider' },
|
||||
|
||||
// ── 产品线(对应前端导航「产品线」)────────────
|
||||
{
|
||||
label: menuLabel('产品线'), key: 'g-products',
|
||||
children: [
|
||||
{ label: menuLabel('产品线总览'), key: '/admin/products' },
|
||||
{ label: menuLabel('额吉的故乡 (夏·V9)'), key: '/admin/products/products' },
|
||||
{ label: menuLabel('游牧的森林 (秋·V3)'), key: '/admin/products/autumn-products' },
|
||||
{ label: menuLabel('嗨冰雪 (冬·V3)'), key: '/admin/products/winter-products' },
|
||||
{ label: menuLabel('小蒙马亲子游学营'), key: '/admin/products/products' },
|
||||
{ label: menuLabel('小蒙马冬令营'), key: '/admin/content/winter-camp' },
|
||||
{ label: menuLabel('选版工具'), key: '/admin/content/selector' },
|
||||
{ label: menuLabel('亲子研学课程'), key: '/admin/content/courses' },
|
||||
{ label: menuLabel('价格配置'), key: '/admin/content/pricing' },
|
||||
],
|
||||
},
|
||||
|
||||
// ── 目的地(对应前端导航「目的地」)─────────────
|
||||
{
|
||||
label: menuLabel('目的地'), key: 'g-destinations',
|
||||
children: [
|
||||
{ label: menuLabel('景点对比'), key: '/admin/content/destinations' },
|
||||
{ label: menuLabel('景点详情'), key: '/admin/content/destinations-detail' },
|
||||
{ label: menuLabel('首页目的地对比'), key: '/admin/content/destinations' },
|
||||
{ label: menuLabel('旅行日历'), key: '/admin/content/calendar' },
|
||||
{ label: menuLabel('出行指南'), key: '/admin/content/guides' },
|
||||
{ label: menuLabel('定制游怎么选 (文章)'), key: '/admin/content/guide-custom' },
|
||||
],
|
||||
},
|
||||
|
||||
// ── 旅行攻略(对应前端导航「旅行攻略」)──────────
|
||||
{ label: menuLabel('旅行攻略'), key: '/admin/blogs' },
|
||||
|
||||
// ── 客户评价(对应前端导航「客户评价」)──────────
|
||||
{
|
||||
label: menuLabel('客户口碑'), key: 'g-reviews',
|
||||
label: menuLabel('客户评价'), key: 'g-reviews',
|
||||
children: [
|
||||
{ label: menuLabel('客户评价'), key: '/admin/reviews' },
|
||||
{ label: menuLabel('小红书游记'), key: '/admin/content/xiaohongshu-wall' },
|
||||
@@ -113,26 +136,35 @@ const menuOptions = computed(() => {
|
||||
{ label: menuLabel('客户故事'), key: '/admin/stories' },
|
||||
],
|
||||
},
|
||||
|
||||
// ── 常见问答(对应前端导航「常见问答」)──────────
|
||||
{ label: menuLabel('常见问答'), key: '/admin/faqs' },
|
||||
|
||||
// ── 关于我们(对应前端导航「关于我们」)──────────
|
||||
{
|
||||
label: menuLabel('关于我们'), key: 'g-about',
|
||||
children: [
|
||||
{ label: menuLabel('关于呼籁'), key: '/admin/content/about' },
|
||||
{ label: menuLabel('呼籁旅行百科'), key: '/admin/content/brand-wiki' },
|
||||
{ label: menuLabel('呼籁旅行'), key: '/admin/content/brand-wiki' },
|
||||
{ label: menuLabel('呼籁文旅集团'), key: '/admin/content/company-wiki' },
|
||||
{ label: menuLabel('最新动态'), key: '/admin/articles' },
|
||||
{ label: menuLabel('品牌资讯'), key: '/admin/articles' },
|
||||
{ label: menuLabel('资质荣誉'), key: '/admin/content/qualifications' },
|
||||
{ label: menuLabel('合作伙伴'), key: '/admin/content/partners' },
|
||||
],
|
||||
},
|
||||
|
||||
// ── 联系我们(对应前端导航「联系我们」)──────────
|
||||
{ label: menuLabel('联系我们'), key: '/admin/content/contact' },
|
||||
{ label: menuLabel('博客文章'), key: '/admin/blogs' },
|
||||
{ label: submissionLabel(), key: '/admin/submissions' },
|
||||
|
||||
{ type: 'divider' },
|
||||
|
||||
// ── 系统设置(全站基础配置)───────────────────
|
||||
{
|
||||
label: menuLabel('系统设置'), key: 'g-settings',
|
||||
children: [
|
||||
{ label: menuLabel('导航菜单'), key: '/admin/navigation' },
|
||||
{ label: menuLabel('页面副标题'), key: '/admin/content/heroes' },
|
||||
{ label: menuLabel('栏目标题'), key: '/admin/content/section-titles' },
|
||||
{ label: menuLabel('SEO 配置'), key: '/admin/content/seo' },
|
||||
{ label: menuLabel('品牌信息'), key: '/admin/content/brand' },
|
||||
{ label: menuLabel('图片配置'), key: '/admin/content/images' },
|
||||
@@ -168,11 +200,11 @@ const activeKey = computed(() => {
|
||||
const expandedKeys = ref([])
|
||||
|
||||
const groupMappings = {
|
||||
'g-products': [],
|
||||
'g-destinations': ['destinations', 'calendar', 'guides'],
|
||||
'g-products': ['products', 'pricing', 'courses', 'winter-camp'],
|
||||
'g-destinations': ['destinations', 'calendar', 'guides', 'guide-custom'],
|
||||
'g-reviews': ['reviews', 'xiaohongshu', 'youji', 'gallery', 'stories'],
|
||||
'g-about': ['about', 'articles', 'qualifications', 'partners', 'brand-wiki', 'company-wiki'],
|
||||
'g-settings': ['navigation', 'seo', 'brand', 'images', 'versions', 'customize'],
|
||||
'g-settings': ['navigation', 'seo', 'brand', 'images', 'versions', 'customize', 'heroes', 'section-titles'],
|
||||
}
|
||||
|
||||
watchEffect(() => {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<slot />
|
||||
</main>
|
||||
<LayoutAppFooter />
|
||||
<CommonFloatingContact />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户