diff --git a/config/index.js b/config/index.js index d00cb3e..096c62b 100644 --- a/config/index.js +++ b/config/index.js @@ -1,4 +1,4 @@ -const env = 'LocalTest'; +const env = 'prod'; const configs = { LocalTest: { apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend', diff --git a/pages/index/index.vue b/pages/index/index.vue index 5847760..fc0b2d8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -10,6 +10,11 @@ const wv = plus.webview.create(config.h5Url,"custom-webview") const currentPages=getCurrentPages() const currentWebview = currentPages[currentPages.length-1].$getAppWebview() currentWebview.append(wv) +const {statusBarHeight} = uni.getSystemInfoSync() +wv.setStyle({ + top: statusBarHeight, + bottom: 0, +}) import { Communication } from '../../utils/communication.js'; const commun=new Communication()