From 4e2cef1618dfb8ac101f479d877d638346bf5ffb Mon Sep 17 00:00:00 2001 From: JayChou Date: Fri, 16 May 2025 09:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=B0=E5=A2=9E=E7=BB=BC?= =?UTF-8?q?=E5=90=88=E6=96=B0=E9=97=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Layout/tabbar/index.vue | 4 +- src/router/module/constRouter/index.ts | 10 +++ src/views/news/hostNews.vue | 84 ++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 src/views/news/hostNews.vue diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index 165407e..fc61f10 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -4,7 +4,7 @@
- +
@@ -131,7 +131,7 @@ import themeStore from '@/store/module/theme' import Item from './components/item.vue' import defaultUserAvater from '@/assets/images/default.png' import { Setting } from '@element-plus/icons-vue' - +import logoImage from '@/assets/images/LOGO.png' const useUserStore = userStore() const useSettingStore = settingStore() const useThemeStore = themeStore() diff --git a/src/router/module/constRouter/index.ts b/src/router/module/constRouter/index.ts index c4ab416..7a5df41 100644 --- a/src/router/module/constRouter/index.ts +++ b/src/router/module/constRouter/index.ts @@ -99,6 +99,16 @@ export const constRouter: any = { hidden: false, }, }, + { + path: '/hostNews', + name: 'HostNews', + component: () => import('@/views/news/hostNews.vue'), + meta: { + icon: '', + title: '综合新闻', + hidden: false, + }, + }, { path: 'detail/:id', name: 'newsDetail', diff --git a/src/views/news/hostNews.vue b/src/views/news/hostNews.vue new file mode 100644 index 0000000..94160f5 --- /dev/null +++ b/src/views/news/hostNews.vue @@ -0,0 +1,84 @@ + + + + +