@@ -23,7 +23,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="select"> | |||
@@ -123,8 +123,10 @@ | |||
<div style="display: inline-block;margin: 0 auto;" class="page_s1"></div> | |||
<p style="display: inline-block;margin: 0 auto;" id="page_s1"></p> | |||
</div> | |||
<div style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;"> | |||
<div id="map_main" style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;position:relative;"> | |||
<div id="container"></div> | |||
<img src="static/images/openBig.png" id="open" onclick="openBig()" style="position:absolute;right: 10px;top: 10px;" alt=""> | |||
<img src="static/images/closeBig.png" id="close" onclick="closeBig()" style="display:none;position:absolute;right: 10px;top: 10px;" alt=""> | |||
</div> | |||
</div> | |||
@@ -215,33 +217,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -22,7 +22,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="wid25 flex_dom flex_item_between flex_item_mid"> | |||
@@ -66,6 +66,7 @@ | |||
<script id="propertyDetailData" type="text/html"> | |||
<div class="detail_header"> | |||
<p class="detail_tit">详细信息</p> | |||
<p class="bigWin" onclick="history.back(-1)"><img src="static/images/back.png" alt=""></p> | |||
<p class="phoneIcon"><img src="static/images/dialog_icon_3.png" alt=""></p> | |||
<i class="sanjiao-left"></i> | |||
<p class="phone">{{phone}} {{leader}}</p> | |||
@@ -163,33 +164,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -19,7 +19,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="wid25 flex_dom flex_item_between flex_item_mid"> | |||
@@ -67,12 +67,19 @@ | |||
<div class="personalTit-banner"> | |||
<div class="swiper-container" id="bannerFocusNextWrap"> | |||
<div class="swiper-wrapper" id="bannerFocusNextContent"> | |||
<div class="swiper-slide"> | |||
<a href="#"><img src="static/images/news.png" alt=""></a> | |||
</div> | |||
<div class="swiper-slide"> | |||
<a href="#"><img src="static/images/news.png" alt=""></a> | |||
</div> | |||
<script id="newListDataImg" type="text/html"> | |||
{{if newImgList.length>0}} | |||
{{each newImgList as value i}} | |||
<div class="swiper-slide"> | |||
<a href="#"><img src="/api{{value}}" alt=""></a> | |||
</div> | |||
{{/each}} | |||
{{else}} | |||
<div class="swiper-slide"> | |||
<a href="#"><img src="static/images/news.png" alt=""></a> | |||
</div> | |||
{{/if}} | |||
</script> | |||
</div> | |||
<div class="page-pagination a2"></div> | |||
</div> | |||
@@ -104,39 +111,37 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
</div> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
</div> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
</div> | |||
<!-- <div class="footer_link_filings_right">--> | |||
<!-- <p>服务热线</p>--> | |||
<!-- <a href="#">{{webList[4].contentValue}}</a>--> | |||
<!-- </div>--> | |||
</div> | |||
</body> | |||
<script src="./static/js/common/require.js" data-main="./static/js/common/main.js?t=101" id="require-page" target-module="./static/js/project/index.js" defer type="text/javascript"></script> |
@@ -48,33 +48,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -23,7 +23,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="select"> | |||
@@ -128,8 +128,10 @@ | |||
<div style="display: inline-block;margin: 0 auto;" class="page_s1"></div> | |||
<p style="display: inline-block;margin: 0 auto;" id="page_s1"></p> | |||
</div> | |||
<div style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;"> | |||
<div id="map_main" style="box-shadow: 0px 5px 20px #999999 inset;width: 100%;height: 16vh;position:relative;"> | |||
<div id="container"></div> | |||
<img src="static/images/openBig.png" id="open" onclick="openBig()" style="position:absolute;right: 10px;top: 10px;" alt=""> | |||
<img src="static/images/closeBig.png" id="close" onclick="closeBig()" style="display:none;position:absolute;right: 10px;top: 10px;" alt=""> | |||
</div> | |||
</div> | |||
@@ -199,33 +201,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -22,7 +22,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="wid25 flex_dom flex_item_between flex_item_mid"> | |||
@@ -66,6 +66,7 @@ | |||
<script id="propertyDetailData" type="text/html"> | |||
<div class="detail_header"> | |||
<p class="detail_tit">详细信息</p> | |||
<p class="bigWin" onclick="history.back(-1)"><img src="static/images/back.png" alt=""></p> | |||
<p class="phoneIcon"><img src="static/images/dialog_icon_3.png" alt=""></p> | |||
<i class="sanjiao-left"></i> | |||
<p class="phone">{{phone}} {{leader}}</p> | |||
@@ -144,33 +145,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -23,7 +23,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="select"> | |||
@@ -128,8 +128,10 @@ | |||
<div style="display: inline-block;margin: 0 auto;" class="page_s1"></div> | |||
<p style="display: inline-block;margin: 0 auto;" id="page_s1"></p> | |||
</div> | |||
<div style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;"> | |||
<div id="map_main" style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;position:relative;"> | |||
<div id="container"></div> | |||
<img src="static/images/openBig.png" id="open" onclick="openBig()" style="position:absolute;right: 10px;top: 10px;" alt=""> | |||
<img src="static/images/closeBig.png" id="close" onclick="closeBig()" style="display:none;position:absolute;right: 10px;top: 10px;" alt=""> | |||
</div> | |||
</div> | |||
@@ -193,33 +195,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -22,7 +22,7 @@ | |||
<div class="header flex_dom flex_item_between flex_item_mid"> | |||
<p id="titContent"> | |||
<script id="titData" type="text/html"> | |||
{{webList[0].contentValue}} | |||
{{webList.top.contentValue}} | |||
</script> | |||
</p> | |||
<div class="wid25 flex_dom flex_item_between flex_item_mid"> | |||
@@ -66,6 +66,7 @@ | |||
<script id="propertyDetailData" type="text/html"> | |||
<div class="detail_header"> | |||
<p class="detail_tit">详细信息</p> | |||
<p class="bigWin" onclick="history.back(-1)"><img src="static/images/back.png" alt=""></p> | |||
<p class="phoneIcon"><img src="static/images/dialog_icon_3.png" alt=""></p> | |||
<i class="sanjiao-left"></i> | |||
<p class="phone">{{phone}} {{leader}}</p> | |||
@@ -134,33 +135,27 @@ | |||
<script id="webData" type="text/html"> | |||
<div class="footer_link"> | |||
<p class="footer_link_tit">友情链接</p> | |||
<a href="{{webList[5].contentUrl}}">{{webList[5].contentValue}}</a> | |||
{{each webList.botoom1 as value i}} | |||
<a target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_filings"> | |||
{{each webList.botoom2 as value i}} | |||
<div class="footer_link_filings_left"> | |||
<p>鲁公安备案</p> | |||
<a href="#">{{webList[3].contentValue}}</a> | |||
</div> | |||
<div class="footer_link_filings_right"> | |||
<p>服务热线</p> | |||
<a href="#">{{webList[4].contentValue}}</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a href="#">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
<div class="footer_link_company"> | |||
{{each webList.botoom3 as value i}} | |||
<div> | |||
<p>承办单位</p> | |||
<a href="#">{{webList[1].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>技术支持</p> | |||
<a href="#">{{webList[2].contentValue}}</a> | |||
</div> | |||
<div> | |||
<p>联系电话</p> | |||
<a href="#">185 9664 1072</a> | |||
<p>{{value.contentTitle}}</p> | |||
<a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a> | |||
</div> | |||
{{/each}} | |||
</div> | |||
</script> | |||
@@ -65,6 +65,16 @@ | |||
border-radius: 2vh; | |||
margin-left: 20px; | |||
} | |||
.bigWin{ | |||
background: #ffb400; | |||
height: 2.5vh; | |||
width: 5%; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
border-radius: 2vh; | |||
margin-left: 20px; | |||
} | |||
.phone{ | |||
background: #3fd227; | |||
@@ -2520,6 +2520,8 @@ Basic Swiper Styles | |||
.swiper-slide { | |||
float: left; | |||
width: 100%; | |||
height: 100%; | |||
} | |||
.swiper-slide p{ | |||
@@ -82,7 +82,7 @@ var zjdzdxxGet = '/open/house/zjdzdxx/' //查询宅基地详情 | |||
/* | |||
@purl /open/house/policy/list | |||
*/ | |||
var webList = '/open/house/policy/list' //查询落款 | |||
var webList = '/open/house/policy/list/level' //查询落款 | |||
/* | |||
@purl /open/house/policy/get | |||
@@ -58,7 +58,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -174,6 +174,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
content.map(res=>{ | |||
module.data.treeselect.push(res) | |||
}) | |||
module.data.treeselectA = data.data[0]; | |||
// module.data.treeselect = content[0].children; | |||
var treeselectData = template('treeselectData', module.data); | |||
$("#treeselectContent").html(treeselectData); | |||
@@ -225,7 +226,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}); | |||
//加载地图 | |||
module.data.map = new ol.Map({ | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([new ol.control.FullScreen()]), | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), | |||
layers: [aerial, yingxzi], | |||
projection: projection, | |||
target: "container", | |||
@@ -337,5 +338,36 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}, module.assetList , true); | |||
} | |||
openBig = function () { | |||
$("#open").css('display','none'); | |||
$(".table_main").css('display','none'); | |||
$(".pageNum").css('display','none'); | |||
$("#close").css('display','block'); | |||
$("#map_main").css({ | |||
'height': '59vh', | |||
'position': 'absolute', | |||
'top': '1vh', | |||
'width': 'calc(100% - 2vh)', | |||
}) | |||
$("#container").css('height','59vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
closeBig = function () { | |||
$("#open").css('display','block'); | |||
$(".table_main").css('display','block'); | |||
$(".pageNum").css('display','block'); | |||
$("#close").css('display','none'); | |||
$("#map_main").css({ | |||
'height': '16vh', | |||
'position': 'relative', | |||
'width': '100%', | |||
'top': '0vh', | |||
}) | |||
$("#container").css('height','16vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
return module; | |||
}); |
@@ -101,7 +101,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -10,6 +10,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||
//焦点图数据 | |||
focusList: [], | |||
communicateList: [], | |||
newImgList:[] | |||
}, | |||
}; | |||
var tools = new Tools(); | |||
@@ -35,12 +36,22 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools, | |||
module.data.newList = content; | |||
var newListData = template('newListData', module.data); | |||
$("#newListContent").html(newListData); | |||
var newImgList = []; | |||
content.map(rr=>{ | |||
if (rr.infoImg!=null&&rr.infoImg!=""){ | |||
newImgList.push(rr.infoImg); | |||
} | |||
}) | |||
module.data.newImgList = newImgList; | |||
var newListDataImg = template('newListDataImg', module.data); | |||
$("#bannerFocusNextContent").html(newListDataImg); | |||
} | |||
} | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -35,7 +35,7 @@ define(['jquery', "template", "Tools"], function ($, template, Tools) { | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -55,7 +55,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -178,7 +178,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
content.map(res=>{ | |||
module.data.treeselect.push(res) | |||
}) | |||
// module.data.treeselect = content[0].children; | |||
module.data.treeselectA = data.data[0]; | |||
var treeselectData = template('treeselectData', module.data); | |||
$("#treeselectContent").html(treeselectData); | |||
var treeselectSecondData = template('treeselectSecondData', module.data); | |||
@@ -232,7 +232,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}); | |||
//加载地图 | |||
module.data.map = new ol.Map({ | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([new ol.control.FullScreen()]), | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), | |||
layers: [aerial, yingxzi], | |||
projection: projection, | |||
target: "container", | |||
@@ -338,5 +338,36 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}, module.assetList , true); | |||
} | |||
openBig = function (pageNum) { | |||
$("#open").css('display','none'); | |||
$(".table_main").css('display','none'); | |||
$(".pageNum").css('display','none'); | |||
$("#close").css('display','block'); | |||
$("#map_main").css({ | |||
'height': '59vh', | |||
'position': 'absolute', | |||
'top': '1vh', | |||
'width': 'calc(100% - 2vh)', | |||
}) | |||
$("#container").css('height','59vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
closeBig = function (pageNum) { | |||
$("#open").css('display','block'); | |||
$(".table_main").css('display','block'); | |||
$(".pageNum").css('display','block'); | |||
$("#close").css('display','none'); | |||
$("#map_main").css({ | |||
'height': '16vh', | |||
'position': 'relative', | |||
'width': '100%', | |||
'top': '0vh', | |||
}) | |||
$("#container").css('height','16vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
return module; | |||
}); |
@@ -106,7 +106,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -57,7 +57,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||
@@ -174,6 +174,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.data.treeselect.push(res) | |||
}) | |||
// module.data.treeselect = content[0].children; | |||
module.data.treeselectA = data.data[0]; | |||
var treeselectData = template('treeselectData', module.data); | |||
$("#treeselectContent").html(treeselectData); | |||
var treeselectSecondData = template('treeselectSecondData', module.data); | |||
@@ -223,7 +224,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}); | |||
//加载地图 | |||
module.data.map = new ol.Map({ | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([new ol.control.FullScreen()]), | |||
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), | |||
layers: [aerial, yingxzi], | |||
projection: projection, | |||
target: "container", | |||
@@ -332,5 +333,36 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
}, module.assetList , true); | |||
} | |||
openBig = function () { | |||
$("#open").css('display','none'); | |||
$(".table_main").css('display','none'); | |||
$(".pageNum").css('display','none'); | |||
$("#close").css('display','block'); | |||
$("#map_main").css({ | |||
'height': '59vh', | |||
'position': 'absolute', | |||
'top': '1vh', | |||
'width': 'calc(100% - 2vh)', | |||
}) | |||
$("#container").css('height','59vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
closeBig = function () { | |||
$("#open").css('display','block'); | |||
$(".table_main").css('display','block'); | |||
$(".pageNum").css('display','block'); | |||
$("#close").css('display','none'); | |||
$("#map_main").css({ | |||
'height': '16vh', | |||
'position': 'relative', | |||
'width': '100%', | |||
'top': '0vh', | |||
}) | |||
$("#container").css('height','16vh') | |||
initMap(module.data.treeselectA); | |||
} | |||
return module; | |||
}); |
@@ -99,7 +99,7 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||
module.webList = function (data) { | |||
if (data.code == 200) { | |||
var content = data.rows; | |||
var content = data.data; | |||
module.data.webList = content; | |||
var webData = template('webData', module.data); | |||
$("#webContent").html(webData); | |||