|
@@ -59,7 +59,6 @@ const appMixins = {
|
|
|
const isIOS = systemInfo.platform === 'ios' || /iPhone/i.test(model)
|
|
|
if (!isIOS) {
|
|
|
this.$store.dispatch('setVariableFun', false)
|
|
|
- return
|
|
|
} else {
|
|
|
// 匹配 iPhone 型号数字部分(如 "iPhone17,3" 匹配到 17)
|
|
|
const versionMatch = model.match(/iPhone(\d+)/)
|
|
@@ -77,7 +76,7 @@ const appMixins = {
|
|
|
}
|
|
|
// #ifndef MP
|
|
|
Vue.prototype.StatusBar = systemInfo.statusBarHeight
|
|
|
- if (systemInfo.platform == 'android') {
|
|
|
+ if (!isIOS) {
|
|
|
Vue.prototype.CustomBar = systemInfo.statusBarHeight + 50
|
|
|
Vue.prototype.platformClass = true
|
|
|
} else {
|
|
@@ -86,7 +85,7 @@ const appMixins = {
|
|
|
};
|
|
|
// #endif
|
|
|
// #ifdef MP-WEIXIN || MP-QQ
|
|
|
- if (systemInfo.platform == 'android') {
|
|
|
+ if (!isIOS) {
|
|
|
Vue.prototype.platformClass = 'left'
|
|
|
this.$store.dispatch('setVariableFun', false)
|
|
|
} else {
|