Răsfoiți Sursa

Merge branch 'dev2.10.11' of http://192.168.3.207:10080/qmx/jy into dev2.10.11

zhangyuhan 5 ani în urmă
părinte
comite
dd92947102

+ 21 - 8
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -121,7 +121,7 @@ pre {
 }
 .toolbar{
 	font-size: 13px;
-	margin:10px 10px 25px;
+	margin:10px 10px 16px;
 }
 .toolbar .tool_top{
 	height: 20px;
@@ -695,10 +695,16 @@ ul {
 }
 #tab1 .itemInfo>ul>li p.textcontent {
     width: 4.2rem;
+	line-height: 20px;
+	font-size: 14px;
+	color: #171826;
 }
 #tab1 .itemInfo>ul>li p.name {
-    width: 1.8rem;
+    width: 1.6rem;
     margin-right: .15rem;
+	color: #5F5E64;
+	font-size: 14px;
+	line-height: 20px;
 }
 #tab1 .itemInfo>ul>li p {
     margin-bottom: 0px !important;
@@ -1125,7 +1131,7 @@ ul {
 
 			</div>
 		{{end}}
-		<div class="lead-btn" style="height: 1.2rem;background: #F5F6F7;border-radius: 8px; color:#2cb7ca;margin-top: 16px;display:none; align-items: center;padding: 0 .32rem;" onclick="adv_statistics(this)">
+		<div class="lead-btn" style="height: 1.36rem;background: #F5F6F7;border-radius: 8px; color:#2cb7ca;margin-top: 16px;display:none; align-items: center;padding: 0 .32rem;" onclick="adv_statistics(this)">
 			<a class="adv_dataexprt" style="width: .48rem; height: .48rem;margin-right: .24rem;display: flex;"></a>
 			<a class="adv_center" style="display: flex;flex-direction: column;flex: 1;">
 				<div class="join">
@@ -1254,17 +1260,24 @@ var tab2hh;
 function tabCh(n){
 	$(".tab"+n).addClass("active").siblings().removeClass("active");
 	if(n=="1"){
-    tab1hh=$(".info").outerHeight(true)+25;
-		$(".app-layout-content-b").scrollTop(tab1hh);
+    // tab1hh=$(".info").outerHeight(true)+25;
+	// 	$(".app-layout-content-b").scrollTop(tab1hh);
+	$('#tab1').show()
+	$('.explain').show()
+		$('#tab2').hide()
 	}else{
-    tab2hh=$(".info").outerHeight(true)+$("#tab1").outerHeight(true)+$(".explain").outerHeight(true)+$(".lead-btn").outerHeight(true)+30;
-		$(".app-layout-content-b").scrollTop(tab2hh);
+    // tab2hh=$(".info").outerHeight(true)+$("#tab1").outerHeight(true)+$(".explain").outerHeight(true)+$(".lead-btn").outerHeight(true)+30;
+	// 	$(".app-layout-content-b").scrollTop(tab2hh);
+		$('#tab1').hide()
+		$('.explain').hide()
+		$('#tab2').show()
 	}
 	return false;
 }
 setTimeout(function(){
 		$(".tab1").addClass("active").siblings().removeClass("active");
 		$(window).scrollTop(0);
+		$('#tab2').hide()
 	},300)
 function execShare(thisIndex){
 	var shareType = thisIndex + 1;
@@ -1602,7 +1615,7 @@ $(".app-layout-content-b").scroll(function(event){
 		scrollFlag = false;
 	}
 	clearTimeout(timer) // 每次滚动前 清除一次
-    timer = setTimeout("pscp()", 200);
+    // timer = setTimeout("pscp()", 200);
 })
 
 function pscp(){

+ 25 - 5
src/web/templates/weixin/wxinfocontent_rec.html

@@ -83,7 +83,7 @@ pre {
 }
 .toolbar{
 	font-size: 13px;
-	margin:10px 10px 25px;
+	margin:10px 10px 16px;
 }
 .toolbar i{
 	margin-right: 2px;
@@ -498,6 +498,19 @@ pre {
 #tab1 .itemInfo>ul {
     padding:0 .32rem;
 }
+#tab1 .itemInfo>ul>li p.textcontent {
+    width: 4.2rem;
+	line-height: 20px;
+	font-size: 14px;
+	color: #171826;
+}
+#tab1 .itemInfo>ul>li p.name {
+    width: 1.6rem;
+    margin-right: .15rem;
+	color: #5F5E64;
+	font-size: 14px;
+	line-height: 20px;
+}
 .join{
   color:#171826;
   border-radius: 5px;
@@ -825,7 +838,7 @@ pre {
 			{{.T.rewardText}}
 			<button type="button" onclick="reward()" class="btn">打赏</button>
 		</center>
-		<div class="lead-btn" style="height: 1.2rem;background: #F5F6F7;border-radius: 8px; color:#2cb7ca;margin-top: 16px;display:none; align-items: center;padding: 0 .32rem;" onclick="adv_statistics(this)">
+		<div class="lead-btn" style="height: 1.36rem;background: #F5F6F7;border-radius: 8px; color:#2cb7ca;margin-top: 16px;display:none; align-items: center;padding: 0 .32rem;" onclick="adv_statistics(this)">
 			<a class="adv_dataexprt" style="width: .48rem; height: .48rem;margin-right: .24rem;display: flex;"></a>
 			<a class="adv_center" style="display: flex;flex-direction: column;flex: 1;">
 				<div class="join">
@@ -1281,9 +1294,15 @@ function rhwrong(){
 function tabCh(n){
 	$(".tab"+n).addClass("active").siblings().removeClass("active");
 	if(n=="1"){
-		$(window).scrollTop($("#tab"+n).offset().top-inithgt);
+		// $(window).scrollTop($("#tab"+n).offset().top-inithgt);
+		$('#tab1').show()
+		$('.explain').show()
+		$('#tab2').hide()
 	}else{
-		$(window).scrollTop($("#tab"+n).offset().top-inithgt);
+		// $(window).scrollTop($("#tab"+n).offset().top-inithgt);
+		$('#tab1').hide()
+		$('.explain').hide()
+		$('#tab2').show()
 	}
 	return false;
 }
@@ -1322,7 +1341,7 @@ $(window).scroll(function(event){
 		scrollFlag = false;
 	}
 	clearTimeout(timer) // 每次滚动前 清除一次
-    timer = setTimeout("pscp()", 200);
+    // timer = setTimeout("pscp()", 200);
 	if(isiOS){
 		/*if((m1-m3)>0.1){
 			if(!($(".recoveryerror").attr("style").indexOf("10px")>-1)){
@@ -1453,6 +1472,7 @@ $(function(){
 	setTimeout(function(){
 		$(".tab1").addClass("active").siblings().removeClass("active");
 		$(window).scrollTop(0);
+		$('#tab2').hide()
 	},300)
 	//公告摘要表格基本信息数据
 	var outhtml ='';