Browse Source

Merge branch '2.1.0' of http://git.ycjcjy.com/SpaceOfCheng/wechat into 2.1.0

yuantianjiao 6 years ago
parent
commit
d5e2557ba6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/user/mainPage/index.vue

+ 1
- 1
src/pages/user/mainPage/index.vue View File

48
   created () {
48
   created () {
49
     var aHeight = document.documentElement.clientHeight,
49
     var aHeight = document.documentElement.clientHeight,
50
       aWidth = document.documentElement.clientWidth
50
       aWidth = document.documentElement.clientWidth
51
-    if (aHeight === 375 && aWidth === 724) {
51
+    if (aHeight === 724 && aWidth === 375) {
52
       this.isIphoneX = true
52
       this.isIphoneX = true
53
     }
53
     }
54
     if (!this.userInfo.customer.MapUser || !this.$route.query.hideTabbar) {
54
     if (!this.userInfo.customer.MapUser || !this.$route.query.hideTabbar) {