Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
sensorConsult
Commits
594ceae1
Commit
594ceae1
authored
Jun 25, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决方案与服务
parent
1737f143
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
479 additions
and
3 deletions
+479
-3
index.js
src/router/index.js
+1
-1
routers.js
src/router/routers.js
+8
-0
titleMenus.vue
src/views/homepage/components/titleMenus.vue
+1
-1
titleMenusV2.vue
src/views/homepage/components/titleMenusV2.vue
+1
-1
index.vue
src/views/homepage/information/index.vue
+468
-0
No files found.
src/router/index.js
View file @
594ceae1
...
@@ -9,7 +9,7 @@ import { filterAsyncRouter } from '@/store/modules/permission'
...
@@ -9,7 +9,7 @@ import { filterAsyncRouter } from '@/store/modules/permission'
NProgress
.
configure
({
showSpinner
:
false
})
// NProgress Configuration
NProgress
.
configure
({
showSpinner
:
false
})
// NProgress Configuration
const
whiteList
=
[
'
/login
'
,
'
/backlogin
'
,
'
/home
'
,
'
/product
'
,
'
/supplier
'
,
'
/project
'
,
'
/course
'
]
// 免登录路由白名单
const
whiteList
=
[
'
/login
'
,
'
/backlogin
'
,
'
/home
'
,
'
/product
'
,
'
/supplier
'
,
'
/project
'
,
'
/course
'
,
'
information
'
]
// 免登录路由白名单
const
backUrlList
=
[
'
/dashboard
'
,
'
/system
'
,
'
/monitor
'
,
'
/sys-tools
'
,
'
/backstage
'
]
// 后台路由
const
backUrlList
=
[
'
/dashboard
'
,
'
/system
'
,
'
/monitor
'
,
'
/sys-tools
'
,
'
/backstage
'
]
// 后台路由
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
...
...
src/router/routers.js
View file @
594ceae1
...
@@ -76,6 +76,14 @@ export const constantRouterMap = [
...
@@ -76,6 +76,14 @@ export const constantRouterMap = [
},
},
hidden
:
true
hidden
:
true
},
},
{
path
:
'
/information
'
,
meta
:
{
title
:
'
行业资讯
'
,
noCache
:
true
},
component
:
(
resolve
)
=>
{
return
require
([
'
@/views/homepage/information/index
'
],
resolve
)
},
hidden
:
true
},
{
{
path
:
'
/backstage
'
,
path
:
'
/backstage
'
,
component
:
Layout
,
component
:
Layout
,
...
...
src/views/homepage/components/titleMenus.vue
View file @
594ceae1
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
menus
:
[
menus
:
[
{
name
:
'
首页
'
,
url
:
'
/home
'
},
{
name
:
'
优质产品
'
,
url
:
'
/product
'
},
{
name
:
'
优质供应商
'
,
url
:
'
/supplier
'
},
{
name
:
'
解决方案与服务
'
,
url
:
'
/project
'
},
{
name
:
'
软件系统
'
},
{
name
:
'
专业培训
'
,
url
:
'
/course
'
},
{
name
:
'
行业资讯
'
},
{
name
:
'
信息发布
'
}
{
name
:
'
首页
'
,
url
:
'
/home
'
},
{
name
:
'
优质产品
'
,
url
:
'
/product
'
},
{
name
:
'
优质供应商
'
,
url
:
'
/supplier
'
},
{
name
:
'
解决方案与服务
'
,
url
:
'
/project
'
},
{
name
:
'
软件系统
'
},
{
name
:
'
专业培训
'
,
url
:
'
/course
'
},
{
name
:
'
行业资讯
'
,
url
:
'
/information
'
},
{
name
:
'
信息发布
'
}
],
],
currentMenuObj
:
null
currentMenuObj
:
null
}
}
...
...
src/views/homepage/components/titleMenusV2.vue
View file @
594ceae1
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
menus
:
[
menus
:
[
{
name
:
'
首页
'
,
url
:
'
/home
'
},
{
name
:
'
优质产品
'
,
url
:
'
/product
'
},
{
name
:
'
优质供应商
'
,
url
:
'
/supplier
'
},
{
name
:
'
解决方案与服务
'
,
url
:
'
/project
'
},
{
name
:
'
软件系统
'
},
{
name
:
'
专业培训
'
,
url
:
'
/course
'
},
{
name
:
'
行业资讯
'
},
{
name
:
'
信息发布
'
}
{
name
:
'
首页
'
,
url
:
'
/home
'
},
{
name
:
'
优质产品
'
,
url
:
'
/product
'
},
{
name
:
'
优质供应商
'
,
url
:
'
/supplier
'
},
{
name
:
'
解决方案与服务
'
,
url
:
'
/project
'
},
{
name
:
'
软件系统
'
},
{
name
:
'
专业培训
'
,
url
:
'
/course
'
},
{
name
:
'
行业资讯
'
,
url
:
'
/information
'
},
{
name
:
'
信息发布
'
}
],
],
currentMenuObj
:
null
currentMenuObj
:
null
}
}
...
...
src/views/homepage/information/index.vue
0 → 100644
View file @
594ceae1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment