|
|
@@ -107,7 +107,7 @@
|
|
107
|
107
|
<div style="position: relative;">
|
|
108
|
108
|
<ul class="new_list GZ"></ul>
|
|
109
|
109
|
</div>
|
|
110
|
|
- <a href="dongtai.html" style="color: #d2905b; font-size: 17px;position: absolute;bottom: 0px;right: 0;">更多>></a>
|
|
|
110
|
+ <a href="newsList.html?type=1" style="color: #d2905b; font-size: 17px;position: absolute;bottom: 0px;right: 0;">更多>></a>
|
|
111
|
111
|
</div>
|
|
112
|
112
|
</div>
|
|
113
|
113
|
</div>
|
|
|
@@ -194,7 +194,7 @@
|
|
194
|
194
|
通知通告
|
|
195
|
195
|
</div>
|
|
196
|
196
|
<div class="rl mores" style="padding-top: 10px;">
|
|
197
|
|
- <a href="gonggao.html">更多>></a>
|
|
|
197
|
+ <a href="newsList.html?type=6">更多>></a>
|
|
198
|
198
|
</div>
|
|
199
|
199
|
</div>
|
|
200
|
200
|
</div>
|
|
|
@@ -235,7 +235,7 @@
|
|
235
|
235
|
民情速递
|
|
236
|
236
|
</div>
|
|
237
|
237
|
<div class="rl mores" style="padding-top: 10px;">
|
|
238
|
|
- <a href="PeopleNews.html">更多>></a>
|
|
|
238
|
+ <a href="newsList.html?type=2">更多>></a>
|
|
239
|
239
|
</div>
|
|
240
|
240
|
</div>
|
|
241
|
241
|
</div>
|
|
|
@@ -243,6 +243,21 @@
|
|
243
|
243
|
<ul class="new_list MQ"></ul>
|
|
244
|
244
|
</div>
|
|
245
|
245
|
</div>
|
|
|
246
|
+ <div class="Con_box">
|
|
|
247
|
+ <div class="Con_PG">
|
|
|
248
|
+ <div class="content_title ms_content_title clearfix ">
|
|
|
249
|
+ <div class="fl">
|
|
|
250
|
+ 政策解读
|
|
|
251
|
+ </div>
|
|
|
252
|
+ <div class="rl mores" style="padding-top: 10px;">
|
|
|
253
|
+ <a href="newsList.html?type=7">更多>></a>
|
|
|
254
|
+ </div>
|
|
|
255
|
+ </div>
|
|
|
256
|
+ </div>
|
|
|
257
|
+ <div class="content_foot ms_new_listBox">
|
|
|
258
|
+ <ul class="new_list ZC"></ul>
|
|
|
259
|
+ </div>
|
|
|
260
|
+ </div>
|
|
246
|
261
|
</div>
|
|
247
|
262
|
|
|
248
|
263
|
</div>
|
|
|
@@ -293,7 +308,7 @@
|
|
293
|
308
|
政策法规
|
|
294
|
309
|
</div>
|
|
295
|
310
|
<div class="rl mores" style="padding-top: 10px;">
|
|
296
|
|
- <a href="zhengce.html">更多>></a>
|
|
|
311
|
+ <a href="newsList.html?type=4">更多>></a>
|
|
297
|
312
|
</div>
|
|
298
|
313
|
|
|
299
|
314
|
</div>
|
|
|
@@ -445,6 +460,7 @@
|
|
445
|
460
|
$.support.cors = true;
|
|
446
|
461
|
Image(); //图片轮播
|
|
447
|
462
|
People(); //民情速递
|
|
|
463
|
+ ZhengCe(); //政策解读
|
|
448
|
464
|
Work(); //工作动态
|
|
449
|
465
|
Policy(); //政策法规
|
|
450
|
466
|
Announcemen(); //通知通告
|
|
|
@@ -574,25 +590,6 @@
|
|
574
|
590
|
var result = JSON.parse(result);
|
|
575
|
591
|
if(result.state.toLowerCase() == "success") {
|
|
576
|
592
|
var content = result.data;
|
|
577
|
|
-
|
|
578
|
|
- /*$('<div class="content_title clearfix">'+
|
|
579
|
|
- '<div class="fl">'+
|
|
580
|
|
- '通知通告'+
|
|
581
|
|
- '</div>'+
|
|
582
|
|
- '<div class="rl mores">'+
|
|
583
|
|
- '<a href="gonggao.html">'+
|
|
584
|
|
- '更多'+
|
|
585
|
|
- '</a>'+
|
|
586
|
|
- '</div>'+
|
|
587
|
|
- '</div>'+
|
|
588
|
|
- '<div class="content_moddile" style="padding-left: 15px;">' +
|
|
589
|
|
- '<span class="cont_modtitle">' + content[0].bt + '</span>' +
|
|
590
|
|
- '<div class="cont_wz s-14">' +
|
|
591
|
|
- '' + content[0].bt + '' +
|
|
592
|
|
- '<a href="gonggao-con.html?id=' + content[0].id + '" title=' + content[0].bt + '>[详情]</a>' +
|
|
593
|
|
- '</div>' +
|
|
594
|
|
- '<div class="fx"></div>' +
|
|
595
|
|
- '</div>').appendTo(".Con_boxs");*/
|
|
596
|
593
|
for(var i = 0; i < content.length; i++) {
|
|
597
|
594
|
var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
|
|
598
|
595
|
$('<li>' +
|
|
|
@@ -723,15 +720,14 @@
|
|
723
|
720
|
cache: false,
|
|
724
|
721
|
// dataType: 'json',
|
|
725
|
722
|
data: {
|
|
726
|
|
- type: 2,
|
|
727
|
|
- num: 11
|
|
|
723
|
+ type: 2
|
|
728
|
724
|
},
|
|
729
|
725
|
success: function(result) {
|
|
730
|
726
|
var result = JSON.parse(result);
|
|
731
|
727
|
var content = result.data;
|
|
732
|
728
|
|
|
733
|
729
|
$.each(result.data, function(j, n) {
|
|
734
|
|
- if(j < 7) {
|
|
|
730
|
+ if(j < 3) {
|
|
735
|
731
|
var strs = "";
|
|
736
|
732
|
var time = n.sj.substring(0, n.sj.indexOf(' '));
|
|
737
|
733
|
if(j % 2 == 0) {
|
|
|
@@ -750,28 +746,49 @@
|
|
750
|
746
|
}
|
|
751
|
747
|
|
|
752
|
748
|
})
|
|
753
|
|
- // for (var i = 0; i < content.length; i++) {
|
|
754
|
|
- // var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
|
|
755
|
|
- // var strs="";
|
|
756
|
|
- // if(i%2==0){
|
|
757
|
|
- // strs+='<li class="active">'
|
|
758
|
|
- // }else{
|
|
759
|
|
- // strs+='<li>'
|
|
760
|
|
- // }
|
|
761
|
|
- // strs+= '<div class="new_title clearfix">' +
|
|
762
|
|
- // '<h1 class="fl s-14">' +
|
|
763
|
|
- // '<a href="minqing-con.html?id=' + content[i].id + '" title=' + content[i].id + '><strong>·</strong>' + content[i].bt + '</a>' +
|
|
764
|
|
- // '</h1>' +
|
|
765
|
|
- // '<em class="rl s-14">' + time + '</em>' +
|
|
766
|
|
- // '</div>' +
|
|
767
|
|
- // '</li>';
|
|
768
|
|
- // $(".MQ").append(strs);
|
|
769
|
|
- // }
|
|
770
|
749
|
}
|
|
771
|
750
|
|
|
772
|
751
|
});
|
|
773
|
752
|
}
|
|
|
753
|
+ //政策解读
|
|
|
754
|
+ function ZhengCe() {
|
|
|
755
|
+ $.ajax({
|
|
|
756
|
+ type: "get",
|
|
|
757
|
+ url: huayi.config.callcenter_url + "Web/GetTopNewsList",
|
|
|
758
|
+ async: true,
|
|
|
759
|
+ cache: false,
|
|
|
760
|
+ // dataType: 'json',
|
|
|
761
|
+ data: {
|
|
|
762
|
+ type: 7
|
|
|
763
|
+ },
|
|
|
764
|
+ success: function(result) {
|
|
|
765
|
+ var result = JSON.parse(result);
|
|
|
766
|
+ var content = result.data;
|
|
774
|
767
|
|
|
|
768
|
+ $.each(result.data, function(j, n) {
|
|
|
769
|
+ if(j < 3) {
|
|
|
770
|
+ var strs = "";
|
|
|
771
|
+ var time = n.sj.substring(0, n.sj.indexOf(' '));
|
|
|
772
|
+ if(j % 2 == 0) {
|
|
|
773
|
+ strs += '<li class="active">'
|
|
|
774
|
+ } else {
|
|
|
775
|
+ strs += '<li>'
|
|
|
776
|
+ }
|
|
|
777
|
+ strs += '<div class="new_title clearfix">' +
|
|
|
778
|
+ '<h1 class="fl s-14">' +
|
|
|
779
|
+ '<a href="minqing-con.html?id=' + n.id + '" title="' + n.bt + '"><strong>·</strong>' + n.bt + '</a>' +
|
|
|
780
|
+ '</h1>' +
|
|
|
781
|
+ '<em class="rl s-14">' + time + '</em>' +
|
|
|
782
|
+ '</div>' +
|
|
|
783
|
+ '</li>';
|
|
|
784
|
+ $(".ZC").append(strs);
|
|
|
785
|
+ }
|
|
|
786
|
+
|
|
|
787
|
+ })
|
|
|
788
|
+ }
|
|
|
789
|
+
|
|
|
790
|
+ });
|
|
|
791
|
+ }
|
|
775
|
792
|
//实时统计
|
|
776
|
793
|
function statistics() {
|
|
777
|
794
|
var totalCount = 0;
|