From b82d4541a2109d7a499e0a33e67aaf0b2e4f632a Mon Sep 17 00:00:00 2001 From: bayi Date: Mon, 21 May 2018 10:55:03 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E6=89=8B=E6=9C=BA=E5=8F=B7=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/user/userInfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index e1d11b6..9d90c43 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -434,7 +434,7 @@ function selectUserInfo(){ var mobile = result.mobile; //加载个人信息时候为该变量赋值 _mobile = result.mobile; - $('#user_mobile').html(mobile.substring(0,3)+'****'+mobile.substring(7)+'
'); + $('#user_mobile').html('
'+mobile.substring(0,3)+'****'+mobile.substring(7)+''); if(result.headImg != null && result.headImg.length > 0){ $('#user_headImg').attr('src', result.headImg); } From 8f0b69f6fca1cd6647058cb013efc0b8b97c928f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Mon, 21 May 2018 11:56:22 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=89=93=E5=BC=80app?= =?UTF-8?q?=E4=B8=AD=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/js/push-common.js | 65 +++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 9 deletions(-) diff --git a/fangija-zsyf/js/push-common.js b/fangija-zsyf/js/push-common.js index f56b582..f5a5c82 100644 --- a/fangija-zsyf/js/push-common.js +++ b/fangija-zsyf/js/push-common.js @@ -1,3 +1,8 @@ + String.prototype.startWith=function(str){ + var reg=new RegExp("^"+str); + return reg.test(this); +} + /** * 推送处理业务逻辑 * yinjihuan @@ -71,9 +76,32 @@ document.addEventListener("plusready", function() { } }); } else if (payload.type == "2") { - plus.ui.alert(content,function(){ - clicked('views/webview_embed.html', true,false,{},{url:payload.url}) - }); + if (payload.url.startWith("http")) { + plus.ui.alert(content,function(){ + clicked('views/webview_embed.html', true,false,{},{url:payload.url}) + }); + } else { + // 处理打开app中的二级页面,一级页面在type=1中已经处理了,如果有http的地址就是打开外部页面 + // 否则就是打开app内部页面 + plus.ui.alert(content,function(){ + var url = payload.url; + var sindex = url.indexOf('?') == -1 ? url.length : url.indexOf('?'); + var openUrl = url.substring(0, sindex); + var paramStr = url.substring(sindex+1); + var jsonData = {}; + var parray = paramStr.split('&') + for(var i=0;i 0) { + jsonData[subArray[0]] = subArray[1]; + } + } + } + clicked(openUrl,true,false,{},jsonData) + }); + } + } } @@ -116,13 +144,32 @@ document.addEventListener("plusready", function() { } }); } else if (payload.type == "2") { - plus.ui.alert(title+"\n"+content,function(){ - openUrl(BASE_PATH+'/message/openView?url='+payload.url); - }); + if (payload.url.startWith("http")) { + plus.ui.alert(content,function(){ + clicked('views/webview_embed.html', true,false,{},{url:payload.url}) + }); + } else { + // 处理打开app中的二级页面,一级页面在type=1中已经处理了,如果有http的地址就是打开外部页面 + // 否则就是打开app内部页面 + plus.ui.alert(content,function(){ + var url = payload.url; + var sindex = url.indexOf('?') == -1 ? url.length : url.indexOf('?'); + var openUrl = url.substring(0, sindex); + var paramStr = url.substring(sindex+1); + var jsonData = {}; + var parray = paramStr.split('&') + for(var i=0;i 0) { + jsonData[subArray[0]] = subArray[1]; + } + } + } + clicked(openUrl,true,false,{},jsonData) + }); + } } }, false); }, false); -function openUrl(url){ - clicked(url,true); -} \ No newline at end of file From 8bdb72b8e76f3c34aabe7c49a5559e69247cd48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Mon, 21 May 2018 12:01:35 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/config.js | 4 +- fangija-zsyf/css/main.css | 58 +++++----- fangija-zsyf/images/icon-chart01_common.png | Bin 0 -> 594 bytes fangija-zsyf/images/icon-chart01a_common.png | Bin 0 -> 920 bytes fangija-zsyf/js/district/districtDetail.js | 101 +++++++++++------- fangija-zsyf/main.html | 2 +- fangija-zsyf/views/city/regionRanking.html | 11 +- fangija-zsyf/views/district/detail.html | 6 +- fangija-zsyf/views/house/cityDownRanking.html | 2 +- fangija-zsyf/views/house/cityRanking.html | 8 +- .../views/house/cityRankingAvgPrice.html | 8 +- .../views/house/cityRankingPotential.html | 11 +- fangija-zsyf/views/house/cityUpRanking.html | 2 +- fangija-zsyf/views/house/detail.html | 4 +- fangija-zsyf/views/house/houseDetail.html | 10 +- fangija-zsyf/views/house/houseManageList.html | 6 +- fangija-zsyf/views/news/newsDetail.html | 2 +- fangija-zsyf/views/user/userInfo.html | 2 +- fangija-zsyf/yfindex.html | 6 +- 19 files changed, 140 insertions(+), 103 deletions(-) create mode 100644 fangija-zsyf/images/icon-chart01_common.png create mode 100644 fangija-zsyf/images/icon-chart01a_common.png diff --git a/fangija-zsyf/config.js b/fangija-zsyf/config.js index 4f9f15a..4380bdf 100644 --- a/fangija-zsyf/config.js +++ b/fangija-zsyf/config.js @@ -1,9 +1,9 @@ /**服务端地址**/ -var BASE_PATH = "http://youfang.fangjia.com"; +//var BASE_PATH = "http://youfang.fangjia.com"; //var BASE_PATH = "http://192.168.10.128:8084"; //var BASE_PATH = "http://192.168.10.164:8084"; //var BASE_PATH = "http://192.168.10.53:8084"; -//var BASE_PATH = "http://192.168.10.47:8086"; +var BASE_PATH = "http://192.168.10.47:8086"; //var BASE_PATH = "http://192.168.10.161:8084"; //var BASE_PATH = "http://192.168.10.170:8084"; //var BASE_PATH = "http://192.168.10.171:8084"; diff --git a/fangija-zsyf/css/main.css b/fangija-zsyf/css/main.css index 39cb17c..d11b482 100644 --- a/fangija-zsyf/css/main.css +++ b/fangija-zsyf/css/main.css @@ -7,6 +7,7 @@ ul li{list-style:none;} img{display:block;} a{color:#F18D00;} a:active{color:#F18D00;} +input{line-height:inherit;} em{font-style:normal;color:#333;} /* em.up{color:#EB5F34;} @@ -490,10 +491,11 @@ input::-webkit-input-placeholder{ .cardInfo01{color:#333;} .cardInfo01 > img{width:100%;} .cardInfo01 span{font-size:0.6rem;color:#666;} -.cardInfo01 .card-header{padding:0;font-size:0.85rem;} -.cardInfo01 .card-content-inner{padding:0;} -.cardInfo01 .card-footer{padding:0;} +.cardInfo01 .card-header{padding:0.5rem 0;font-size:0.85rem;} +.cardInfo01 .card-content-inner{padding:0.5rem 0;} +.cardInfo01 .card-footer{padding:0.5rem 0;} +.cardInfo01a .card-content-inner{padding:0;} .cardInfo01a .card-content-inner .tag{display:block;margin-bottom:0.5rem;} .cardInfo01a .card-content-inner .tag small{margin-left:0;margin-right:0.2rem;} .cardInfo01a .card-footer span{font-size:0.7rem;color:#999;text-align:left;width:50%;} @@ -501,13 +503,6 @@ input::-webkit-input-placeholder{ .cardInfo01a .card-footer span strong{font-size:0.75rem;color:#333;font-weight:normal;} .tag small{height:0.9rem;border:solid 1px #FFD038;border-radius:2px;padding:0 5px;font-size:80%;color:#F5A100;line-height:0.9rem;margin-left:0.2rem;display:inline-block;} -/* -.tag small:nth-child(1){background:#E7F2FF;color:#76A5DD;margin-left:0;} -.tag small:nth-child(2){background:#E6F9E6;color:#6FBA6F;} -.tag small:nth-child(3){background:#FDF3DD;color:#E8AF27;} -.tag small:nth-child(4){background:#FDE9E2;color:#DD7B57;} -.tag small:nth-child(5){background:#F5EFFF;color:#A585D6;} -*/ .cardInfo01b .card-footer span{font-size:0.7rem;color:#999;display:inline-block;width:100%;word-wrap:break-word;white-space:normal;} @@ -553,7 +548,7 @@ input::-webkit-input-placeholder{ /* 资讯 */ .content-padded{margin:0.75rem;} .content-padded h1{font-size:1.1rem;line-height:1.6rem;letter-spacing:0.11rem;} -.content-padded p{font-size:0.8rem;line-height:1.5rem;letter-spacing:0.06rem;text-align:justify;clear:both;overflow:hidden;} +.content-padded p{font-size:0.8rem;color:#333;line-height:1.5rem;letter-spacing:0.06rem;text-align:justify;clear:both;overflow:hidden;} .content-padded p span{margin-left:1rem;} .content-padded p small{font-size:0.65rem;color:#999;line-height:0.9rem;letter-spacing:0.07rem;float:left;} .content-padded img{width:100%;} @@ -620,14 +615,14 @@ input::-webkit-input-placeholder{ .top{width:100%;padding:0.75rem 0.5rem;border-bottom:solid 1px #e7e7e7;overflow:hidden;position:absolute;top:0;z-index:10;} .top.bar{height:auto;} .top.bar ~ .content{top:66px;} -.top .searchBox{background:#EFEFEF;border-radius:0.25rem;overflow:hidden;padding:0.3rem 0;} -.top .searchBox .cityChoice{float:left;margin-left:0.5rem;margin-right:0.5rem;} -.top .searchBox .cityChoice a{color:#333;display:inline-block;} -.top .searchBox .cityChoice i{width:10px;height:5px;background:url(../images/arrow_select.png) no-repeat center center;background-size:100%;display:inline-block;vertical-align:middle;margin-left:0.2rem;} -.top .searchBox span{float:left;border-left:solid 1px #e0e0e0;overflow:hidden;} -.top .searchBox span input{width:85%;background:none;padding-left:0.25rem;display:inline-block;vertical-align:text-bottom;border:none;font-size:0.7rem;} -.top .searchBox span i{width:16px;height:16px;background:url(../images/search.png) no-repeat left center;background-size:100%;display:inline-block;vertical-align:text-bottom;margin-left:0.3rem;} -.top .searchBox .cancel{float:right;color:#2db0fc;} +.top .icon{color:#b4b4b4;padding:0;} +.top .searchBox{background:#EFEFEF;border-radius:0.25rem;padding:0.3rem 0;position:relative;} +.top .searchBox .cityChoice{width:24%;margin-left:0.5rem;border-right:solid 1px #e0e0e0;position:absolute;left:0;top:0.3rem;z-index:100;} +.top .searchBox .cityChoice a{color:#333;display:inline-block;vertical-align:middle;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.top .searchBox .cityChoice i{font-size:0.5rem;right:-0.3rem;} +.top .searchBox span{width:100%;display:block;position:relative;} +.top .searchBox span i{font-size:0.9rem;left:34%;padding-left:0.2rem;} +.top .searchBox span input{width:90%;background:none;border:none;padding-left:35%;display:inline-block;vertical-align:middle;} .top01{background:#fff;border-bottom:solid 1px #e7e7e7;padding:0 0.5rem;} .top01 .searchBox{background:none;} @@ -872,8 +867,11 @@ input::-webkit-input-placeholder{ #chart01{height:270px;} #chart01a{height:270px;} .topic .topicTitle > div.icon01Box{overflow:hidden;float:none;display:inline-block;vertical-align:middle;margin-left:-0.5rem;} -.icon-chart01a{width:1.1rem;height:1rem;background:url(../images/icon-chart01a.png) no-repeat center center;background-size:45%;float:left;padding:0 1rem;} -.icon-chart01{width:1.1rem;height:1rem;background:url(../images/icon-chart01.png) no-repeat center center;background-size:45%;float:left;padding:0 1rem;} +.icon-chart01a{width:1.1rem;height:1rem;background:url(../images/icon-chart01a.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;} +.icon-chart01{width:1.1rem;height:1rem;background:url(../images/icon-chart01.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;} + +.icon-chart01a-no{width:1.1rem;height:1rem;background:url(../images/icon-chart01a_common.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;} +.icon-chart01-no{width:1.1rem;height:1rem;background:url(../images/icon-chart01_common.png) no-repeat center center;background-size:55%;float:left;padding:0 0.8rem;} .scoreBox{height:130px;position:relative;} .score{width:250px;height:250px;margin:0 auto;margin-top:1rem;} @@ -1022,19 +1020,12 @@ input::-webkit-input-placeholder{ .cardRankingBox01 .cardRanking{width:33.33%;border:none;border-radius:0;margin:0;} .cardRankingBox01 .cardRanking:last-child{border-right:none;} .cardRankingBox01 .cardRanking .card-header:first-child{border-right:none;padding:0;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;} -.cardRankingBox01 .cardRanking .card-header{border-right:solid 1px #e7e7e7;padding-top:0;} +.cardRankingBox01 .cardRanking .card-header{border-right:solid 1px #e7e7e7;padding-top:0;color:#333;} .cardRankingBox01 .cardRanking .card-header em{font-size:0.85rem;color:#F18D00;margin-right:0.2rem;} .cardRankingBox01 .cardRanking .card-content-inner{color:#999;border-right:solid 1px #e7e7e7;} .cardRankingBox01 .cardRanking .card-footer{padding:0;border-right:solid 1px #e7e7e7;} .cardRankingBox01 .cardRanking .card-footer em{color:#EB5F34;} -/* -.swiper-container{height:auto;padding-bottom:0;} -.swiper-pagination-bullet{background:none;border:solid 1px #d7d7d7;opacity:1;} -.swiper-pagination-bullet-active{background:#F18D00;border:solid 1px #F18D00;} -.swiper-container-horizontal > .swiper-pagination{top:11.2rem;bottom:inherit;} -*/ - /* 贷款 */ .banner{width:100%;height:80px;background:url(../images/banner.png);background-size:100%;margin-bottom:0.5rem;} .banner .content-block{padding:0 2rem;padding-top:1rem;} @@ -1409,6 +1400,9 @@ input[type=range]::-webkit-slider-thumb { /* 自适应 */ @media(max-width:414px){ + .top .searchBox .cityChoice{width:24%;} + .top .searchBox span i{left:28%;} + .top .searchBox span input{padding-left:29%;} .list-block .item-title span.c3a{max-width:220px;} .textAlignLeft{left:88px;} .textAlignLeft01{left:110px;} @@ -1427,6 +1421,9 @@ input[type=range]::-webkit-slider-thumb { .guideBox02 .link{margin-top:17.7rem;} } @media(max-width:375px){ + .top .searchBox .cityChoice{width:26%;} + .top .searchBox span i{left:29%;} + .top .searchBox span input{padding-left:30%;} .list-block .item-title span.c3a{max-width:180px;} label.spacing01{margin-right:11px;} label.spacing02{margin-right:12px;} @@ -1439,6 +1436,9 @@ input[type=range]::-webkit-slider-thumb { .rangeNote span.span05{margin-right:13%;} } @media(max-width:320px){ + .top .searchBox .cityChoice{width:30%;} + .top .searchBox span i{left:34%;} + .top .searchBox span input{padding-left:35%;} .topic .topicTitle{font-size:0.75rem;} .list-block .item-title span.c3a{max-width:112px;} .list-block .item-title label{max-width:100px;} diff --git a/fangija-zsyf/images/icon-chart01_common.png b/fangija-zsyf/images/icon-chart01_common.png new file mode 100644 index 0000000000000000000000000000000000000000..0cee2f161b6aafa2ff1f0b551e5090d5827e7e5f GIT binary patch literal 594 zcmV-Y0FopdTyGAfX5Udrk zw2>5|AS&8L5hWlf2z$FD3n!dQ;_Y5uNQ8Uk+kG>?{bt_GECE17&X7EKTud=<( zS{wjf2XGC*1#9iXI56#Y`z(N2Rb32%;PE&%vNO(rL}VVoO;w$**Xy??KzRkWj6x!E z62N5u2LT)f@Dji~l6Q}2j9DDskD{mxVA>dSZY|KlKqB&p zC>Y#=d4w(~$ zq9|Hc)!jLXm#noX{#zgsxl8hZs-7Y_1>h-wZ^oER-M`kzq;{c@h%5m(mh-)At=&5T z8synTp?_9tr#aN=bdDrRGDY$Q$**ae&iKCnvsSCU$->d?c6apq{rvzglDtClcABOO zl}hDfwOU{%kI0%B*rEi%FpdlOX zdRZ8ThgCIhG#YPLYm7zaAt$Y)=sYt48l_Ybg~Bl0=XsuQt^Kg>dB_FOC>z=Hkt<807*qoM6N<$f`J_qfdBvi literal 0 HcmV?d00001 diff --git a/fangija-zsyf/images/icon-chart01a_common.png b/fangija-zsyf/images/icon-chart01a_common.png new file mode 100644 index 0000000000000000000000000000000000000000..581d3a2341943882197d6819681e6d1d5ea057ea GIT binary patch literal 920 zcmV;J184k+P)aPRu=j1|-h1wE ze)r6|yF<9n8aWvew2TQZmN8+XZSc&^6SU5@8rVB_ijw)@NK_ zM-5F)P2HHw<<0`w?s?vWg+gJWqd?4j7{D7uw4k-#*HJ_B^Ygc^tgQS3;AW-Ne&6?x zZ5b#Cg6(k}=ZeLm)4ip}%&x=~0UR~PJh>61tu33Io4c)At%gMO^p&R}TBy}(`LVIF zU)!Ow*6xnu_zV%b^#_bG-?a@ChGCzGoDh+F08{`}0c->C!`j-~-eR%1lopDazXI^6 zJ0y%TFV)XWWk^KGT6+}0V*tL+X0r#DmX@lSOy(qj`vJUVjCnN;5Hmjy;C%pp0=U;0 zbFpn8Ywe37GAAOx)oQi-N~O{T7o=P+@9{iu0YEL2$=o?IGIG8ZRJmNf#q+%H0rV-Q zjPLulaeSho^;+>0fPSUapzr%f>Vq)zM*yBnW64_ko`@U-a7t_a5D`h+K-StF@79 zD1%M}rsHC-ir&XXjOIH_V z<{bb&2e8|{oy*J1`^U$}|K1YN?Ck6vtE;Q$0IYhRcYC2waIb08Ha$IkR}@93-BCb9 zZfnnp$P4Zoz+yI=eSBzW=#Qk*(9}>Eh7)ldznMn!#v;u82!Kxj^se6%5&57}shEk0 ziRC01*WVO~nHK>(Kt#`Itv^i@Y(1Y`&g22y5XbSc(b3Uw)6Q)QG&3`EQxrum5qI?V z_V(rT`C2 .mui-bar-tab{background:#fff;box-shadow:none;} .mui-bar-tab .mui-tab-item{border-top:solid 1px #e7e7e7;} - .mui-bar-tab .mui-tab-item .mui-icon{font-size:1.4rem;color:#C3C0BC;} + .mui-bar-tab .mui-tab-item .mui-icon{font-size:1.1rem;color:#C3C0BC;} .mui-bar-tab .mui-tab-item.mui-active .mui-icon{color:#F18D00;} .mui-bar-tab .mui-tab-item .mui-icon~.mui-tab-label{color:#C3C0BC;} .mui-bar-tab .mui-tab-item.mui-active .mui-icon~.mui-tab-label{color:#F18D00;} diff --git a/fangija-zsyf/views/city/regionRanking.html b/fangija-zsyf/views/city/regionRanking.html index 99ee596..0e44e81 100644 --- a/fangija-zsyf/views/city/regionRanking.html +++ b/fangija-zsyf/views/city/regionRanking.html @@ -69,8 +69,15 @@
{{info.region}}
{{info.avgPrice}}元/㎡
-
{{info.oneMonthUpDownRange}}%
-
{{info.oneMonthUpDownRange}}%
+
+ {{info.oneMonthUpDownRange}}% +
+
+ {{info.oneMonthUpDownRange}}% +
+
+ 暂无 +
diff --git a/fangija-zsyf/views/district/detail.html b/fangija-zsyf/views/district/detail.html index 1fd5244..8e42757 100644 --- a/fangija-zsyf/views/district/detail.html +++ b/fangija-zsyf/views/district/detail.html @@ -124,8 +124,8 @@
均价  
- - + +
@@ -285,7 +285,7 @@ $.config = {router: false} var address; var tags; var baseInfo; - + var rid; var shareUrl = BASE_PATH+"/district/districtDetail?"; var sharehrefTitle = "小区名"; var sharehrefDes = "小区详情介绍!"; diff --git a/fangija-zsyf/views/house/cityDownRanking.html b/fangija-zsyf/views/house/cityDownRanking.html index ec1cce6..2cb0fd4 100644 --- a/fangija-zsyf/views/house/cityDownRanking.html +++ b/fangija-zsyf/views/house/cityDownRanking.html @@ -26,7 +26,7 @@
-
{{item.city}}
-
{{item.avgPrice}}元/㎡
+
{{item.avgPrice}}元/㎡
+
暂无
@@ -161,7 +162,7 @@ $.config = {router: false} var pageBean=new Vue({ data:{ - pageNo:1, + pageNo:2, pageSize:10 } }); @@ -237,7 +238,7 @@ $(function() { .then(function (response) { tableList.end = response.data.data.end; tableList.list = tableList.list.concat(response.data.data.list); - if(pageBean.pageNo==1){ + if(pageNo==1){ tableList.avgPrice = response.data.data.list[0].avgPrice; tableList.city = response.data.data.list[0].city; tableList.index = response.data.data.list[0].index; @@ -249,7 +250,7 @@ $(function() { }); } //预先加载10条 - addItems(1, 10); + addItems(1, 20); // 上次加载的序号 var lastIndex = 10; diff --git a/fangija-zsyf/views/house/cityUpRanking.html b/fangija-zsyf/views/house/cityUpRanking.html index e0b3fa7..e55da53 100644 --- a/fangija-zsyf/views/house/cityUpRanking.html +++ b/fangija-zsyf/views/house/cityUpRanking.html @@ -27,7 +27,7 @@
- diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index e1d11b6..9d90c43 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -434,7 +434,7 @@ function selectUserInfo(){ var mobile = result.mobile; //加载个人信息时候为该变量赋值 _mobile = result.mobile; - $('#user_mobile').html(mobile.substring(0,3)+'****'+mobile.substring(7)+'
'); + $('#user_mobile').html('
'+mobile.substring(0,3)+'****'+mobile.substring(7)+''); if(result.headImg != null && result.headImg.length > 0){ $('#user_headImg').attr('src', result.headImg); } diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index f11d27d..b20fe7b 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -37,8 +37,8 @@