|
@@ -2,43 +2,79 @@ const routes = [
|
|
|
{
|
|
|
path: "/",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
- children: [{ path: "", component: () => import("pages/IndexPage.vue") }],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/IndexPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Home" },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "/guideintro",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
children: [
|
|
|
- { path: "", component: () => import("pages/GuideIntroPage.vue") },
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/GuideIntroPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Guidebook" },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
path: "/blog",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
- children: [{ path: "", component: () => import("pages/BlogPage.vue") }],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/BlogPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Blog" },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "/product",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
children: [
|
|
|
- { path: "", component: () => import("pages/TravelShopPage.vue") },
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/TravelShopPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Shop" },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
path: "/destination",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
children: [
|
|
|
- { path: "", component: () => import("pages/DestinationPage.vue") },
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/DestinationPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Destination" },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
path: "/auth/login",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
- children: [{ path: "", component: () => import("pages/LoginPage.vue") }],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/LoginPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Login" },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "/auth/register",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
- children: [{ path: "", component: () => import("pages/RegisterPage.vue") }],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/RegisterPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Register" },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "/product-detail/:skuGroupId",
|
|
@@ -64,7 +100,13 @@ const routes = [
|
|
|
{
|
|
|
path: "/contact",
|
|
|
component: () => import("layouts/MainLayout.vue"),
|
|
|
- children: [{ path: "", component: () => import("pages/ContactPage.vue") }],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "",
|
|
|
+ component: () => import("pages/ContactPage.vue"),
|
|
|
+ meta: { title: "HiChina Travel Contact" },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "/my-blogs",
|