diff --git a/common/openApp.js b/common/openApp.js
index 4b9672800558407cc26dcfee52f4ee3b7a6db8a7..f12c62396b4a479f8f1e35c1ebbebff6e519b301 100644
--- a/common/openApp.js
+++ b/common/openApp.js
@@ -4,14 +4,15 @@ const CONFIG_OPEN = CONFIG?.h5?.openApp?.openUrl ? CONFIG.h5.openApp : {};
// 仅H5端添加"打开APP"
export default function() {
// #ifdef H5
- if (!CONFIG_OPEN.openUrl) return console.warn('请配置app地址');
+ if (!CONFIG_OPEN.openUrl) return;
let openLogo = CONFIG_OPEN.logo ?
`` : '';
let openApp = document.createElement("div");
- openApp.id = 'openApp';
+ openApp.id = 'openApp';
+
openApp.style =
- 'width: 100%;height: 45px;display: flex;flex-direction: row;justify-content: space-between;align-items: center;box-sizing: border-box;padding: 0 0.5rem;background-color: #FFFFFF;'
+ 'position: fixed;top: 0;left: 0;right: 0;z-index: 999;width: 100%;height: 45px;display: flex;flex-direction: row;justify-content: space-between;align-items: center;box-sizing: border-box;padding: 0 0.5rem;background-color: #FFFFFF;'
openApp.innerHTML = `