Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
黄瑜
VueElementTemplate
Commits
4e5d9dd9
Commit
4e5d9dd9
authored
Feb 28, 2018
by
=
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录初步
parent
979af677
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
134 additions
and
2 deletions
+134
-2
index.js
src/router/index.js
+3
-2
index.vue
src/views/haomo/pages/index.vue
+18
-0
login.vue
src/views/haomo/pages/login.vue
+0
-0
HmLogin.vue
src/views/haomo/pages/login/HmLogin.vue
+55
-0
index.vue
src/views/haomo/pages/login/index.vue
+29
-0
index.vue
src/views/haomo/pages/personal-center/index.vue
+29
-0
personal.vue
src/views/haomo/pages/personal.vue
+0
-0
No files found.
src/router/index.js
View file @
4e5d9dd9
...
@@ -123,6 +123,7 @@ export const asyncRouterMap = [
...
@@ -123,6 +123,7 @@ export const asyncRouterMap = [
},
},
{
{
path
:
'/haomo/pages'
,
path
:
'/haomo/pages'
,
component
:
_import
(
'haomo/pages/index'
),
redirect
:
'/haomo/pages/login'
,
redirect
:
'/haomo/pages/login'
,
name
:
'haomo-pages'
,
name
:
'haomo-pages'
,
meta
:
{
meta
:
{
...
@@ -132,7 +133,7 @@ export const asyncRouterMap = [
...
@@ -132,7 +133,7 @@ export const asyncRouterMap = [
children
:
[
children
:
[
{
{
path
:
'login'
,
path
:
'login'
,
component
:
_import
(
'haomo/pages/login'
),
component
:
_import
(
'haomo/pages/login
/index
'
),
name
:
'haomo-login'
,
name
:
'haomo-login'
,
meta
:
{
meta
:
{
title
:
'登录'
,
title
:
'登录'
,
...
@@ -141,7 +142,7 @@ export const asyncRouterMap = [
...
@@ -141,7 +142,7 @@ export const asyncRouterMap = [
},
},
{
{
path
:
'personal'
,
path
:
'personal'
,
component
:
_import
(
'haomo/pages/personal'
),
component
:
_import
(
'haomo/pages/personal
-center/index
'
),
name
:
'haomo-personal'
,
name
:
'haomo-personal'
,
meta
:
{
meta
:
{
title
:
'个人中心'
,
title
:
'个人中心'
,
...
...
src/views/haomo/pages/index.vue
0 → 100644
View file @
4e5d9dd9
<
template
>
<transition
name=
"fade"
mode=
"out-in"
>
<keep-alive
:include=
'cachedViews'
>
<router-view></router-view>
</keep-alive>
</transition>
</
template
>
<
script
>
export
default
{
name
:
'PagesMain'
,
computed
:
{
cachedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
cachedViews
}
}
}
</
script
>
src/views/haomo/pages/login.vue
deleted
100644 → 0
View file @
979af677
src/views/haomo/pages/login/HmLogin.vue
0 → 100644
View file @
4e5d9dd9
<
template
>
<el-row
type=
"flex"
>
<el-col
:span=
"10"
class=
"detail-content"
style=
"margin:0 auto"
>
<el-form
style=
"border: 0.5px solid #e6ebf5"
>
<el-row
type=
"flex"
>
<el-col
style=
"height: 45px;background-color: #00BF8B"
></el-col>
</el-row>
<el-row
type=
"flex"
style=
"margin-top:35px"
>
<el-col
style=
"margin: 0 auto;height: 70px;width:433px;text-align: center;line-height: 70px;font-size: 35px;color:#586C8C;font-weight: bold"
>
<img
/>
张家口人民检察院
</el-col>
</el-row>
<el-form-item
prop=
"pass"
>
<el-input
class=
"style"
style=
"width:433px;margin: 0 auto;margin-top:25px;display: block;"
prefix-icon=
"el-icon-search"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
prop=
"checkPass"
>
<el-input
type=
"password"
style=
"width:433px;margin: 0 auto;display: block;border-width: 0px;border-bottom-width: 1px;border-radius: 0px;"
prefix-icon=
"el-icon-search"
suffix-icon=
"el-icon-view"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"success"
style=
"width: 178px;height: 44px ;font-size:16px;background-color: #00BF8B;margin: 0 auto;display: block"
>
提交
</el-button>
</el-form-item>
</el-form>
</el-col>
</el-row>
</
template
>
<
script
>
export
default
{
name
:
'HmLogin'
,
// 继承其他组件
extends
:
{},
// 使用其它组件
components
:
{},
props
:
{
options
:
{
type
:
Object
,
required
:
false
}
},
data
()
{
},
computed
:
{
},
filters
:
{
},
created
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/haomo/pages/login/index.vue
0 → 100644
View file @
4e5d9dd9
<
template
>
<div>
<hm-login></hm-login>
</div>
</
template
>
<
script
>
import
HmLogin
from
'./HmLogin.vue'
export
default
{
name
:
'login'
,
// 继承其他组件
extends
:
{},
// 使用其它组件
components
:
{
'hm-login'
:
HmLogin
},
data
()
{
},
computed
:
{
},
filters
:
{
},
created
()
{
},
methods
:
{}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/haomo/pages/personal-center/index.vue
0 → 100644
View file @
4e5d9dd9
<
template
>
<div>
个人中心
</div>
</
template
>
<
script
>
export
default
{
name
:
'login'
,
// 继承其他组件
extends
:
{},
// 使用其它组件
components
:
{
},
data
()
{
return
{
}
},
computed
:
{
},
filters
:
{
},
created
()
{
},
methods
:
{}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/haomo/pages/personal.vue
deleted
100644 → 0
View file @
979af677
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