|
@@ -15,11 +15,11 @@
|
|
|
<span><i class="iconfont icon-yonghuming"></i>用户名:</span>
|
|
|
<span class="describe">{{info.userName}}</span>
|
|
|
</div>
|
|
|
- <div class="line">
|
|
|
+ <div class="line" @click="jumpSet('email')">
|
|
|
<span><i class="iconfont icon-youxiang"></i>邮箱:</span>
|
|
|
<span class="describe">{{info.userEmail}}</span>
|
|
|
</div>
|
|
|
- <div class="line">
|
|
|
+ <div class="line" @click="jumpSet('mobile')">
|
|
|
<span><i class="iconfont icon-shouji"></i>手机:</span>
|
|
|
<span class="describe">{{info.userTel}}</span>
|
|
|
</div>
|
|
@@ -39,6 +39,14 @@
|
|
|
imageUploadUrl: ''
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ getEmail () {
|
|
|
+ return this.$store.state.user.updateUser.email.data.content
|
|
|
+ },
|
|
|
+ getMobile () {
|
|
|
+ return this.$store.state.user.updateUser.mobile.data.content
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
uploadImg (e) {
|
|
|
let file = e.target.files[0]
|
|
@@ -62,6 +70,13 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+ },
|
|
|
+ jumpSet (info) {
|
|
|
+ if (info === 'email') {
|
|
|
+ window.open(this.getEmail, '_blank')
|
|
|
+ } else if (info === 'mobile') {
|
|
|
+ window.open(this.getMobile, '_blank')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -121,7 +136,7 @@
|
|
|
img{
|
|
|
width: .58rem;
|
|
|
height: .58rem;
|
|
|
- border: 1px solid #bebebe;
|
|
|
+ /*border: 1px solid #bebebe;*/
|
|
|
}
|
|
|
}
|
|
|
}
|