Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lhfe
mould-vuecli3
Commits
fbb84ee6
Commit
fbb84ee6
authored
Aug 26, 2020
by
gaobowen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add screenshot
parent
997b8dfa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
1 deletion
+50
-1
index.vue
src/components/rightPanel/index.vue
+1
-1
screenshotPanel.vue
src/components/rightPanel/screenshotPanel.vue
+17
-0
index.vue
src/components/sideNav/index.vue
+1
-0
index.js
src/router/index.js
+9
-0
screenshot.vue
src/views/screenshot.vue
+22
-0
No files found.
src/components/rightPanel/index.vue
View file @
fbb84ee6
<
template
>
<
template
>
<div
class=
"comp-rightpanel"
>
<div
class=
"comp-rightpanel"
>
rightpanel
<router-view
name=
"panel"
></router-view>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/rightPanel/screenshotPanel.vue
0 → 100644
View file @
fbb84ee6
<
template
>
<div>
screenshotPanel
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{}
},
created
()
{},
mounted
()
{}
}
</
script
>
<
style
></
style
>
src/components/sideNav/index.vue
View file @
fbb84ee6
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<router-link
to=
"/about"
>
About
</router-link>
<router-link
to=
"/about"
>
About
</router-link>
<router-link
to=
"/bao1"
>
bao1
</router-link>
<router-link
to=
"/bao1"
>
bao1
</router-link>
<router-link
to=
"/bao2"
>
bao2
</router-link>
<router-link
to=
"/bao2"
>
bao2
</router-link>
<router-link
to=
"/screenshot"
>
screenshot
</router-link>
</div>
</div>
</
template
>
</
template
>
...
...
src/router/index.js
View file @
fbb84ee6
import
Vue
from
'vue'
import
Vue
from
'vue'
import
VueRouter
from
'vue-router'
import
VueRouter
from
'vue-router'
import
Bao3
from
'../views/bao3.vue'
import
Bao3
from
'../views/bao3.vue'
import
Screenshot
from
'../views/screenshot.vue'
import
screenshotPanel
from
'../components/rightPanel/screenshotPanel.vue'
Vue
.
use
(
VueRouter
)
Vue
.
use
(
VueRouter
)
...
@@ -27,6 +29,13 @@ const routes = [
...
@@ -27,6 +29,13 @@ const routes = [
path
:
'/bao2'
,
path
:
'/bao2'
,
name
:
'Bao2'
,
name
:
'Bao2'
,
component
:
()
=>
import
(
/* webpackChunkName: "bao2" */
'../views/bao2.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "bao2" */
'../views/bao2.vue'
)
},
{
path
:
'/screenshot'
,
components
:
{
default
:
Screenshot
,
panel
:
screenshotPanel
}
}
}
]
]
...
...
src/views/screenshot.vue
0 → 100644
View file @
fbb84ee6
<
template
>
<div
class=
"screenshot"
>
screenshot view
</div>
</
template
>
<
script
>
export
default
{
name
:
'Screenshot'
,
data
()
{
return
{}
},
created
()
{},
mounted
()
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.screenshot
{
width
:
100%
;
height
:
100%
;
margin
:
30px
;
}
</
style
>
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