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
ad53c917
authored
May 08, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
819c6b2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
21 deletions
src/assets/css/index.css
src/main.js
src/views/Bill/index.vue
src/assets/css/index.css
View file @
ad53c917
...
...
@@ -3,6 +3,9 @@
margin
:
0
;
list-style
:
none
;
}
#app
{
}
i
{
font-style
:
normal
;
}
...
...
src/main.js
View file @
ad53c917
...
...
@@ -46,27 +46,10 @@ Vue.prototype.setPageNavState = function () {
// console.log("setPageNavState来自 ios/android的回传数据: ", response);
// }
// );
window
.
WebViewJavascriptBridge
.
callHandler
(
"getBarHeight"
,
null
,
function
(
response
)
{
console
.
log
(
"main getBarHeight来自 ios/android的回传数据: "
,
response
);
if
(
response
)
{
response
=
JSON
.
parse
(
response
);
console
.
log
(
'main response='
,
response
);
const
barHeight
=
response
.
statusBarHeight
;
const
conHeight
=
46
+
barHeight
;
console
.
log
(
'barHeight='
,
barHeight
);
}
}
);
});
}
catch
(
err
)
{
console
.
log
(
"main setPageNavState is error,err="
,
err
);
console
.
log
(
"main setPageNavState is error,err="
,
err
);
}
};
...
...
src/views/Bill/index.vue
View file @
ad53c917
...
...
@@ -427,8 +427,8 @@ export default {
function
(
response
)
{
console
.
log
(
"getBarHeight来自 ios/android的回传数据: "
,
response
);
if
(
response
)
{
response
=
JSON
.
parse
(
response
);
console
.
log
(
'response='
,
response
);
response
=
JSON
.
parse
(
response
);
console
.
log
(
"response="
,
response
);
const
barHeight
=
response
.
statusBarHeight
;
const
conHeight
=
46
+
barHeight
;
document
...
...
@@ -470,7 +470,7 @@ export default {
},
async
mounted
()
{
this
.
setPageNavState
();
//
this.getBarHeight();
this
.
getBarHeight
();
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