|
@@ -1,7 +1,12 @@
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
import LoginView from "../views/LoginView.vue"
|
|
|
import HomeView from '../views/HomeView.vue'
|
|
|
+import CityOfXishan from '../views/CityOfXishan.vue'
|
|
|
import MuseumView from '../views/MuseumView.vue'
|
|
|
+import CloudSchool from '../views/CloudSchool.vue'
|
|
|
+import SquareView from '../views/SquareView.vue'
|
|
|
+import LoveForest from '../views/LoveForest.vue'
|
|
|
+import CharityHall from '../views/CharityHall.vue'
|
|
|
import ShopView from '@/views/ShopView.vue'
|
|
|
// import store from '@/store/index.js'
|
|
|
|
|
@@ -23,14 +28,14 @@ const routes = [
|
|
|
tabIdx: 1
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/tab-2',
|
|
|
- // name: 'HomeView',
|
|
|
- // component: HomeView,
|
|
|
- // meta: {
|
|
|
- // tabIdx: 2
|
|
|
- // }
|
|
|
- // },
|
|
|
+ {
|
|
|
+ path: '/city-of-xishan',
|
|
|
+ name: 'CityOfXishan',
|
|
|
+ component: CityOfXishan,
|
|
|
+ meta: {
|
|
|
+ tabIdx: 2
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
path: '/museum',
|
|
|
name: 'MuseumView',
|
|
@@ -39,38 +44,38 @@ const routes = [
|
|
|
tabIdx: 3
|
|
|
}
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/tab-4',
|
|
|
- // name: 'HomeView',
|
|
|
- // component: HomeView,
|
|
|
- // meta: {
|
|
|
- // tabIdx: 4
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/tab-5',
|
|
|
- // name: 'HomeView',
|
|
|
- // component: HomeView,
|
|
|
- // meta: {
|
|
|
- // tabIdx: 5
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/tab-6',
|
|
|
- // name: 'HomeView',
|
|
|
- // component: HomeView,
|
|
|
- // meta: {
|
|
|
- // tabIdx: 6
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/tab-7',
|
|
|
- // name: 'HomeView',
|
|
|
- // component: HomeView,
|
|
|
- // meta: {
|
|
|
- // tabIdx: 7
|
|
|
- // }
|
|
|
- // },
|
|
|
+ {
|
|
|
+ path: '/cloud-school',
|
|
|
+ name: 'CloudSchool',
|
|
|
+ component: CloudSchool,
|
|
|
+ meta: {
|
|
|
+ tabIdx: 4
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/square',
|
|
|
+ name: 'SquareView',
|
|
|
+ component: SquareView,
|
|
|
+ meta: {
|
|
|
+ tabIdx: 5
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/love-forest',
|
|
|
+ name: 'LoveForest',
|
|
|
+ component: LoveForest,
|
|
|
+ meta: {
|
|
|
+ tabIdx: 6
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/charity-hall',
|
|
|
+ name: 'CharityHall',
|
|
|
+ component: CharityHall,
|
|
|
+ meta: {
|
|
|
+ tabIdx: 7
|
|
|
+ }
|
|
|
+ },
|
|
|
// {
|
|
|
// path: '/tab-8',
|
|
|
// name: 'HomeView',
|