diff --git a/src/common/components/Footer.vue b/src/common/components/Footer.vue index eddc286..13a5798 100644 --- a/src/common/components/Footer.vue +++ b/src/common/components/Footer.vue @@ -1,47 +1,47 @@ + + \ No newline at end of file diff --git a/src/component/Nav.vue b/src/component/Nav.vue new file mode 100644 index 0000000..1b9aadd --- /dev/null +++ b/src/component/Nav.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/src/pages/Index/Index.vue b/src/pages/Index/Index.vue index 96a7839..b1aa566 100644 --- a/src/pages/Index/Index.vue +++ b/src/pages/Index/Index.vue @@ -1,15 +1,18 @@ + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 4b85733..ef0de00 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -24,10 +24,11 @@ import CultureMap from '@/pages/CultureMap/CultureMap' import CultureSupermarket from '@/pages/CultureSupermarket/CultureSupermarket' import GoodsDetail from '@/pages/CultureSupermarket/GoodsDetail' import common from '../common/components/common' -import NewsView1 from '../pages/NewsView1/NewsView1.vue' -import NewsView2 from '../pages/NewsView2/NewsView2.vue' -import NewsView3 from '../pages/NewsView3/NewsView3.vue' -import NewsView3Sub from '../pages/NewsView3Sub/NewsView3Sub.vue' +import NewsView1 from '../pages/NewsView/NewsView1' +import NewsView2 from '../pages/NewsView/NewsView2' +import NewsView3 from '../pages/NewsView/NewsView3' +import NewsView3Sub from '../pages/NewsView/NewsView3Sub' +import NewsViewDetailText from '../pages/NewsViewDetail/NewsViewDetailText' Vue.use(Router) export default new Router({ @@ -274,6 +275,16 @@ export default new Router({ title: `${common.area.areaName}公共文化数字云平台`, keepAlive: false } + }, + { + path: '/newsViewDetailText/:newsContentId', + name: 'newsViewDetailText', + component: NewsViewDetailText, + props: true, + meta: { + title: `${common.area.areaName}公共文化数字云平台`, + keepAlive: false + } } ] })