From d0151bfa7d4e2e54958cbed10d61e870573d8634 Mon Sep 17 00:00:00 2001 From: Eddie <102564160@qq.com> Date: Fri, 13 Aug 2021 16:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=B0=8F=E8=AF=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 + src/router/modules/set-advertising.js | 24 ++ src/views/set-advertising/set-advertising.vue | 291 ++++++++++++++++++ 3 files changed, 318 insertions(+) create mode 100644 src/router/modules/set-advertising.js create mode 100644 src/views/set-advertising/set-advertising.vue diff --git a/src/router/index.js b/src/router/index.js index bb00871..1b7da35 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,6 +15,8 @@ import booksManagement from './modules/books-management' import sortManagement from './modules/sort-management' import basicSetting from './modules/basic-setting' +import setAdvertising from './modules/set-advertising' + @@ -91,6 +93,7 @@ export const asyncRoutes = [ memberManagement, booksManagement, sortManagement, + setAdvertising, // 404 page must be placed at the end !!! { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/set-advertising.js b/src/router/modules/set-advertising.js new file mode 100644 index 0000000..52a48b8 --- /dev/null +++ b/src/router/modules/set-advertising.js @@ -0,0 +1,24 @@ +/** When your routing table is too long, you can split it into small modules **/ + +import Layout from '@/layout' + +const basicSetting = { + path: '/set-advertising', + component: Layout, + redirect: '/set-advertising', + name: 'set-advertising', + meta: { + title: '广告设置', + icon: 'system-management' + }, + children: [ + { + path: 'article', + component: () => import('@/views/set-advertising/set-advertising'), + name: 'articleManagement', + meta: { title: '广告设置' } + }, + + ] +} +export default basicSetting diff --git a/src/views/set-advertising/set-advertising.vue b/src/views/set-advertising/set-advertising.vue new file mode 100644 index 0000000..f220bd2 --- /dev/null +++ b/src/views/set-advertising/set-advertising.vue @@ -0,0 +1,291 @@ + + + + +