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
a67ec7c2
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
tj
parent
ac233574
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
src/views/More/index.vue
src/views/More/index.vue
View file @
a67ec7c2
...
@@ -116,19 +116,19 @@ export default {
...
@@ -116,19 +116,19 @@ export default {
setBarHeight
()
{
setBarHeight
()
{
const
barHeight
=
localStorage
.
getItem
(
"barHeight"
);
const
barHeight
=
localStorage
.
getItem
(
"barHeight"
);
const
conHeight
=
46
+
barHeight
;
const
conHeight
=
46
+
barHeight
;
console
.
log
(
"setBarHeight barHeight="
,
barHeight
);
//
console.log("setBarHeight barHeight=", barHeight);
const
dom
=
document
.
getElementsByClassName
(
"iosStyle"
)[
0
];
//
const dom = document.getElementsByClassName("iosStyle")[0];
if
(
dom
)
{
//
if (dom) {
dom
.
setAttribute
(
"style"
,
"padding-top:"
+
barHeight
+
"px !important"
);
//
dom.setAttribute("style", "padding-top:" + barHeight + "px !important");
}
//
}
const
dom2
=
document
.
getElementsByClassName
(
"container"
)[
0
];
//
const dom2 = document.getElementsByClassName("container")[0];
if
(
dom
)
{
//
if (dom) {
dom2
.
setAttribute
(
//
dom2.setAttribute(
"style"
,
//
"style",
"padding-top:"
+
conHeight
+
"px !important"
//
"padding-top:" + conHeight + "px !important"
);
//
);
}
//
}
},
},
navLeftArrowClick
()
{
navLeftArrowClick
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
async
mounted
()
{
async
mounted
()
{
this
.
setPageNavState
();
this
.
setPageNavState
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
//
await this.getData();
await
this
.
getData
();
//this.setBarHeight();
//this.setBarHeight();
//this.payUrl = await this.loadPayUrl();
//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