Merge branch 'fjw_version_2' of http://gitlab.fangjia.com/dev0/main into fjw_version_2

This commit is contained in:
2023-08-28 17:14:35 +08:00
30 changed files with 442 additions and 500 deletions
@@ -1246,7 +1246,7 @@ public class EvaluationController {
//没登录3次
userId = CoresiteCookieContext.getInstance().getCookieValue(req, CookieName.UID);
int count = evaluationService.getCountToday(userId);
if (count > 200) {
if (count > 2) {
model.setPermissionEvaluation(false);
model.setErrMsg("2");
return model;
@@ -1254,7 +1254,7 @@ public class EvaluationController {
}else{
//登录5次
int count = evaluationService.getCountToday(userId);
if (count > 400) {
if (count > 4) {
model.setPermissionEvaluation(false);
model.setErrMsg("1");
return model;
@@ -1301,14 +1301,14 @@ public class EvaluationController {
String userId = LoginUtil.getUserId(req);
//登录+每天可评估3次
int count = evaluationService.getCountToday(userId);
if (count >= 300) {
if (count >= 3) {
model.setPermissionEvaluation(false);
model.setErrMsg("1");
return model;
}
//登录+每月可评估20次
int count_ = evaluationService.getCountCurrentMonth(userId);
if (count_ >= 300) {
if (count_ >= 20) {
model.setPermissionEvaluation(false);
model.setErrMsg("2");
return model;
@@ -53,6 +53,7 @@ import com.fangjia.service.datastore.HouseService;
import com.fangjia.service.datastore.RegionStatService;
import com.fangjia.service.datastore.bean.HousePicEnum;
import com.fangjia.service.datastore.bean.HouseQueryBean;
import com.fangjia.service.datastore.EvaluationService;
import com.fangjia.service.district.DistrictStatService;
import com.fangjia.service.district.TradeStatService;
import com.fangjia.service.fsh.DistrictNewPriceService;
@@ -77,6 +78,7 @@ public class TrendController {
private TradeStatService tradeStatService;
private DistrictNewPriceService districtNewPriceService;
private DistrictSellStatService districtSellStatService;
private EvaluationService evaluationService;
private static int QUARTER_WEEK = 13;
private final static Logger LOGGER = LoggerFactory.getLogger(TrendController.class);
@@ -124,6 +126,23 @@ public class TrendController {
}
return model;
}
/**
* 房产评估次数
*
* @param model
* @return
*/
public Object trendReportCountAction(TrendModel model,HttpServletRequest request) {
JsonModel ret = new JsonModel();
Map<String, Object> data = new HashMap<String, Object>();
data.put("evalCount", evaluationService.getTotalCount());
ret.setJsonModel(data);
return ret;
}
/**
* 走势图
@@ -1260,7 +1279,9 @@ public class TrendController {
DistrictSellStatService districtSellStatService) {
this.districtSellStatService = districtSellStatService;
}
public void setEvaluationService(EvaluationService evaluationService) {
this.evaluationService = evaluationService;
}
}
@@ -46,11 +46,11 @@
</div>
</div>
<div class="index_bg01" id="company">
<div class="herder"><p><span class="text_56">公司</span>介绍<p></div>
<div class="herder" style="padding-top: 50px;"><p><span class="text_56">公司</span>介绍<p></div>
<div class="index-box-transverse">
<div class="index-box-left1 index-box-bg01"></div>
<div class="index-box-right1">
<div><label>房价网成立于2006年,公司名上海估家网络科技有限公司。是一家为企业提供地址数据价值挖掘及应用解决方案的公司。房价网拥有中国房产大数据库——CPDB,为企业客户提供门户地址数据、楼宇地址数据、区域地址数据,实现地址细颗粒度的数字可视化展示,为企业地址价值挖掘与应用提供精准决策性依据;结合人工智能算法与数据模型,形成高精度、高维度、高价值的地址数字化解决方案,满足企业各项地址关联需求与业务场景,全面为企业赋能。</label></div>
<div><label>房价网拥有中国房产大数据库——CPDB,为企业客户提供门户地址数据、楼宇地址数据、区域地址数据,实现地址细颗粒度的数字可视化展示,为企业地址价值挖掘与应用提供精准决策性依据;结合人工智能算法与数据模型,形成高精度、高维度、高价值的地址数字化解决方案,满足企业各项地址关联需求与业务场景,全面为企业赋能。</label></div>
</div>
</div>
<div class="index-box-transverse">
@@ -66,7 +66,7 @@
</div>
</div>
<div class="index_bg02">
<div class="herder"><p><span class="text_56">发展</span>历程</p></div>
<div class="herder" style="padding-top: 50px;"><p><span class="text_56">发展</span>历程</p></div>
<div class="bg01"></div>
</div>
<div class="index_bg03">
@@ -21,7 +21,7 @@
<div class="selectCity cityChoice_spread mobile01 dn" id="chooseCity" style="display: none;">
<div class="selectCity cityChoice_spread mobile01" id="chooseCity" style="display: none;">
<div id="allCityDiv">
<div class="c_top">
<div class="icon01"></div>
@@ -70,16 +70,16 @@
</li>
<li style="width: 12%;">
<span>房产大数据</span>
<a href="${wwwUrl}/solution/card" target="_blank">全国房价在线查询</a>
<a href="${wwwUrl}/solution/outlets" target="_blank">全国房价在线估值</a>
<a href="${wwwUrl}/solution/appraisal" target="_blank">视频中心</a>
<a href="${wwwUrl}/zoushi">全国房价在线查询</a>
<a href="${wwwUrl}/gujia">全国房价在线估值</a>
<#-- <a href="${wwwUrl}/solution/appraisal" target="_blank">视频中心</a>-->
</li>
<li style="width: 10%;">
<span>关于我们</span>
<a href="${wwwUrl}/company/about#company">公司介绍</a>
<a href="${wwwUrl}/company/cstm#cstm1" target="_blank">新闻动态</a>
<a>招贤纳士</a>
<#-- <a href="${wwwUrl}/company/cstm#cstm1" target="_blank">新闻动态</a>-->
<a href="https://www.zhipin.com/gongsi/cd11ac8c7acfc5cb1Hd83N-9.html?ka=job-detail-company_custompage" target="_blank">招贤纳士</a>
<a href="${wwwUrl}/company/about#contact">联系我们</a>
</li>
<li style="width: 10%;">
@@ -9,7 +9,7 @@
<li class="<#if controllerName == ''>current</#if>"><a href="${wwwUrl}">首页</a></li>
<li class="subnav01 <#if (controllerName == 'solution' && ["standardization","addrPro","onehouse","financial","level","dishu","api"]?seq_contains(actionName)) || (controllerName == 'product' && actionName=="ptas")>current</#if>">
<a>产品与服务</a>
<div class="dn" style="width:320px;">
<div class="dn" style="width:260px;">
<ul style="padding-right: 50px;padding-left: 10px;">
<li><p class="menu-heading">产品</p></li>
<li><a href="${wwwUrl}/solution/addrPro">地址治理</a></li>
@@ -30,7 +30,7 @@
<li class="subnav02 <#if (controllerName == 'solution' && ["card","outlets","appraisal","location"]?seq_contains(actionName))|| (controllerName == 'industry' && ["bank","itfin","government","cost"]?seq_contains(actionName))>current</#if>">
<a>解决方案</a>
<div class="dn" style="width:580px;">
<div class="dn" style="width:500px;">
<ul style="padding-right: 20px;padding-left: 10px;">
<li><p class="menu-heading">场景</p></li>
<li><a href="${wwwUrl}/solution/standardization">数据治理 | 地址标准化服务</a></li>
@@ -66,7 +66,7 @@
<li class="<#if (controllerName == 'evaluation' || controllerName == 'report' || actionName == 'trend') || (controllerName=='industry' && actionName=='consulting') || (controllerName=='saleLeads' && actionName=='dataAbility') || (controllerName=='solution' && actionName=='paimai')>current</#if>">
<a>房产大数据</a>
<div class="dn" style="width:180px;padding-left: 10px;">
<div class="dn" style="width:130px;padding-left: 10px;">
<ul>
<li><a href="${cityUrl}/zoushi">全国房价在线查询</a></li>
<li><a href="${cityUrl}/gujia">全国房产在线估值</a></li>
@@ -81,7 +81,7 @@
<li class="subnav07 <#if controllerName == 'company' && actionName=='about'>current</#if>">
<a>关于我们</a>
<div class="dn" style="width:320px;padding-left: 10px;">
<div class="dn" style="width:100px;padding-left: 10px;">
<ul>
<li><a href="${wwwUrl}/company/about#company">公司介绍</a></li>
<#-- <li><a>新闻动态</a></li>-->
@@ -112,13 +112,13 @@
<div class="index_bg04">
<div class="herder"><p><span class="text_56">应用</span>场景</p></div>
<div class="index-box5">
<div class="index-box8-left">
<div class="up-div-left"><p class="text_50_orange">客户分层</p><p class="icon02"></p></div>
<div class="down-div-left"><p class="text_50_orange">信用卡促销/促活</p><p class="icon02"></p></div>
<div class="index-box5-left">
<div class="up-div-left"><p class="text_30_orange">客户分层</p><p class="icon02"></p></div>
<div class="down-div-left"><p class="text_30_orange">信用卡促销/促活</p><p class="icon02"></p></div>
</div>
<div class="index-box8-right">
<div class="up-div-right"><p class="icon03"></p><p class="text_50_orange">智能营销</p></div>
<div class="down-div-right"><p class="icon03"></p><p class="text_50_orange">线下促销</p></div>
<div class="index-box5-right">
<div class="up-div-right"><p class="icon03"></p><p class="text_30_orange">智能营销</p></div>
<div class="down-div-right"><p class="icon03"></p><p class="text_30_orange">线下促销</p></div>
</div>
</div>
</div>
@@ -43,7 +43,7 @@
</div>
</div>
<div class="index_bg01">
<div class="index-box-transverse">
<div class="index-box-transverse" style="padding-top: 20px;">
<div class="index-box-common">
<div class="title">
<div class="icon01"><i class="icon01-1"></i></div>
@@ -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>&nbsp;&nbsp;套数</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>&nbsp;&nbsp;次</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>*&nbsp;个人用户每日免费查询三次</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>&ndash;&gt;-->
<#-- </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>
<#-- <!--涨幅排行榜&ndash;&gt;-->
<#-- <#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>-->
<#-- -->
<#-- <!--跌幅排行榜&ndash;&gt;-->
<#-- <#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!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#elseif type == '3' || type == 'half'>
var url = Constants.cityUrl + '/trend/halfData?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#elseif type == '1' || type == 'year2'>
var url = Constants.cityUrl + '/trend/year2Data?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#else>
var url = Constants.cityUrl + '/trend/yearData?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
</#if>
naver();
<#if type == '4' || type == 'quarter'>
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#elseif type == '3' || type == 'half'>
var url = Constants.cityUrl + '/trend/halfData?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#elseif type == '1' || type == 'year2'>
var url = Constants.cityUrl + '/trend/year2Data?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
<#else>
var url = Constants.cityUrl + '/trend/quarterData?defaultCityName=${cityName}&districtName=${districtName!}&region=${region!}&block=${block!}&keyword=${keyword!}';
var url = Constants.cityUrl + '/trend/yearData?defaultCityName=${cityName}&districtName=${districtName!}&region=${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!}&region=${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>