From 5bc7fd546b5dcf8e3638ebee2c3ae00e1a52bc21 Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Thu, 9 Mar 2023 18:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=92=8C=E5=A2=9E=E5=8A=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/components/Footer.vue | 64 ++++----- src/common/components/common.js | 4 +- src/component/Loading.vue | 23 ++++ src/component/Nav.vue | 58 +++++++++ src/pages/Index/Index.vue | 27 ++-- .../{NewsView1 => NewsView}/NewsView1.vue | 62 +++++---- .../{NewsView2 => NewsView}/NewsView2.vue | 0 .../{NewsView3 => NewsView}/NewsView3.vue | 0 .../NewsView3Sub.vue | 0 .../NewsViewDetail/NewsViewDetailText.vue | 121 ++++++++++++++++++ src/router/index.js | 19 ++- 11 files changed, 303 insertions(+), 75 deletions(-) create mode 100644 src/component/Loading.vue create mode 100644 src/component/Nav.vue rename src/pages/{NewsView1 => NewsView}/NewsView1.vue (91%) rename src/pages/{NewsView2 => NewsView}/NewsView2.vue (100%) rename src/pages/{NewsView3 => NewsView}/NewsView3.vue (100%) rename src/pages/{NewsView3Sub => NewsView}/NewsView3Sub.vue (100%) create mode 100644 src/pages/NewsViewDetail/NewsViewDetailText.vue 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 + } } ] })