电话号码显示优化

This commit is contained in:
bayi
2018-05-21 15:53:54 +08:00
parent fcebe75c47
commit 10068f7bb2
+2 -2
View File
@@ -118,7 +118,7 @@
<div class="topBg01">
<!-- 目前是登录后点击个人头像设置密码 -->
<img src="../../images/headPortrait.png" id="user_headImg" onclick="gotoUpdatePass()">
<p id="user_mobile"><br><span class="tag"><!--<small>土豪</small>--></span></p>
<p><label id="user_mobile"><!--<a href="04_mine05_assetsRanking.html">资产排名:12</a>--></label><!--<span class="tag "><small>土豪</small></span>--></p>
</div>
<div class="topic" id="toolList" v-bind:style="{display:haveTools}">
<div class="topicContent homeBox" style="padding-left:0;padding-right:0;">
@@ -434,7 +434,7 @@ function selectUserInfo(){
var mobile = result.mobile;
//加载个人信息时候为该变量赋值
_mobile = result.mobile;
$('#user_mobile').html('<br><span class="tag"><small>'+mobile.substring(0,3)+'****'+mobile.substring(7)+'</small></span>');
$('#user_mobile').text(mobile.substring(0,3)+'****'+mobile.substring(7));
if(result.headImg != null && result.headImg.length > 0){
$('#user_headImg').attr('src', result.headImg);
}