Browse Source

个人信息邮箱手机链接跳转

hangb 7 years ago
parent
commit
c1c697aecf
2 changed files with 3 additions and 3 deletions
  1. 1 1
      components/mobile/user/Admin.vue
  2. 2 2
      components/mobile/user/Info.vue

+ 1 - 1
components/mobile/user/Admin.vue

@@ -53,7 +53,7 @@
   span {
     margin-left: .56rem;
     display: inline-block;
-    width: .92rem;
+    width: 1.2rem;
     text-align: right;
   }
   }

+ 2 - 2
components/mobile/user/Info.vue

@@ -75,9 +75,9 @@
       },
       jumpSet (info) {
         if (info === 'email') {
-          window.open(this.getEmail, '_blank')
+          window.location.herf = decodeURIComponent(this.getEmail)
         } else if (info === 'mobile') {
-          window.open(this.getMobile, '_blank')
+          window.location.herf = decodeURIComponent(this.getMobile)
         }
       }
     }