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
8f1e5590
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
tj
parent
eb15652f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
src/views/Bill/index.vue
src/views/Bill/index.vue
View file @
8f1e5590
...
...
@@ -160,7 +160,6 @@ import { TabHeader } from "@/components";
import
*
as
utils
from
"../../utils/common"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
initJsBridge
from
"../../assets/js/JsBridge"
;
import
setBarHeight
from
"../../assets/js/setBarHeight.js"
;
import
dayjs
from
"dayjs"
;
export
default
{
...
...
@@ -168,7 +167,6 @@ export default {
[
Icon
.
name
]:
Icon
,
TabHeader
},
mixins
:
[
setBarHeight
],
data
()
{
return
{
title
:
"人事服务"
,
...
...
@@ -419,6 +417,20 @@ export default {
}
}
},
setBarHeight
()
{
const
barHeight
=
localStorage
.
getItem
(
"barHeight"
);
const
conHeight
=
46
+
parseInt
(
barHeight
);
console
.
log
(
"bill conHeight="
,
conHeight
);
const
dom
=
document
.
getElementsByClassName
(
"iosStyle"
)[
0
];
if
(
dom
)
{
dom
.
setAttribute
(
"style"
,
"padding-top:"
+
barHeight
+
"px !important"
);
}
const
dom2
=
document
.
getElementsByClassName
(
"container"
)[
0
];
if
(
dom2
)
{
dom2
.
setAttribute
(
"style"
,
"padding-top:"
+
conHeight
+
"px !important"
);
}
},
closeWebView
()
{
try
{
window
.
WebViewJavascriptBridge
.
callHandler
(
...
...
@@ -438,7 +450,7 @@ export default {
},
async
mounted
()
{
this
.
setPageNavState
();
this
.
setBarHeight
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
await
this
.
loadPeriodData
();
this
.
payUrl
=
await
this
.
loadPayUrl
();
...
...
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