diff --git a/app.js b/app.js
index eaebb5a..554ad14 100644
--- a/app.js
+++ b/app.js
@@ -1,6 +1,6 @@
//app.js
App({
- evn: 1, // 0: 开发版本;1:测试版本;2:生产版本
+ evn: 0, // 0: 开发版本;1:测试版本;2:生产版本
tmplIds: ['AFoM5TOfsgERsfcetNSB0UlmEixnLF1ySXr54Bqno2M', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'],
version: '2.4.0',
xAppId: '503258978847953926',
@@ -42,6 +42,7 @@ App({
}
wx.getSystemInfo({
success: e => {
+ this.globalData.window = e
this.globalData.isIos = this.checkIos(e)
this.globalData.dev = e.platform == 'devtools'
@@ -50,7 +51,7 @@ App({
// 顶部操作栏高度
this.globalData.CustomBar = custom.bottom + custom.top - e.statusBarHeight + (this.globalData.isIos ? 4 : 0)
let windowHeight = e.windowHeight * (750 / e.windowWidth)
-
+
let safeBottom = e.windowHeight - e.safeArea.bottom
if(safeBottom > e.windowHeight){
safeBottom = 34
diff --git a/pages/home/qrcode-info/index.wxml b/pages/home/qrcode-info/index.wxml
index 35f23c1..9430758 100644
--- a/pages/home/qrcode-info/index.wxml
+++ b/pages/home/qrcode-info/index.wxml
@@ -2,7 +2,7 @@
{{type == 0 ? '客户' : '员工'}}电子卡
-
+
diff --git a/project.config.json b/project.config.json
index 98cf35a..8e197d5 100644
--- a/project.config.json
+++ b/project.config.json
@@ -38,7 +38,7 @@
"showES6CompileOption": false
},
"compileType": "miniprogram",
- "libVersion": "2.19.0",
+ "libVersion": "2.19.2",
"appid": "wx8214a7f3614a3340",
"projectname": "ztb-saas-mini",
"debugOptions": {