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
c62a8bac
authored
Apr 15, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改样式
parent
7772756e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/components/TabHeader.vue
src/components/TabHeader.vue
View file @
c62a8bac
...
...
@@ -2,7 +2,7 @@
<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
title-one
"
:class=
"isActive?'title-active':''"
href=
"/"
>
人事服务
</a>
<a
class=
"header-title"
:class=
"isActive?'':'title-active'"
href=
"./more"
>
更多服务
</a>
</
template
>
</van-nav-bar>
...
...
@@ -29,7 +29,7 @@ export default {
var
u
=
navigator
.
userAgent
;
var
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
this
.
top
=
isiOS
;
if
(
window
.
location
.
href
.
indexOf
(
"more"
)
>
0
)
{
if
(
window
.
location
.
href
.
indexOf
(
"more"
)
>
0
)
{
this
.
isActive
=
false
;
}
else
{
this
.
isActive
=
true
;
...
...
@@ -59,13 +59,17 @@ export default {
.header-title
{
color
:
#8ec9fd
;
font-size
:
16px
;
}
.title-one
{
margin-right
:
25px
;
}
.title-active
{
color
:
#ffffff
;
font-size
:
18px
;
}
.van-hairline--bottom
::after
{
border-bottom-width
:
0px
;
.van-hairline--bottom
::after
{
border-bottom-width
:
0px
;
}
</
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