Explorar el Código

zhengceliebial

“liting hace 6 años
padre
commit
db4129cc89
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      src/css/newMenu/public.css
  2. 2 2
      src/js/thinkTank/policyList.js

+ 1 - 1
src/css/newMenu/public.css

@@ -724,7 +724,7 @@ a:active{text-decoration:none;}/* 指正在点的链接*/
 	text-align: center;
 	height: auto;
 	background: #ffffff;
-	z-index: 999;
+	z-index: 9999999999999999;
 	box-shadow: 0 0 4px rgb(228, 225, 225);
 }
 .pub_fix ul li:first-child{

+ 2 - 2
src/js/thinkTank/policyList.js

@@ -70,14 +70,14 @@ $(function () {
 						var title = thisdata.title; //标题
 						var timeAll =new Date(thisdata.releaseDate)
 						var time = timeAll.toLocaleDateString();
-						var day = timeAll.getDate(); //号
+						var day = timeAll.getDate()>9?timeAll.getDate():'0'+timeAll.getDate() //号
 						var month =timeAll.getFullYear()+'-'+ timeAll.getMonth(); //年、月
 						var summary = thisdata.summary; //简介
 						if (summary == null) {
 							summary == '暂无内容'
 						};
 						var sol = '';
-						var srctt = globalConfig.context + '/portal/news/newsDetail.html?id=' + id;
+						var srctt = globalConfig.context + '/portal/news/newsDetail.html?id=' + id+'&type=0';
 						theArr.push([
 							'<li value="' + id + '">',
 							'<div class="policy_time">',