Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
muse-ui-test
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2019-05-21 16:39:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f72708811b0081bf8a76b347fea779ed0b3b1220
f7270881
1 parent
87ce2a85
fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
.jshintrc
src/router.js
src/views/login.vue
.jshintrc
View file @
f727088
...
...
@@ -7,7 +7,7 @@
"forin"
:
true
,
"freeze"
:
true
,
"funcscope"
:
true
,
"futurehostile"
:
tru
e
,
"futurehostile"
:
fals
e
,
"immed"
:
true
,
"indent"
:
4
,
"latedef"
:
true
,
...
...
src/router.js
View file @
f727088
...
...
@@ -8,26 +8,28 @@ export default new Router({
{
path
:
'/about'
,
name
:
'about'
,
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'./views/About.vue'
)
component
:
r
=>
{
require
([
'./views/About'
],
r
)
}
},
{
path
:
'/login'
,
name
:
'登录页'
,
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'./views/login.vue'
)
component
:
r
=>
{
require
([
'./views/login'
],
r
)
}
},
{
path
:
'/'
,
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'./views/Home.vue'
),
component
:
r
=>
{
require
([
'./views/Home'
],
r
)
},
name
:
''
,
children
:
[{
path
:
'/table'
,
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'./views/test.vue'
)
component
:
r
=>
{
require
([
'./views/test'
],
r
)
}
}]
}
]
...
...
src/views/login.vue
View file @
f727088
...
...
@@ -82,9 +82,9 @@ export default {
background-clip: padding-box;
margin-bottom: 20px;
background-color: #F9FAFC;
margin: 1
2
0px auto;
margin: 1
5
0px auto;
padding: 35px 35px 15px 35px;
width:
40
0px;
width:
35
0px;
border: 2px solid #FAFAFA;
}
</style>
...
...
Please
register
or
login
to post a comment