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
438ce0fd
authored
May 07, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
1d4e2b7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
src/assets/css/index.css
src/components/TabHeader.vue
src/assets/css/index.css
View file @
438ce0fd
...
...
@@ -13,10 +13,14 @@ i {
color
:
#077AEC
;
}
.container
{
padding-top
:
46px
;
@supports
(
top
:
constant
(
safe-area-inset-top
))
{
.container
{
padding-top
:
calc
(
46px
+
constant
(
safe-area-inset-top
));
}
}
.mt0
{
margin-top
:
0
!important
;
}
\ No newline at end of file
src/components/TabHeader.vue
View file @
438ce0fd
<
template
>
<div
id=
"showheader"
class=
"header-warp"
>
<div
id=
"showheader"
class=
"header-warp
iosStyle
"
>
<van-nav-bar
id=
"nav"
:title=
"title"
left-text
left-arrow
>
<template
#
title
>
<a
class=
"header-title title-one"
:class=
"isActive?'title-active':''"
href=
"/"
>
人事服务
</a>
...
...
@@ -39,9 +39,12 @@ export default {
</
script
>
<
style
scoped
>
.iosStyle
{
padding-top
:
64px
;
@supports
(
top
:
constant
(
safe-area-inset-top
))
{
.iosStyle
{
padding-top
:
constant
(
safe-area-inset-top
);
}
}
.header-warp
{
position
:
fixed
;
top
:
0
;
...
...
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