zouling il y a 3 ans
Parent
commit
5772ffb534
3 fichiers modifiés avec 7 ajouts et 5 suppressions
  1. 5 4
      index.html
  2. 2 0
      static/css/printstyle.css
  3. 0 1
      wshsj.html

+ 5 - 4
index.html

@@ -124,7 +124,7 @@
 								<li>
 									<el-carousel trigger="click" height="410px" class="hdyelaie" :autoplay ="true" indicator-position="none" v-if='imalisesmli.length'>
 										<el-carousel-item v-for="item,index in imalisesmli" :key="item.newsId" >
-											<a :href="item.reprintUrl?'item.reprintUrl':'jgjj.html?id=' + item.newsId + '&titel=' + item.newsTitle">
+											<a :href="item.reprintUrl?item.reprintUrl:'jgjj.html?id=' + item.newsId + '&titel=' + item.newsTitle">
 											<img style="width: 100%; height: 100%;"
 												:src="item.newsImage?'https://jyzx.qs163.cn' + '/prod-api' + item.newsImage:'https://jyzx.qs163.cn/prod-api/profile/upload/2022/01/21/caa82e76-5dc8-4dd8-a903-e4fa6a438eb8.png'" alt="" v-if="item.jeuhse == false">
 											</a>
@@ -162,7 +162,7 @@
 													<li v-for="item,index in newsxq" :key="index +'' + 'l'">
 														<p class="cf">
 															<span class="fr"><small>{{item.createTime}}</small></span>
-															<a :href="item.reprintUrl?'item.reprintUrl':'jgjj.html?id=' + item.newsId + '&titel=' + dheyw">{{item.newsTitle}}
+															<a :href="item.reprintUrl?item.reprintUrl:'jgjj.html?id=' + item.newsId + '&titel=' + dheyw">{{item.newsTitle}}
 															</a>
 														</p>
 													</li>
@@ -191,7 +191,7 @@
 													<li v-for="items,index in item.columnNewsList" :key="items.newsId" >
 														<p class="cf">
 															<span class="fr"><small>{{items.createTime}}</small></span>
-															<a :href="item.reprintUrl?'item.reprintUrl':'jgjj.html?id=' + items.newsId + '&titel=' + item.columnName"  >{{items.newsTitle}}</a>
+															<a :href="item.reprintUrl?item.reprintUrl:'jgjj.html?id=' + items.newsId + '&titel=' + item.columnName"  >{{items.newsTitle}}</a>
 														</p>
 													</li>
 												</ul>
@@ -680,7 +680,8 @@
 							if(e&&e.reprintUrl){
 								window.location.href=e.reprintUrl
 							}else{
-								window.location.href="djdt.html?" +'&titel=头条'   + '&ntitel=头条'  + '&openMode=0' 
+								// 头条跳转
+								window.location.href="jgjj.html?id="+e.newsId +'&titel=头条'
 							}					
 						},
 						// 网上送检跳转

+ 2 - 0
static/css/printstyle.css

@@ -56,6 +56,8 @@ overflow: hidden;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;white-space: normal;}
+.pf_list li a .fl img{    width: 100%;
+    margin-top: 20px;}
 .pf_list li a .num{background-color: #3A92E2;font-size: 30px;color: #FFFFFF;font-weight: bold;text-align: center;width: 70px;height: 70px;line-height: 70px;margin: 0 auto 10px;}
 .pf_list li a .day{font-size: 20px;
 color: #AAAAAA;text-align: center;}

+ 0 - 1
wshsj.html

@@ -252,7 +252,6 @@
 		$('body').click(function(e) {
 			var e = e || window.event; //浏览器兼容性   
 			var elem = e.target || e.srcElement; 
-			 // console.log(elem.id)
 			 while (elem) { 
 			    if(elem.id && elem.id == 'pw_selecta'||elem.id &&elem.id == 'pw_selectb'||elem.id &&elem.id == 'pw_selectc'||elem.id &&elem.id == 'pw_selectd') {  
 			        return;