Commit a67ec7c2 by 展昭

tj

parent ac233574
Showing with 13 additions and 13 deletions
...@@ -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();
......
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