Commit a67ec7c2 by 展昭

tj

parent ac233574
Showing with 13 additions and 13 deletions
......@@ -116,19 +116,19 @@ export default {
setBarHeight() {
const barHeight = localStorage.getItem("barHeight");
const conHeight = 46 + barHeight;
console.log("setBarHeight barHeight=", barHeight);
const dom = document.getElementsByClassName("iosStyle")[0];
if (dom) {
dom.setAttribute("style", "padding-top:" + barHeight + "px !important");
}
// console.log("setBarHeight barHeight=", barHeight);
// const dom = document.getElementsByClassName("iosStyle")[0];
// if (dom) {
// dom.setAttribute("style", "padding-top:" + barHeight + "px !important");
// }
const dom2 = document.getElementsByClassName("container")[0];
if (dom) {
dom2.setAttribute(
"style",
"padding-top:" + conHeight + "px !important"
);
}
// const dom2 = document.getElementsByClassName("container")[0];
// if (dom) {
// dom2.setAttribute(
// "style",
// "padding-top:" + conHeight + "px !important"
// );
// }
},
navLeftArrowClick() {
this.$router.go(-1);
......@@ -137,7 +137,7 @@ export default {
async mounted() {
this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick);
//await this.getData();
await this.getData();
//this.setBarHeight();
//this.payUrl = await this.loadPayUrl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment