Browse Source

用户浏览激活状态

luyanan 7 years ago
parent
commit
6128a71b1b
4 changed files with 11 additions and 14 deletions
  1. 1 1
      css/genindex.css
  2. 2 2
      js/index.js
  3. 7 10
      js/userInforShow.js
  4. 1 1
      userInforShow.html

+ 1 - 1
css/genindex.css

@ -722,7 +722,7 @@ div.zoomMask{position:absolute;background:url("../images/g-resource-mask.png") r
722 722
/*统计数据*/
723 723
.statisticsBox.last_meg{height:150px;}
724 724
.statisticsBox span{font-size: 20px;color:#333}
725
.statisticsBox p{font-size: 14px;color:#999;margin-bottom:10px;}
725
.statisticsBox p{font-size: 13px;color:#999;margin-bottom:10px;}
726 726
.statisticsBox p>em{font-style: normal;}
727 727
.statisticsBox p>a{color: #FF9900;cursor: pointer;}
728 728
.statisticsBox .wayTel{font-size: 13px;font-weight: bold;color: #399A9B}

+ 2 - 2
js/index.js

@ -131,12 +131,12 @@ $(function(){
131 131
		});
132 132
	}
133 133
	
134
	var thisTabcon=$(".con-ultab>li:first-child").text();
135
	$(".con-ultab>li").eq(0).addClass("liNow");
136 134
	ruZhuCmp()
137 135
	resShare()
138 136
	hotArea()
139 137
	carouselThis()
138
	var thisTabcon=$(".con-ultab>li:first-child").text();
139
	$(".con-ultab>li").eq(0).addClass("liNow");
140 140
	proShow(thisTabcon)
141 141
	
142 142
	$(".con-ultab").on("click","li",function(){

+ 7 - 10
js/userInforShow.js

@ -181,19 +181,16 @@ $(function() {
181 181
				"success": function(data) {
182 182
					if(data.success){
183 183
						console.log(data);
184
						if(data.data.activeTime==null){
184
						if(!data.data.activeTime){
185 185
							$(".last_meg").removeClass("displayNone");
186 186
							$(".message_b").on("click",function(){
187 187
								$(".meg_md5").toggle();
188
								if(data.data.email && data.data.obilePhone){
189
								 	$("#wayTel").text('通过尾号为 '+data.data.obilePhone+' 的手机号或邮箱 '+data.data.email+'');
190
								}
191
								if(data.data.obilePhone){
192
									$("#wayTel").text('通过尾号为'+data.data.obilePhone+' ');
193
								}
194
								if(data.data.email){
195
									$("#wayTel").text('邮箱 '+data.data.email+' ');
196
									
188
								if(data.data.email && data.data.mobilePhone){
189
								 	$("#wayTel").text('尾号为 '+data.data.mobilePhone+' 的手机号或邮箱 '+data.data.email);
190
								}else if(data.data.mobilePhone && !data.data.email){
191
									$("#wayTel").text('尾号为 '+data.data.mobilePhone+' 的手机号');
192
								}else if(data.data.email && !data.data.mobilePhone){
193
									$("#wayTel").text('邮箱 '+data.data.email);
197 194
								}
198 195
							})
199 196
						}else{

+ 1 - 1
userInforShow.html

@ -518,7 +518,7 @@
518 518
				</div>
519 519
				<div class="statisticsBox last_meg displayNone">
520 520
					<p> 如果此主页展示的是您的信息,请<a class="message_b"> 点击这里</a></p>
521
					<p class="meg_md5 displayNone">您可以通过<span class="wayTel" id="wayTel"></span><a href="pwdFindNew.html"> 找回密码</a>,获取您的账户。</p>
521
					<p class="meg_md5 displayNone">您可以通过 <span class="wayTel" id="wayTel"></span><a href="pwdFindNew.html"> 找回密码</a>,获取您的账户。</p>
522 522
				</div>
523 523
			</div>
524 524
		</div>