Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
dj-data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bce94443
authored
Oct 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
530357b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
13 deletions
src/router/routes.js
src/views/map/index.vue
src/views/saas/overview.vue
src/router/routes.js
View file @
bce9444
...
...
@@ -6,7 +6,16 @@ const pages = [
keepAlive
:
true
,
backgroundColor
:
'#F7F7F7'
},
children
:
[]
children
:
[
]
},
{
name
:
'map'
,
meta
:
{
keepAlive
:
true
,
backgroundColor
:
'#F7F7F7'
}
}
]
const
keepAlives
=
[]
...
...
@@ -33,7 +42,7 @@ const getPages = _ => {
path
:
'/'
,
name
:
'home'
,
redirect
:
'/home'
,
component
:
resolve
=>
require
([
`views/home.vue`
],
resolve
)
,
component
:
resolve
=>
require
([
`views/home.vue`
],
resolve
)
}
router
.
children
=
pages
.
map
(
e
=>
{
let
name
=
`
${
e
.
name
}
`
...
...
@@ -50,4 +59,4 @@ const getPages = _ => {
return
[
router
]
}
export
const
keeps
=
keepAlives
export
default
getPages
()
\ No newline at end of file
export
default
getPages
()
src/views/map/index.vue
0 → 100644
View file @
bce9444
<
<
template
>
<div
class=
"map flex"
>
地图组件22222222222222222
</div>
</
template
>
<
script
>
export
default
{
name
:
'map'
,
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.map
{
height
:
100vh
;
}
</
style
>
src/views/saas/overview.vue
View file @
bce9444
<
template
>
<div>
<div
class=
"overview flex"
>
<div
class=
"overview-store"
>
</div>
</div>
</
template
>
...
...
@@ -9,18 +11,19 @@ import datas from '../../utils/data'
export
default
{
name
:
'oversize'
,
data
()
{
return
{
}
return
{}
},
mounted
()
{},
methods
:
{
}
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.overview
{
margin
:
10px
16px
16px
16px
;
&-store
{
width
:
23.89vw
;
height
:
30.73vh
;
}
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment