Commit 51160130 by 展昭

update

parent ecf225c8
Showing with 1 additions and 22 deletions
...@@ -95,34 +95,13 @@ export default { ...@@ -95,34 +95,13 @@ export default {
} }
); );
}, },
setBarHeightLowBee() {
setTimeout(() => {
const barHeight = localStorage.getItem("barHeight");
const conHeight = 46 + parseInt(barHeight);
const dom = document.getElementsByClassName("iosStyle")[0];
if (dom) {
dom.setAttribute(
"style",
"padding-top:" + barHeight + "px !important"
);
}
const dom2 = document.getElementsByClassName("container_record")[0];
if (dom2) {
dom2.setAttribute(
"style",
"padding-top:" + conHeight + "px !important"
);
}
}, 100);
},
navLeftArrowClick() { navLeftArrowClick() {
this.$router.go(-1); this.$router.go(-1);
} }
}, },
mounted() { mounted() {
this.setPageNavState(); this.setPageNavState();
this.setBarHeightLowBee(); //this.setBarHeightLowBee();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
this.accountId = this.$route.query.accountId; this.accountId = this.$route.query.accountId;
const fromType = this.$route.query.fromType; const fromType = this.$route.query.fromType;
......
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