| @@ -159,8 +159,8 @@ | |||||
| <script id="bannerFocusData" type="text/html"> | <script id="bannerFocusData" type="text/html"> | ||||
| {{each focusList as value i}} | {{each focusList as value i}} | ||||
| <div class="swiper-slide"> | <div class="swiper-slide"> | ||||
| {{# value.img}} | |||||
| <p>{{# value.title}}</p> | |||||
| <a href="view/new/newDetail.html?id={{value.id}}">{{# value.img}}</a> | |||||
| <a href="view/new/newDetail.html?id={{value.id}}"><p>{{# value.title}}</p></a> | |||||
| </div> | </div> | ||||
| {{/each}} | {{/each}} | ||||
| </script> | </script> | ||||
| @@ -205,7 +205,7 @@ | |||||
| </p> | </p> | ||||
| <script id="landListData" type="text/html"> | <script id="landListData" type="text/html"> | ||||
| {{each landListList as value i}} | {{each landListList as value i}} | ||||
| <div class="centerLeft-center-middle" onclick="goDetail({{value.id}})"> | |||||
| <div class="centerLeft-center-middle" onclick="goDetail({{value.id}})" style="cursor: pointer;"> | |||||
| <!-- 项目<br />公示--> | <!-- 项目<br />公示--> | ||||
| <p class="centerLeft-center-lable">{{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}}</p> | <p class="centerLeft-center-lable">{{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}}</p> | ||||
| {{if value.fileUrl == null}} | {{if value.fileUrl == null}} | ||||
| @@ -93,6 +93,13 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
| width: 280, | width: 280, | ||||
| top: '-5px' | top: '-5px' | ||||
| }, | }, | ||||
| tooltip: { | |||||
| trigger: "axis", | |||||
| axisPointer: { | |||||
| // 坐标轴指示器,坐标轴触发有效 | |||||
| type: "shadow", // 默认为直线,可选为:'line' | 'shadow' | |||||
| }, | |||||
| }, | |||||
| } | } | ||||
| }; | }; | ||||
| var tools = new Tools(); | var tools = new Tools(); | ||||
| @@ -179,9 +186,10 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
| var focusList = []; | var focusList = []; | ||||
| for (var i = 0; i < content.length; i++) { | for (var i = 0; i < content.length; i++) { | ||||
| var imgStrs = content[i].content.match(/<img.*?>/g) | var imgStrs = content[i].content.match(/<img.*?>/g) | ||||
| var title = content[i].title | |||||
| var title = content[i].title; | |||||
| var id = content[i].id; | |||||
| if (imgStrs != null && imgStrs != '') { | if (imgStrs != null && imgStrs != '') { | ||||
| focusList.push({img:imgStrs[0],title:title}) | |||||
| focusList.push({img:imgStrs[0],title:title,id:id}) | |||||
| } | } | ||||
| } | } | ||||
| console.log(focusList) | console.log(focusList) | ||||
| @@ -24,7 +24,7 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te | |||||
| module.init = function (page) { | module.init = function (page) { | ||||
| //互动交流 | //互动交流 | ||||
| tools.doGet(interactList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.interactInformation,true); | |||||
| tools.doGet(interactList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize,reply:'notnull'}, module.interactInformation,true); | |||||
| //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | ||||
| tools.getWebConfig(); | tools.getWebConfig(); | ||||