Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
946dc543
authored
Apr 14, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
整理代码
parent
5d856067
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
24 deletions
src/components/Header.vue
src/router/bill-router.js
src/router/index.js
src/router/trusteeship.js
src/views/Bill/index.vue
src/components/Header.vue
View file @
946dc543
<
template
>
<div
id=
"showheader"
:class=
"this.top?'iosStyle header-warp':'header-warp'"
>
<div
id=
"showheader"
class=
"header"
:class=
"this.top?'iosStyle header-warp':'header-warp'"
>
<van-nav-bar
id=
"nav"
:title=
"title"
left-text
left-arrow
/>
</div>
</
template
>
...
...
@@ -44,8 +44,15 @@ export default {
.van-nav-bar__title
{
font-size
:
18px
;
}
.van-nav-bar
.van-icon
{
color
:
#333333
!important
;
font-size
:
25px
!important
;
.header
/
deep
/
.van-nav-bar
.van-icon
{
color
:
#fff
!important
;
font-size
:
16px
!important
;
}
.van-nav-bar
{
background
:
linear-gradient
(
135deg
,
rgba
(
37
,
141
,
244
,
1
)
0%
,
rgba
(
6
,
115
,
223
,
1
)
100%
);
}
</
style
>
src/router/bill-router.js
View file @
946dc543
...
...
@@ -9,6 +9,15 @@ export default [
}
},
{
path
:
"/trusteeship"
,
name
:
"trusteeship"
,
component
:
()
=>
import
(
"@/views/Trusteeship/index.vue"
),
meta
:
{
requiresAuth
:
true
,
title
:
"人事托管 "
}
},
{
path
:
"/index/record"
,
name
:
"index"
,
component
:
()
=>
import
(
"@/views/Bill/record.vue"
),
...
...
src/router/index.js
View file @
946dc543
import
Vue
from
'vue'
import
VueRouter
from
'vue-router'
import
moreRouters
from
'./more-router.js'
import
trusteeship
from
'./trusteeship.js'
import
personRouters
from
'./bill-router.js'
import
billRouters
from
'./bill-router.js'
Vue
.
use
(
VueRouter
)
const
router
=
new
VueRouter
({
mode
:
'history'
,
base
:
process
.
env
.
BASE_URL
,
routes
:[
...
person
Routers
,
...
bill
Routers
,
...
moreRouters
,
...
trusteeship
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
return
{
x
:
0
,
y
:
0
}
...
...
src/router/trusteeship.js
deleted
100644 → 0
View file @
5d856067
export
default
[
{
path
:
"/trusteeship"
,
name
:
"trusteeship"
,
component
:
()
=>
import
(
"@/views/Trusteeship/index.vue"
),
meta
:
{
requiresAuth
:
true
,
title
:
"人事托管 "
}
}
]
\ No newline at end of file
src/views/Bill/index.vue
View file @
946dc543
<
template
>
<div>
<div
class=
"header"
>
<
van-nav-bar
title=
"更多服务"
left-arrow
@
click-left=
"onClickLeft
"
/>
<
tab-header
:title=
"title
"
/>
</div>
<div
class=
"contener"
>
<div
class=
"header"
>
...
...
@@ -143,10 +143,17 @@
<
script
>
import
{
NavBar
,
Icon
}
from
"vant"
;
import
{
TabHeader
}
from
'@/components'
export
default
{
components
:
{
[
NavBar
.
name
]:
NavBar
,
[
Icon
.
name
]:
Icon
[
Icon
.
name
]:
Icon
,
TabHeader
},
data
(){
return
{
title
:
'人事服务'
}
},
methods
:
{
onClickLeft
()
{
...
...
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