Commit da81a7e3 by 展昭

tj

parent 55244f14
Showing with 1 additions and 14 deletions
......@@ -159,7 +159,6 @@ import { Icon, Loading } from "vant";
import { TabHeader } from "@/components";
import * as utils from "../../utils/common";
import { mapGetters, mapActions } from "vuex";
import setBarHeight from "../../assets/js/setBarHeight.js";
import dayjs from "dayjs";
......@@ -168,7 +167,7 @@ export default {
[Icon.name]: Icon,
TabHeader
},
mixins: [setBarHeight],
data() {
return {
title: "人事服务",
......@@ -419,17 +418,6 @@ export default {
}
}
},
getBarHeight() {
const barHeight = localStorage.getItem('barHeight');
const conHeight = 46 + barHeight;
document
.getElementsByClassName("iosStyle")[0]
.setAttribute("style", "padding-top:" + barHeight + "px !important");
document
.getElementsByClassName("container")[0]
.setAttribute("style", "padding-top:" + conHeight + "px !important");
},
closeWebView() {
try {
window.WebViewJavascriptBridge.callHandler(
......@@ -449,7 +437,6 @@ export default {
},
async mounted() {
this.setPageNavState();
this.getBarHeight();
this.globalNavLeftArrowClick(this.navLeftArrowClick);
await this.loadPeriodData();
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