|
|
|
@@ -1,74 +1,74 @@
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<#assign affectValue>${cityName}</#assign>
|
|
|
|
|
<#if trendView?? && trendView.type == 'district'>
|
|
|
|
|
<#assign affectValue>${trendView.districtName!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'region'>
|
|
|
|
|
<#assign affectValue>${trendView.region!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'block'>
|
|
|
|
|
<#assign affectValue>${trendView.region!}${trendView.block!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'city'>
|
|
|
|
|
<#assign affectValue>${trendView.cityName}</#assign>
|
|
|
|
|
<#else>
|
|
|
|
|
<#assign affectValue>${keyword!}</#assign>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if cityName??>
|
|
|
|
|
<#assign _currentCityUrl><@d_city value="${cityName}" type="display" target="url" /></#assign>
|
|
|
|
|
<#assign _currentCityDisplay>${cityName}</#assign>
|
|
|
|
|
</#if>
|
|
|
|
|
<#assign affectValue>${cityName}</#assign>
|
|
|
|
|
<#if trendView?? && trendView.type == 'district'>
|
|
|
|
|
<#assign affectValue>${trendView.districtName!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'region'>
|
|
|
|
|
<#assign affectValue>${trendView.region!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'block'>
|
|
|
|
|
<#assign affectValue>${trendView.region!}${trendView.block!}</#assign>
|
|
|
|
|
<#elseif trendView?? && trendView.type == 'city'>
|
|
|
|
|
<#assign affectValue>${trendView.cityName}</#assign>
|
|
|
|
|
<#else>
|
|
|
|
|
<#assign affectValue>${keyword!}</#assign>
|
|
|
|
|
</#if>
|
|
|
|
|
<#if cityName??>
|
|
|
|
|
<#assign _currentCityUrl><@d_city value="${cityName}" type="display" target="url" /></#assign>
|
|
|
|
|
<#assign _currentCityDisplay>${cityName}</#assign>
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
<#assign PAGE_TITLE>${affectValue}房价走势 - 房价网 fangjia.com</#assign>
|
|
|
|
|
<#assign PAGE_KEYWORDS>${affectValue}房价走势,${affectValue}房产数据,${affectValue}房价</#assign>
|
|
|
|
|
<#assign headDesc>房价网提供${affectValue}及时、权威的房价走势图,免费查询最新季度房价、最近半年房价走势、去年同期房价走势、以及${affectValue}房价历史走势等信息。</#assign>
|
|
|
|
|
<#assign PAGE_DESCRIPTION>${headDesc}</#assign>
|
|
|
|
|
<#assign PAGE_TITLE>${affectValue}房价走势 - 房价网 fangjia.com</#assign>
|
|
|
|
|
<#assign PAGE_KEYWORDS>${affectValue}房价走势,${affectValue}房产数据,${affectValue}房价</#assign>
|
|
|
|
|
<#assign headDesc>房价网提供${affectValue}及时、权威的房价走势图,免费查询最新季度房价、最近半年房价走势、去年同期房价走势、以及${affectValue}房价历史走势等信息。</#assign>
|
|
|
|
|
<#assign PAGE_DESCRIPTION>${headDesc}</#assign>
|
|
|
|
|
|
|
|
|
|
<#include "../jsconstants.ftl" />
|
|
|
|
|
<#include "../jsconstants.ftl" />
|
|
|
|
|
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/common.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/main.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/common.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/main.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/_city_select.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/trend.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<script src="${staticUrl}/js/fangjia/v5/jquery-1.7.2.min.js?v=${version}"></script>
|
|
|
|
|
<script>
|
|
|
|
|
if((navigator.userAgent.match(/(iPad|iPhone|iPod|Android|ios)/i))){
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/sm.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/main-m.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/city-m.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/theme-orange.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/mobile.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<link href="${staticUrl}/style/fangjia/v6/trend.css?v=${version}" rel="stylesheet">
|
|
|
|
|
<script src="${staticUrl}/js/fangjia/v5/jquery-1.7.2.min.js?v=${version}"></script>
|
|
|
|
|
<script>
|
|
|
|
|
if((navigator.userAgent.match(/(iPad|iPhone|iPod|Android|ios)/i))){
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/sm.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/main-m.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/city-m.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/theme-orange.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
document.write("<link href='${staticUrl}/style/fangjia/v5/mobile.css?v=${version}' rel='stylesheet'>");
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
@media(max-device-width:768px){
|
|
|
|
|
.searchBox{top:19rem;}
|
|
|
|
|
.main{padding:0 1rem;margin-top:3rem;}
|
|
|
|
|
.trend01b div:last-child{padding-top:26px;}
|
|
|
|
|
.adBox{width:900px;margin-top:50px;margin-bottom:0;}
|
|
|
|
|
.adBox{width:90%;margin-top:0;margin-bottom:100px;}
|
|
|
|
|
.adBox p:first-child{margin-bottom:2rem;}
|
|
|
|
|
.adBox p label{line-height:40px;}
|
|
|
|
|
.adBoxLoan{width:100%;height:138px;background:url(${imgUrl}/images/fangjia/v5/adBoxLoan_banner_m01.png) no-repeat;background-size:100%;}
|
|
|
|
|
.adBoxLoan a{margin-top:-30px;right:10px;}
|
|
|
|
|
.adBoxLoan a img{width:92px;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:414px){
|
|
|
|
|
.banner div{padding-top:2rem;}
|
|
|
|
|
.searchBox{top:17rem;}
|
|
|
|
|
.main{margin-top:1rem;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:375px){
|
|
|
|
|
.searchBox{top:16.2rem;}
|
|
|
|
|
.main{margin-top:0;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:320px){
|
|
|
|
|
.banner div{padding-top:1.5rem;}
|
|
|
|
|
.searchBox{top:15rem;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
@media(max-device-width:768px){
|
|
|
|
|
.searchBox{top:19rem;}
|
|
|
|
|
.main{padding:0 1rem;margin-top:3rem;}
|
|
|
|
|
.trend01b div:last-child{padding-top:26px;}
|
|
|
|
|
.adBox{width:900px;margin-top:50px;margin-bottom:0;}
|
|
|
|
|
.adBox{width:90%;margin-top:0;margin-bottom:100px;}
|
|
|
|
|
.adBox p:first-child{margin-bottom:2rem;}
|
|
|
|
|
.adBox p label{line-height:40px;}
|
|
|
|
|
.adBoxLoan{width:100%;height:138px;background:url(${imgUrl}/images/fangjia/v5/adBoxLoan_banner_m01.png) no-repeat;background-size:100%;}
|
|
|
|
|
.adBoxLoan a{margin-top:-30px;right:10px;}
|
|
|
|
|
.adBoxLoan a img{width:92px;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:414px){
|
|
|
|
|
.banner div{padding-top:2rem;}
|
|
|
|
|
.searchBox{top:17rem;}
|
|
|
|
|
.main{margin-top:1rem;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:375px){
|
|
|
|
|
.searchBox{top:16.2rem;}
|
|
|
|
|
.main{margin-top:0;}
|
|
|
|
|
}
|
|
|
|
|
@media(max-device-width:320px){
|
|
|
|
|
.banner div{padding-top:1.5rem;}
|
|
|
|
|
.searchBox{top:15rem;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
@@ -99,11 +99,8 @@
|
|
|
|
|
<div class="bannerIndex01">
|
|
|
|
|
<div>
|
|
|
|
|
<p><label>全国房价在线查询</label></p>
|
|
|
|
|
<div class="btnGroup" align="left">
|
|
|
|
|
<center><a id="a1" class="link_btn link01_btn text20" data_id="1006" cat="solution" style="line-height: 68px;">立即查询</a></center>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btnGroup" align="right">
|
|
|
|
|
<center><a id="a2" class="link_btn link01_btn text20" data_id="1006" cat="solution" style="line-height: 68px;">在线咨询</a></center>
|
|
|
|
|
<div class="btnGroup" >
|
|
|
|
|
<div class="link_btn1 link01_btn text20" data_id="1006" cat="solution">立即查询</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@@ -111,8 +108,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="index_bg01">
|
|
|
|
|
|
|
|
|
|
<div class="index-box01"><p>房价网自2006年起记录全国房产租售交易</p></div>
|
|
|
|
|
<div class="index-box01" style="height: 100px;"><div><p><label>2,625,998,590</label> 套数</p></div><div class="icon_01"></div></div>
|
|
|
|
|
<div class="index-box01"><p>房价网自2006年起累计在线估值次数</p></div>
|
|
|
|
|
<div class="index-box01"><div class="evalCount_div"><p><label id="evalCount"></label><i> 次</i></p></div><div class="icon_01 dn"></div></div>
|
|
|
|
|
<div class="index-box01"><p>房产数据覆盖全国367个城市地区、80万楼盘、8000万房号库、70万楼盘字段、5000万POI数据。</p></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@@ -120,48 +117,32 @@
|
|
|
|
|
<div class="searchBox01">
|
|
|
|
|
<div class="search01">
|
|
|
|
|
<form action="${_currentCityUrl}/zoushi" method="GET" id="_index_form">
|
|
|
|
|
<div class="search_bg01">
|
|
|
|
|
<div class="cityChoice">
|
|
|
|
|
<div><input type="hidden" name="cityName" id="city" value="<#if cityName??>${cityName!}</#if>"/></div>
|
|
|
|
|
<div class="selectedCity"><input id="selectedCity" type="text" value="<#if cityName??>${cityName!}<#else>上海</#if>" placeholder="请选择您所在的城市" readonly><div class="icon02"></div></div>
|
|
|
|
|
<#include "/header/v6/_city_select.ftl" />
|
|
|
|
|
<div class="search_bg01">
|
|
|
|
|
<div class="cityChoice">
|
|
|
|
|
<div><input type="hidden" name="cityName" id="city" value="<#if cityName??>${cityName!}</#if>"/></div>
|
|
|
|
|
<div class="selectedCity"><input id="selectedCity" type="text" value="<#if cityName??>${cityName!}<#else>上海</#if>" placeholder="请选择您所在的城市" readonly><div class="icon02"></div></div>
|
|
|
|
|
<#include "/header/v6/_city_select.ftl" />
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" name="__s" value="1"/>
|
|
|
|
|
<input type="hidden" name="region" id="region"/>
|
|
|
|
|
<div class="input_address"><input type="text" id="_index_keyword" name="keyword" value="${keyword!''}" autocomplete="off" maxlength="25" placeholder="请输入地址或小区名称"></div>
|
|
|
|
|
<div class="searchBtn"><div id="searchBtn">查看</div></div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" name="__s" value="1"/>
|
|
|
|
|
<input type="hidden" name="region" id="region"/>
|
|
|
|
|
<div class="input_address"><input type="text" id="_index_keyword" name="keyword" value="${keyword!''}" autocomplete="off" maxlength="25" placeholder="请输入地址或小区名称"></div>
|
|
|
|
|
<div class="searchBtn"><div id="searchBtn">查看</div></div>
|
|
|
|
|
<!-- <button type="submit"><a class="search_btn">查看</a></button>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="text01"><p>* 个人用户每日免费查询三次</p></div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<#-- <div class="search_bg">-->
|
|
|
|
|
<#-- <form action="${_currentCityUrl}/zoushi" method="GET" id="_index_form">-->
|
|
|
|
|
<#-- <div class="cityChoice open-about01">-->
|
|
|
|
|
<#-- <div><input type="hidden" name="cityName" id="city" value="<#if cityName??>${cityName!}</#if>"/></div>-->
|
|
|
|
|
<#-- <div class="selectedCity"><input id="selectedCity" type="text" value="<#if cityName??>${cityName!}<#else>上海</#if>" placeholder="请选择您所在的城市" readonly></div>-->
|
|
|
|
|
<#-- <#include "/header/v5/_city_select.ftl" />-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- <input type="hidden" name="__s" value="1"/>-->
|
|
|
|
|
<#-- <input type="hidden" name="region" id="region"/>-->
|
|
|
|
|
<#-- <div class="input_address"><input type="text" id="_index_keyword" name="keyword" value="${keyword!''}" autocomplete="off" maxlength="25" placeholder="请输入地址或小区名称"></div>-->
|
|
|
|
|
<#-- <div class="search_btn"><button class="search_btn" id="searchBtn">查看</button></div>-->
|
|
|
|
|
<#-- <!-- <button type="submit"><a class="search_btn">查看</a></button>–>-->
|
|
|
|
|
<#-- </form>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="main">
|
|
|
|
|
<div class="trend trend01">
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
<div class="trend01a">
|
|
|
|
|
<div class="herder"><p><span class="text_56">${affectValue}房产</span>均价走势</p></div>
|
|
|
|
|
<p><small><#if districtStatBo??>${districtStatBo.startYear!}<#else><#if regionStatBo?? && regionStatBo.startDate??>${regionStatBo.startDate?string('yyyy')}</#if></#if>-${.now?string('yyyy')} | 周度 | 元/㎡ | 数据来源:房价网</small></p>
|
|
|
|
|
<p class="mobile01 description">${descWord}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trend01a">
|
|
|
|
|
<div class="herder"><p><span class="text_56">${affectValue}房产</span>均价走势</p></div>
|
|
|
|
|
<p><small><#if districtStatBo??>${districtStatBo.startYear!}<#else><#if regionStatBo?? && regionStatBo.startDate??>${regionStatBo.startDate?string('yyyy')}</#if></#if>-${.now?string('yyyy')} | 周度 | 元/㎡ | 数据来源:房价网</small></p>
|
|
|
|
|
<p class="mobile01 description">${descWord}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="trend01b">
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
<#if count??><div><em>${count!}</em><label>楼盘总量</label></div></#if>
|
|
|
|
@@ -176,18 +157,6 @@
|
|
|
|
|
</#if>
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div class="adBoxApp04 mobile01">
|
|
|
|
|
<a href="${wwwUrl}/app/index"></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="adBoxApp04 mobile02">
|
|
|
|
|
<a href="${wwwUrl}/app/index"></a>
|
|
|
|
|
</div>-->
|
|
|
|
|
<!--<div class="adBoxLoan mobile01">
|
|
|
|
|
<a onclick="applyLoan()"><img src="${imgUrl}/images/fangjia/v5/adBoxLoan_btn.png"></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="adBoxLoan mobile02">
|
|
|
|
|
<a onclick="applyLoan()"><img src="${imgUrl}/images/fangjia/v5/adBoxLoan_btn01.png"></a>
|
|
|
|
|
</div>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trend trend02" id="ts">
|
|
|
|
|
<div class="trend_title">价格走势
|
|
|
|
@@ -197,20 +166,20 @@
|
|
|
|
|
<font></font>
|
|
|
|
|
<a href="<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"></@d_url>">不限</a>
|
|
|
|
|
<#list regionItems as item>
|
|
|
|
|
<a title="最新<@d_region region="${item.caption}" />房价走势" href='<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"><@d_param name="region" value="${item.name}" /><@d_param name="block" value="" /><@d_param name="districtName" value="" /><@d_param name="type" value="${type!}" /></@d_url>'>
|
|
|
|
|
<a title="最新<@d_region region="${item.caption}" />房价走势" href='<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"><@d_param name="region" value="${item.name}" /><@d_param name="block" value="" /><@d_param name="districtName" value="" /><@d_param name="type" value="${type!}" /></@d_url>'>
|
|
|
|
|
${item.caption}
|
|
|
|
|
</a>
|
|
|
|
|
</#list>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#if blockItems?? && blockItems?size gt 0>
|
|
|
|
|
<span><a><#if block??>${block!}<#else>板块</#if></a><i></i>
|
|
|
|
|
<span><a><#if block??>${block!}<#else>板块</#if></a><i></i>
|
|
|
|
|
<div class="noteText dn" id="blockDiv">
|
|
|
|
|
<font></font>
|
|
|
|
|
<a <#if !(block??)>class="cur"</#if> href="<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"><@d_param name="region" value="${region!}" /><@d_param name="block" value="" /><@d_param name="type" value="${type!}" /></@d_url>">不限</a>
|
|
|
|
|
<#list blockItems as item>
|
|
|
|
|
<a href="<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"><@d_param name="region" value="${item.name!}" /><@d_param name="type" value="${type!}" /></@d_url>" title="最新${item.caption}房价走势">${item.caption}</a>
|
|
|
|
|
<a href="<@d_url schema="${citySchema}" uri="/${controllerName}/${actionName}"><@d_param name="region" value="${item.name!}" /><@d_param name="type" value="${type!}" /></@d_url>" title="最新${item.caption}房价走势">${item.caption}</a>
|
|
|
|
|
</#list>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
@@ -219,36 +188,36 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="trend_content">
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
<ul class="chartTools01">
|
|
|
|
|
<li><a id="exportButton">下载</a></li>
|
|
|
|
|
<li><a id="printButton">打印</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="chartTools">
|
|
|
|
|
<#if keyword??>
|
|
|
|
|
<li class="<#if !type?? || (type=='4' || type=='quarter')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="4" /></@d_url>">季度</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='3' || type=='half')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="3" /></@d_url>">半年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='2' || type=='year')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="2" /></@d_url>">一年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='1' || type=='year2')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="1" /></@d_url>">两年</a></li>
|
|
|
|
|
<#else>
|
|
|
|
|
<li class="<#if !type?? || (type=='4' || type=='quarter')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="4" /></@d_url>">季度</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='3' || type=='half')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="3" /></@d_url>">半年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='2' || type=='year')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="2" /></@d_url>">一年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='1' || type=='year2')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="1" /></@d_url>">两年</a></li>
|
|
|
|
|
<ul class="chartTools01">
|
|
|
|
|
<li><a id="exportButton">下载</a></li>
|
|
|
|
|
<li><a id="printButton">打印</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="chartTools">
|
|
|
|
|
<#if keyword??>
|
|
|
|
|
<li class="<#if !type?? || (type=='4' || type=='quarter')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="4" /></@d_url>">季度</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='3' || type=='half')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="3" /></@d_url>">半年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='2' || type=='year')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="2" /></@d_url>">一年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='1' || type=='year2')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="keyword" value="${keyword!}" /><@d_param name="type" value="1" /></@d_url>">两年</a></li>
|
|
|
|
|
<#else>
|
|
|
|
|
<li class="<#if !type?? || (type=='4' || type=='quarter')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="4" /></@d_url>">季度</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='3' || type=='half')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="3" /></@d_url>">半年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='2' || type=='year')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="2" /></@d_url>">一年</a></li>
|
|
|
|
|
<li class="<#if type?? && (type=='1' || type=='year2')>current</#if>"><a href="<@d_url schema="${citySchema}" uri="/zoushi"><@d_param name="region" value="${trendView.region!}" /><#if block??><@d_param name="block" value="${trendView.block!}" /></#if><@d_param name="districtName" value="${trendView.districtName!}" /><@d_param name="type" value="1" /></@d_url>">两年</a></li>
|
|
|
|
|
|
|
|
|
|
</#if>
|
|
|
|
|
</ul>
|
|
|
|
|
</#if>
|
|
|
|
|
</ul>
|
|
|
|
|
</#if>
|
|
|
|
|
<div class="chart" style="padding-top:20px;">
|
|
|
|
|
<div id="container">
|
|
|
|
|
<div id="container">
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
<img class="loading" src="${staticUrl}/images/bgtu/fangjia/trend-loading.gif?v=${version}">
|
|
|
|
|
<img class="loading" src="${staticUrl}/images/bgtu/fangjia/trend-loading.gif?v=${version}">
|
|
|
|
|
<#else>
|
|
|
|
|
<div class="nofound">
|
|
|
|
|
抱歉!没有您要找的走势图信息!<a href="${cityUrl}/zoushi/">点击返回</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="nofound">
|
|
|
|
|
抱歉!没有您要找的走势图信息!<a href="${cityUrl}/zoushi/">点击返回</a>
|
|
|
|
|
</div>
|
|
|
|
|
</#if>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@@ -300,179 +269,95 @@
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">省级行政区</td>
|
|
|
|
|
<td class="td12">34</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">地级行政区</td>
|
|
|
|
|
<td class="td12">333</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">(区县)级行政区</td>
|
|
|
|
|
<td class="td12">2932</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">功能区</td>
|
|
|
|
|
<td class="td12">374</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">乡镇街道行政区</td>
|
|
|
|
|
<td class="td12">4.12万</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">小区</td>
|
|
|
|
|
<td class="td12">80万</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">村庄</td>
|
|
|
|
|
<td class="td12">56.2万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">商业与公共服务</td>
|
|
|
|
|
<td class="td12">122万</td>
|
|
|
|
|
<td class="td13">>80%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">新楼盘</td>
|
|
|
|
|
<td class="td12">5.19万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">写字楼</td>
|
|
|
|
|
<td class="td12">4.18万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">公交</td>
|
|
|
|
|
<td class="td12">5.65万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">站点</td>
|
|
|
|
|
<td class="td12">139万个站 · 线路</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">地铁</td>
|
|
|
|
|
<td class="td12">266</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">道路</td>
|
|
|
|
|
<td class="td12">44.6万</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">省级行政区</td>
|
|
|
|
|
<td class="td12">34</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">地级行政区</td>
|
|
|
|
|
<td class="td12">333</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">(区县)级行政区</td>
|
|
|
|
|
<td class="td12">2932</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">功能区</td>
|
|
|
|
|
<td class="td12">374</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">乡镇街道行政区</td>
|
|
|
|
|
<td class="td12">4.12万</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">小区</td>
|
|
|
|
|
<td class="td12">80万</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">村庄</td>
|
|
|
|
|
<td class="td12">56.2万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">商业与公共服务</td>
|
|
|
|
|
<td class="td12">122万</td>
|
|
|
|
|
<td class="td13">>80%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">新楼盘</td>
|
|
|
|
|
<td class="td12">5.19万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">写字楼</td>
|
|
|
|
|
<td class="td12">4.18万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">公交</td>
|
|
|
|
|
<td class="td12">5.65万</td>
|
|
|
|
|
<td class="td13"></td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">站点</td>
|
|
|
|
|
<td class="td12">139万个站 · 线路</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">地铁</td>
|
|
|
|
|
<td class="td12">266</td>
|
|
|
|
|
<td class="td13">100%</td>
|
|
|
|
|
<td class="td14">实时</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="td11">道路</td>
|
|
|
|
|
<td class="td12">44.6万</td>
|
|
|
|
|
<td class="td13">>95%</td>
|
|
|
|
|
<td class="td14">年更新</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#-- <!--涨幅排行榜–>-->
|
|
|
|
|
<#-- <#if upTop5?? && upTop5?size gt 0>-->
|
|
|
|
|
<#-- <div class="trend trend03">-->
|
|
|
|
|
<#-- <div class="trend_title">Top10 涨幅排名</div>-->
|
|
|
|
|
<#-- <div class="trend_content">-->
|
|
|
|
|
<#-- <div class="table">-->
|
|
|
|
|
<#-- <table class="inline">-->
|
|
|
|
|
<#-- <thead>-->
|
|
|
|
|
<#-- <tr class="bg">-->
|
|
|
|
|
<#-- <th class="th01">排名</th>-->
|
|
|
|
|
<#-- <th>小区名称</th>-->
|
|
|
|
|
<#-- <th>上月价格</th>-->
|
|
|
|
|
<#-- <th>本月价格</th>-->
|
|
|
|
|
<#-- <th>涨跌幅</th>-->
|
|
|
|
|
<#-- <th>历史高价</th>-->
|
|
|
|
|
<#-- <th>单位</th>-->
|
|
|
|
|
<#-- <th>更新频率</th>-->
|
|
|
|
|
<#-- <th>数据范围</th>-->
|
|
|
|
|
<#-- </tr>-->
|
|
|
|
|
<#-- </thead>-->
|
|
|
|
|
<#-- <tbody>-->
|
|
|
|
|
<#-- <#list upTop5! as upTop>-->
|
|
|
|
|
<#-- <tr class="<#if (upTop_index+1)%2==0>bg</#if>">-->
|
|
|
|
|
<#-- <td class="td01">${upTop_index + 1}</td>-->
|
|
|
|
|
<#-- <td class="td02"><a href="<@d_url schema="${citySchema}" uri="/zoushi" ><@d_param name="districtName" value="${upTop.districtName!''}" /><@d_param name="region" value="${upTop.region!''}" /></@d_url>">${upTop.districtName!}</a></td>-->
|
|
|
|
|
<#-- <td>${upTop.lastAvgPrice!}</td>-->
|
|
|
|
|
<#-- <td>${upTop.avgPrice!}</td>-->
|
|
|
|
|
<#-- <td class="up"><i>↑</i>${(upTop.weekendMarkup/100)?string('#.##')}%</td>-->
|
|
|
|
|
<#-- <td>${upTop.maxPrice!}</td>-->
|
|
|
|
|
<#-- <td>元/㎡</td>-->
|
|
|
|
|
<#-- <td>周度</td>-->
|
|
|
|
|
<#-- <td>${upTop.startDate!}-${.now?string('yyyy')}</td>-->
|
|
|
|
|
<#-- </tr>-->
|
|
|
|
|
<#-- </#list>-->
|
|
|
|
|
<#-- </tbody>-->
|
|
|
|
|
<#-- </table>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </#if>-->
|
|
|
|
|
<#-- -->
|
|
|
|
|
<#-- <!--跌幅排行榜–>-->
|
|
|
|
|
<#-- <#if downTop5?? && downTop5?size gt 0>-->
|
|
|
|
|
<#-- <div class="trend trend03" style="border-bottom:none;">-->
|
|
|
|
|
<#-- <div class="trend_title">Top10 跌幅排名</div>-->
|
|
|
|
|
<#-- <div class="trend_content">-->
|
|
|
|
|
<#-- <div class="table">-->
|
|
|
|
|
<#-- <table class="inline">-->
|
|
|
|
|
<#-- <thead>-->
|
|
|
|
|
<#-- <tr class="bg">-->
|
|
|
|
|
<#-- <th class="th01">排名</th>-->
|
|
|
|
|
<#-- <th>小区名称</th>-->
|
|
|
|
|
<#-- <th>上月价格</th>-->
|
|
|
|
|
<#-- <th>本月价格</th>-->
|
|
|
|
|
<#-- <th>涨跌幅</th>-->
|
|
|
|
|
<#-- <th>历史高价</th>-->
|
|
|
|
|
<#-- <th>单位</th>-->
|
|
|
|
|
<#-- <th>更新频率</th>-->
|
|
|
|
|
<#-- <th>数据范围</th>-->
|
|
|
|
|
<#-- </tr>-->
|
|
|
|
|
<#-- </thead>-->
|
|
|
|
|
<#-- <tbody>-->
|
|
|
|
|
<#-- <#list downTop5! as downTop>-->
|
|
|
|
|
<#-- <tr class="<#if (downTop_index+1)%2==0>bg</#if>">-->
|
|
|
|
|
<#-- <td class="td01">${downTop_index + 1}</td>-->
|
|
|
|
|
<#-- <td class="td02"><a href="<@d_url schema="${citySchema}" uri="/zoushi" ><@d_param name="districtName" value="${downTop.districtName!''}" /><@d_param name="region" value="${downTop.region!''}" /></@d_url>">${downTop.districtName!}</a></td>-->
|
|
|
|
|
<#-- <td>${downTop.lastAvgPrice!}</td>-->
|
|
|
|
|
<#-- <td>${downTop.avgPrice!}</td>-->
|
|
|
|
|
<#-- <td class="down"><i>↓</i>${(downTop.weekendMarkup/100)?string('#.##')}%</td>-->
|
|
|
|
|
<#-- <td>${downTop.maxPrice!}</td>-->
|
|
|
|
|
<#-- <td>元/㎡</td>-->
|
|
|
|
|
<#-- <td>周度</td>-->
|
|
|
|
|
<#-- <td>${downTop.startDate!}-${.now?string('yyyy')}</td>-->
|
|
|
|
|
<#-- </tr>-->
|
|
|
|
|
<#-- </#list>-->
|
|
|
|
|
<#-- -->
|
|
|
|
|
<#-- </tbody>-->
|
|
|
|
|
<#-- </table>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </div>-->
|
|
|
|
|
<#-- </#if>-->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -490,6 +375,49 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
/* 数字滚动动画 */
|
|
|
|
|
function numScroll(start, maxNum) {
|
|
|
|
|
const that = this;
|
|
|
|
|
start = start.replaceAll(",","")
|
|
|
|
|
var startNum = Number(start);
|
|
|
|
|
maxNum = Number(maxNum);
|
|
|
|
|
let animateFrame; // 清除 requestAnimationFrame 请求动画帧
|
|
|
|
|
// 数字动画
|
|
|
|
|
function digitalAnimation() {
|
|
|
|
|
startNum += 1; // 速度的计算可以为小数 。数字越大,滚动越快
|
|
|
|
|
if (startNum >= maxNum) {
|
|
|
|
|
startNum = maxNum;
|
|
|
|
|
cancelAnimationFrame(animateFrame);
|
|
|
|
|
} else {
|
|
|
|
|
animateFrame = requestAnimationFrame(digitalAnimation); // 请求动画帧(一个浏览器的宏任务)
|
|
|
|
|
}
|
|
|
|
|
$("#evalCount").text(toThousands(startNum));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
digitalAnimation(); // 数字动画
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var interval = setInterval(function(){
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: 'GET',
|
|
|
|
|
async: false,
|
|
|
|
|
url: Constants.cityUrl + '/trend/trendReportCount',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
timeout: 100000,
|
|
|
|
|
success: function(model) {
|
|
|
|
|
// $("#evalCount").text(toThousands(model.evalCount));
|
|
|
|
|
var startNum = document.getElementById("evalCount").innerHTML;
|
|
|
|
|
if (startNum == ''){
|
|
|
|
|
$("#evalCount").text(toThousands(model.evalCount));
|
|
|
|
|
}else{
|
|
|
|
|
numScroll(startNum,model.evalCount);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
error : function() {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}, 5000);
|
|
|
|
|
|
|
|
|
|
const now = new Date();
|
|
|
|
|
const year = now.getFullYear(); // 年
|
|
|
|
|
const month = now.getMonth() + 1; // 月
|
|
|
|
@@ -519,9 +447,9 @@
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
|
|
|
|
Zepto = $
|
|
|
|
|
$.config = {router: false}
|
|
|
|
|
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
|
|
|
|
Zepto = $
|
|
|
|
|
$.config = {router: false}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
@@ -530,108 +458,97 @@ $.config = {router: false}
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
$(".popup-about01 .cityGPS").on("click", function () {
|
|
|
|
|
$("#selectedCity,#city").val($(this).find("p").text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$("body").delegate(".popup-about01 a","click", function(){
|
|
|
|
|
$("#selectedCity,#city").val($(this).text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$(".popup-about01-mobile .cityGPS").on("click", function () {
|
|
|
|
|
$("#selectedCity,#city").val($(this).find("p").text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$("body").delegate(".popup-about01-mobile a","click", function(){
|
|
|
|
|
$("#selectedCity,#city").val($(this).text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$(".popup-about01 .icon-left").on("click", function () {
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$(".popup-about01 .cityGPS").on("click", function () {
|
|
|
|
|
$("#selectedCity,#city").val($(this).find("p").text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$("body").delegate(".popup-about01 a","click", function(){
|
|
|
|
|
$("#selectedCity,#city").val($(this).text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$(".popup-about01-mobile .cityGPS").on("click", function () {
|
|
|
|
|
$("#selectedCity,#city").val($(this).find("p").text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$("body").delegate(".popup-about01-mobile a","click", function(){
|
|
|
|
|
$("#selectedCity,#city").val($(this).text());
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
$(".popup-about01 .icon-left").on("click", function () {
|
|
|
|
|
$(".adBoxApp01").show();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/* 定位城市 */
|
|
|
|
|
$("body").on("click", ".letter a", function () {
|
|
|
|
|
var s = $(this).html();
|
|
|
|
|
$(".content").scrollTop(0);
|
|
|
|
|
$(".content").scrollTop($("#" + s + "1").offset().top - 66);
|
|
|
|
|
});
|
|
|
|
|
$(".content-block01").scroll(function () {
|
|
|
|
|
$(".content-block01 .letter").css("position","absolute");
|
|
|
|
|
$(".content-block01 .letter").css("top", 116 - $("#cityContainer").position().top);
|
|
|
|
|
});
|
|
|
|
|
/* 定位城市 */
|
|
|
|
|
$("body").on("click", ".letter a", function () {
|
|
|
|
|
var s = $(this).html();
|
|
|
|
|
$(".content").scrollTop(0);
|
|
|
|
|
$(".content").scrollTop($("#" + s + "1").offset().top - 66);
|
|
|
|
|
});
|
|
|
|
|
$(".content-block01").scroll(function () {
|
|
|
|
|
$(".content-block01 .letter").css("position","absolute");
|
|
|
|
|
$(".content-block01 .letter").css("top", 116 - $("#cityContainer").position().top);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var chart ;
|
|
|
|
|
var down_pic_temp = 0;
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
//走势图
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
var chart ;
|
|
|
|
|
var down_pic_temp = 0;
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
//走势图
|
|
|
|
|
<#if districtStatBo?? || regionStatBo??>
|
|
|
|
|
<#if type??>
|
|
|
|
|
<#if type == '4' || type == 'quarter'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#elseif type == '3' || type == 'half'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/halfData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#elseif type == '1' || type == 'year2'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/year2Data?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#else>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/yearData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
</#if>
|
|
|
|
|
naver();
|
|
|
|
|
<#if type == '4' || type == 'quarter'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#elseif type == '3' || type == 'half'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/halfData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#elseif type == '1' || type == 'year2'>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/year2Data?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
<#else>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
var url = Constants.cityUrl + '/trend/yearData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
</#if>
|
|
|
|
|
$.getJSON(encodeURI(url), function(data) {
|
|
|
|
|
createChart('container', data, false);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//下载 打印
|
|
|
|
|
exportButton();
|
|
|
|
|
$("#exportButton").click(function(){
|
|
|
|
|
chart.exportChart()
|
|
|
|
|
});
|
|
|
|
|
$("#printButton").click(function(){
|
|
|
|
|
chart.print()
|
|
|
|
|
});
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
souAutoComplete({id: '_index_keyword', autoCompleteUrl: Constants.cityUrl + '/autoComplete/suggest?cat=district',submitOnSelect: true, selectHide: false, trigOnFocus : true,showDesc: true});
|
|
|
|
|
//设置锚点
|
|
|
|
|
function naver(){
|
|
|
|
|
var obj = document.getElementById("ts");
|
|
|
|
|
var oPos = obj.offsetTop;
|
|
|
|
|
return window.scrollTo(0, oPos+80);
|
|
|
|
|
//document.getElementById("ts").scrollIntoView();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
naver();
|
|
|
|
|
<#else>
|
|
|
|
|
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}®ion=${region!}&block=${block!}&keyword=${keyword!}';
|
|
|
|
|
</#if>
|
|
|
|
|
$.getJSON(encodeURI(url), function(data) {
|
|
|
|
|
createChart('container', data, false);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/*$("#_index_form").submit(function (e) {
|
|
|
|
|
if ($.trim($("#_index_keyword").val()) == '') {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
$("#_index_keyword").focus()
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
var acUrl = $("#_index_keyword").attr("action");
|
|
|
|
|
|
|
|
|
|
$("#_index_form").attr("action", acUrl.substring(0, acUrl.length-6)+"trend/trend");
|
|
|
|
|
$("#_index_form").submit();
|
|
|
|
|
})*/
|
|
|
|
|
|
|
|
|
|
$("#searchBtn").click(function(){
|
|
|
|
|
submit();
|
|
|
|
|
});
|
|
|
|
|
function submit(){
|
|
|
|
|
var keyword = $("#_index_keyword").val()
|
|
|
|
|
var city = $("#city").val()
|
|
|
|
|
var acUrl = $("#_index_form").attr("action");
|
|
|
|
|
if(city && keyword){
|
|
|
|
|
$("#_index_form").submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//下载 打印
|
|
|
|
|
exportButton();
|
|
|
|
|
$("#exportButton").click(function(){
|
|
|
|
|
chart.exportChart()
|
|
|
|
|
});
|
|
|
|
|
$("#printButton").click(function(){
|
|
|
|
|
chart.print()
|
|
|
|
|
});
|
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
souAutoComplete({id: '_index_keyword', autoCompleteUrl: Constants.cityUrl + '/autoComplete/suggest?cat=district',submitOnSelect: true, selectHide: false, trigOnFocus : true,showDesc: true});
|
|
|
|
|
//设置锚点
|
|
|
|
|
function naver(){
|
|
|
|
|
var obj = document.getElementById("ts");
|
|
|
|
|
var oPos = obj.offsetTop;
|
|
|
|
|
return window.scrollTo(0, oPos+80);
|
|
|
|
|
//document.getElementById("ts").scrollIntoView();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$("#searchBtn").click(function(){
|
|
|
|
|
submit();
|
|
|
|
|
});
|
|
|
|
|
function submit(){
|
|
|
|
|
var keyword = $("#_index_keyword").val()
|
|
|
|
|
var city = $("#city").val()
|
|
|
|
|
var acUrl = $("#_index_form").attr("action");
|
|
|
|
|
if(city && keyword){
|
|
|
|
|
$("#_index_form").submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function toThousands(num) {
|
|
|
|
|
return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|