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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
11 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 = [
...
@@ -6,7 +6,16 @@ const pages = [
keepAlive
:
true
,
keepAlive
:
true
,
backgroundColor
:
'#F7F7F7'
backgroundColor
:
'#F7F7F7'
},
},
children
:
[]
children
:
[
]
},
{
name
:
'map'
,
meta
:
{
keepAlive
:
true
,
backgroundColor
:
'#F7F7F7'
}
}
}
]
]
const
keepAlives
=
[]
const
keepAlives
=
[]
...
@@ -33,7 +42,7 @@ const getPages = _ => {
...
@@ -33,7 +42,7 @@ const getPages = _ => {
path
:
'/'
,
path
:
'/'
,
name
:
'home'
,
name
:
'home'
,
redirect
:
'/home'
,
redirect
:
'/home'
,
component
:
resolve
=>
require
([
`views/home.vue`
],
resolve
)
,
component
:
resolve
=>
require
([
`views/home.vue`
],
resolve
)
}
}
router
.
children
=
pages
.
map
(
e
=>
{
router
.
children
=
pages
.
map
(
e
=>
{
let
name
=
`
${
e
.
name
}
`
let
name
=
`
${
e
.
name
}
`
...
...
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
>
<
template
>
<div>
<div
class=
"overview flex"
>
<div
class=
"overview-store"
>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -9,18 +11,19 @@ import datas from '../../utils/data'
...
@@ -9,18 +11,19 @@ import datas from '../../utils/data'
export
default
{
export
default
{
name
:
'oversize'
,
name
:
'oversize'
,
data
()
{
data
()
{
return
{
return
{}
}
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.overview
{
margin
:
10px
16px
16px
16px
;
&-store
{
width
:
23.89vw
;
height
:
30.73vh
;
}
}
</
style
>
</
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