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
1766903a
authored
Apr 14, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改链接
parent
c0f93234
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
19 deletions
src/components/TabHeader.vue
src/views/Bill/index.vue
src/views/Bill/record.vue
src/views/More/index.vue
src/views/More/record.vue
src/components/TabHeader.vue
View file @
1766903a
<
template
>
<div
id=
"showheader"
class=
"header"
>
<div
id=
"showheader"
class=
"header
-warp
"
>
<van-nav-bar
id=
"nav"
:title=
"title"
left-text
left-arrow
>
<template
#
title
>
<a
class=
"header-title"
:class=
"isActive?'title-active':''"
href=
"/"
>
人事服务
</a>
<a
class=
"header-title"
:class=
"isActive?'':'title-active'"
href=
"./more"
>
更多服务
</a>
</
template
>
</van-nav-bar>
...
...
@@ -49,7 +48,7 @@ export default {
width
:
100%
;
z-index
:
1100
;
}
.header
/
deep
/
.van-nav-bar
.van-icon
{
.header
-warp
/
deep
/
.van-nav-bar
.van-icon
{
color
:
#fff
!important
;
font-size
:
16px
!important
;
}
...
...
src/views/Bill/index.vue
View file @
1766903a
<
template
>
<div>
<div
class=
"container"
>
<div
class=
"header"
>
<tab-header
:title=
"title"
/>
</div>
...
...
@@ -167,6 +167,7 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.contener
{
.header
{
height
:
136px
;
...
...
src/views/Bill/record.vue
View file @
1766903a
...
...
@@ -87,7 +87,7 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
@import
url('../../assets/css/index.css')
;
.container-wrap
{
padding
:
0
16px
;
.list
{
...
...
src/views/More/index.vue
View file @
1766903a
<
template
>
<div>
<div
class=
"container"
>
<div
class=
"header"
>
<tab-header
:title=
"title"
/>
</div>
...
...
@@ -22,7 +22,7 @@
<img
src
alt
/>
<span>
充值
</span>
</div>
<div
class=
"right"
>
<div
class=
"right"
@
click=
"toPage(2)"
>
<img
src
alt
/>
<span>
资金记录
</span>
</div>
...
...
@@ -65,17 +65,30 @@ export default {
methods
:
{
onClickLeft
()
{
console
.
log
(
1
);
},
toPage
(
flag
){
if
(
flag
===
2
)
{
this
.
$router
.
push
({
name
:
"morerecord"
});
}
},
navLeftArrowClick
()
{
this
.
$router
.
go
(
-
1
);
}
},
mounted
()
{
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.contener
{
.header
{
height
:
136px
;
padding
:
0
16px
;
background
:
#0978e7
;
border-top
:
1px
solid
#0978e7
;
.header_box
{
height
:
174px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
...
...
src/views/More/record.vue
View file @
1766903a
<
template
>
<div>
<div
class=
"container"
>
<div
class=
"header"
>
<
van-nav-bar
:title=
"title"
left-arrow
@
click-left=
"onClickLeft
"
/>
<
HeaderW
:title=
"title
"
/>
</div>
<div
class=
"container"
>
<div
class=
"container
-wrap
"
>
<div
class=
"list"
>
<div
class=
"title"
>
<div
class=
"title_info"
>
吴天逸工商代理工本费
</div>
<i>
-160.00
</i>
</div>
<p>
<span>
11-20
12:20
</span>
<span>
11-20 12:20
</span>
</p>
</div>
</div>
...
...
@@ -18,11 +18,12 @@
</
template
>
<
script
>
import
{
NavBar
,
Icon
}
from
"vant"
;
import
{
Icon
}
from
"vant"
;
import
{
HeaderW
}
from
"@/components"
;
export
default
{
components
:
{
[
NavBar
.
name
]:
NavBar
,
[
Icon
.
name
]:
Icon
[
Icon
.
name
]:
Icon
,
HeaderW
},
data
()
{
return
{
...
...
@@ -32,19 +33,24 @@ export default {
methods
:
{
onClickLeft
()
{
console
.
log
(
1
);
},
navLeftArrowClick
()
{
this
.
$router
.
go
(
-
1
);
}
},
mounted
()
{
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.container
{
.container
-wrap
{
padding
:
0
16px
;
.list
{
padding
:
16px
0
;
border-bottom
:
1px
solid
#ECECEE
;
&:last-child{
border
:
0
;
border-bottom
:
1px
solid
#ececee
;
&:last-child
{
border
:
0
;
}
.title
{
display
:
flex
;
...
...
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