快捷登录
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
<script src="${staticUrl}/js/fangjia/v5/cookie-utils.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/security.min.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/fangjia/fangjia_login.min.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/addLoanLead.js?v=${version}"></script>
|
||||
<link href="${staticUrl}/style/fangjia/v6/dialogBox.css?v=${version}" rel="stylesheet">
|
||||
<link href="${staticUrl}/style/fangjia/v5/user01.css?v=${version}" rel="stylesheet">
|
||||
<link href="${staticUrl}/style/fangjia/v6/checkUserNewRedirct.css?v=${version}" rel="stylesheet">
|
||||
<script src="${staticUrl}/js/fangjia/v6/login.js?v=${version}"></script>
|
||||
<style>
|
||||
@media(max-device-width:768px){
|
||||
.dialogBox .close{right:1rem;}
|
||||
@@ -53,12 +49,19 @@
|
||||
<div class="inputInfoBox">
|
||||
<div class="inputInfo">
|
||||
<label><a class="ls2_01">账</a><a class="ls2_02">号</a></label>
|
||||
<input id="input_mobileNumber" class="inpu" type="text" autocomplete="off" placeholder="请输入手机号码">
|
||||
<input id="input_mobileNumber" class="inpu" type="text" autocomplete="off" placeholder="请输入手机号码" style="width: 364px;">
|
||||
<div class="error dn mobile_err"></div>
|
||||
</div>
|
||||
<div class="inputInfo">
|
||||
<div class="inputInfo" style="margin-top: 10px;">
|
||||
<label><a class="ls3_01">图形</a><a class="ls3_02">码</a></label>
|
||||
<input id="image_input_code2" class="inpu inpu01" type="text" autocomplete="off" placeholder="请输入图形验证码" style="width: 200px;">
|
||||
<div class="codeImg"></div>
|
||||
<a class="login_refresh">刷新</a>
|
||||
<div class="error dn m_img_err"></div>
|
||||
</div>
|
||||
<div class="inputInfo" style="margin-top: 10px;">
|
||||
<label><a class="ls3_01">短信</a><a class="ls3_02">码</a></label>
|
||||
<input id="smsCodeInput" class="inpu inpu01" type="text" autocomplete="off" placeholder="请输入短信验证码">
|
||||
<input id="smsCodeInput" type="text" autocomplete="off" placeholder="请输入短信验证码" style="width: 200px;">
|
||||
<a class="change_btn sendCode_before" id="sendCode">发送验证码</a>
|
||||
<a class="change_btn waiting dn">60s</a>
|
||||
<div class="error dn sms_code_err"></div>
|
||||
@@ -97,4 +100,3 @@
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/loginNewRedirct.js?v=${version}"></script>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
<link href="${staticUrl}/style/fangjia/v6/common.css?v=${version}" rel="stylesheet">
|
||||
<link href="${staticUrl}/style/fangjia/v6/reportNew.css?v=${version}" rel="stylesheet">
|
||||
<link href="${staticUrl}/style/fangjia/v6/_city_select.css?v=${version}" rel="stylesheet">
|
||||
<script src="${staticUrl}/js/fangjia/v5/jquery-1.7.2.min.js?v=${version}"></script>
|
||||
<script>
|
||||
var source = "评估输入页";
|
||||
@@ -345,19 +346,9 @@ if(isWeiXin()){
|
||||
</script>
|
||||
<#include "/header/v6/_footer.ftl"/>
|
||||
<#include "../citys.ftl"/>
|
||||
<script src="${staticUrl}/js/fangjia/v5/md5.min.js?v=${version}"></script>
|
||||
<script type="text/javascript" src="${staticUrl}/js/fangjiaNew.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/main.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/highcharts5.0.6.js?v=${version}"></script>
|
||||
<script type="text/javascript" src="${staticUrl}/js/fangjia/gujia.auto.fill.js?v=${version}"></script>
|
||||
<script type="text/javascript" src="${staticUrl}/js/jquery.form.js?v=${version}"></script>
|
||||
<script type="text/javascript" src="${staticUrl}/js/fangjia/reportNew.js?v=${version}"></script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/timer.js"></script>
|
||||
<script src="${staticUrl}/js/fangjia/v5/light7-swiper.min.js"></script>
|
||||
|
||||
<#include "/analytics.ftl" />
|
||||
<script src="${staticUrl}/js/fangjia/v6/main.js?v=${version}"></script>
|
||||
|
||||
<script type="text/javascript" src="//g.alicdn.com/sj/lib/zepto/zepto.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -376,99 +367,6 @@ var basePath = "${basePath!}";
|
||||
<script src="${staticUrl}/js/fangjia/v5/addLoanLead.js?v=${version}"></script>
|
||||
<script>
|
||||
|
||||
|
||||
//快速贷款页面 不再跳到登录页,直接保存
|
||||
var apply_flag = true;
|
||||
function applyLoanFast(){
|
||||
applyType = 0;
|
||||
if(!checkLoginOrNot()){
|
||||
return;
|
||||
}
|
||||
addLoan();
|
||||
}
|
||||
|
||||
function addLoan(){
|
||||
if(!apply_flag){
|
||||
popToast("您已申请成功!<br>请勿重复点击!");
|
||||
return;
|
||||
}
|
||||
var mobile = getCookie("login_username");
|
||||
if(!mobile){
|
||||
return;
|
||||
}
|
||||
addFastLoanLead("信用贷",mobile,"房产评估页","房价网");
|
||||
popToast("恭喜您,申请成功!<br>我们将尽快联系您!");
|
||||
apply_flag = false
|
||||
}
|
||||
|
||||
function addPingAnLoan(source,url){
|
||||
applyType = 1;
|
||||
if(!checkLoginOrNot()){
|
||||
return;
|
||||
}
|
||||
var mobile = getCookie("login_username");
|
||||
if(!mobile){
|
||||
return;
|
||||
}
|
||||
addFastLoanLead("信用贷",mobile,source,"新一贷-房价网");
|
||||
//window.open(url);
|
||||
}
|
||||
|
||||
function popToast(tipTxt) {
|
||||
var $popToast = $(".pop-toast");
|
||||
$popToast.remove();
|
||||
var popToastHtml = '<div class="pop-toast">' +
|
||||
'<p class="toast-tip">' + tipTxt + '</p>' +
|
||||
'</div>';
|
||||
$popToast = $(popToastHtml);
|
||||
$("body").append($popToast);
|
||||
setTimeout(function () {
|
||||
$popToast.fadeOut();
|
||||
}, 2000);
|
||||
}
|
||||
/* 信用卡广告轮播 */
|
||||
<#if (carouselAdvertisementList?? && carouselAdvertisementList?size gt 1)>
|
||||
function run(){
|
||||
$(".imgBox").stop().animate({marginLeft:-1800},1000,function(){
|
||||
$(".imgBox div:first").insertAfter($(".imgBox div:last"));
|
||||
$(".imgBox").css({marginLeft:-900});
|
||||
})
|
||||
}
|
||||
var timer=requestInterval(run,4000);
|
||||
$(".adBoxCreditCard").hover(function(){
|
||||
clearRequestInterval(timer);
|
||||
},function(){
|
||||
timer=requestInterval(run,4000);
|
||||
});
|
||||
<#else>
|
||||
$(".adBoxCreditCard .imgBox").css("margin-left","0");
|
||||
</#if>
|
||||
$(".adBoxCreditCard_left").click(function(){
|
||||
$(".imgBox").stop().animate({marginLeft:0},1000,function(){
|
||||
$(".imgBox div:last").insertBefore($(".imgBox div:first"));
|
||||
$(".imgBox").css({marginLeft:-900});
|
||||
})
|
||||
});
|
||||
$(".adBoxCreditCard_right").click(function(){
|
||||
$(".imgBox").stop().animate({marginLeft:-1800},1000,function(){
|
||||
$(".imgBox div:first").insertAfter($(".imgBox div:last"));
|
||||
$(".imgBox").css({marginLeft:-900});
|
||||
})
|
||||
});
|
||||
|
||||
/* 信用卡广告轮播 移动端 */
|
||||
$(function() {
|
||||
$(".swiper-container").swiper();
|
||||
});
|
||||
function applyLoan_result(type){
|
||||
$("#loanType").val(type);
|
||||
var oriUrl = location.href;
|
||||
if(oriUrl.endWith("gujia/report")){
|
||||
oriUrl = oriUrl+"?fangjia=true";
|
||||
}
|
||||
var url = "${basePath}/evaluation/apply?&productId=&source="+source+"&backUrl="+encodeURIComponent(oriUrl)+"&loanType="+type
|
||||
window.location.href= url;
|
||||
}
|
||||
/* 输入框获取焦点 */
|
||||
$(".evaluation_inputInfo > div > div span").click(function(){
|
||||
$(this).find("input").focus();
|
||||
@@ -480,10 +378,6 @@ $(".popup-about01 .cityGPS").on("click", function () {
|
||||
$(".adBoxApp01").show();
|
||||
});
|
||||
|
||||
|
||||
//$("body").delegate(".popup-about01 a","click", function(){
|
||||
// $("#selectedCity,#city").val($(this).text());
|
||||
//});
|
||||
$(".popup-about01-mobile .cityGPS").on("click", function () {
|
||||
$("#selectedCity,#city").val($(this).find("p").text());
|
||||
$(".adBoxApp01").show();
|
||||
@@ -495,172 +389,6 @@ $("body").delegate(".popup-about01-mobile a","click", function(){
|
||||
$(".popup-about01 .icon-left").on("click", function () {
|
||||
$(".adBoxApp01").show();
|
||||
});
|
||||
|
||||
/* 房产价格走势 */
|
||||
function showChat(categories, series,title) {
|
||||
charts =Highcharts.chart('chart01', {
|
||||
title: {
|
||||
text: title
|
||||
},
|
||||
subtitle: {
|
||||
text: '',
|
||||
x: -20
|
||||
},
|
||||
colors: ['#fd8084', '#98d2dd', '#8be09c'],
|
||||
xAxis: {
|
||||
categories: categories,
|
||||
boundaryGap: false,
|
||||
tickInterval: 2,
|
||||
tickLength: 6,
|
||||
labels: {
|
||||
style: {
|
||||
'font-size': '12px'
|
||||
}
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
allowDecimals: false,
|
||||
title: {
|
||||
text: ''
|
||||
},
|
||||
plotLines: [{
|
||||
value: 0,
|
||||
width: 1,
|
||||
color: '#808080'
|
||||
}]
|
||||
},
|
||||
tooltip: {
|
||||
valueSuffix: '元/㎡'
|
||||
},
|
||||
legend: {
|
||||
layout: 'horizontal',
|
||||
align: 'center',
|
||||
verticalAlign: 'bottom',
|
||||
y: 0,
|
||||
borderWidth: 0
|
||||
},
|
||||
plotOptions: {
|
||||
series: {
|
||||
marker: {
|
||||
radius: 4, //曲线点半径,默认是4
|
||||
symbol: 'circle' //曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
|
||||
}
|
||||
}
|
||||
},
|
||||
series: series,
|
||||
credits: {
|
||||
enabled: false
|
||||
}
|
||||
});
|
||||
}
|
||||
function yearAvgPrice(){
|
||||
var categories = new Array();
|
||||
var series = new Array();
|
||||
var o = new Object();
|
||||
o.name = '${districtName!}';
|
||||
|
||||
var o2 = new Object();
|
||||
o2.name = '${cityName!}';
|
||||
|
||||
var o3 = new Object();
|
||||
o3.name = '${region!}';
|
||||
|
||||
if(${districtMap?size} > 0){
|
||||
series.push(o);
|
||||
}
|
||||
if(${cityMap?size} > 0){
|
||||
series.push(o2);
|
||||
}
|
||||
if(${regionMap?size} > 0 && o3.name !=""){
|
||||
series.push(o3);
|
||||
}
|
||||
var odata = new Array();
|
||||
var o2data = new Array();
|
||||
var o3data = new Array();
|
||||
|
||||
<#if timeList??>
|
||||
<#list timeList as key>
|
||||
categories.push("${key}");
|
||||
odata.push(<#if districtMap["${key}"]??>${districtMap["${key}"]?c}<#else>0</#if>);
|
||||
o2data.push(<#if cityMap["${key}"]??>${cityMap["${key}"]?c}<#else>0</#if>);
|
||||
o3data.push(<#if regionMap["${key}"]??>${regionMap["${key}"]?c}<#else>0</#if>);
|
||||
</#list>
|
||||
</#if>
|
||||
|
||||
o.data = odata;
|
||||
o2.data = o2data;
|
||||
o3.data = o3data;
|
||||
showChat(categories, series,"${title!}");
|
||||
}
|
||||
yearAvgPrice();
|
||||
|
||||
$(".avgPriceTrend a").click(function(){
|
||||
var typeStr = $(this).attr("data-id");
|
||||
var cityStr = "${cityName!}";
|
||||
var regionStr = "${region!}";
|
||||
var districtStr = "${districtName!}";
|
||||
console.log("${evaluation.city!}");
|
||||
$.ajax({
|
||||
type : "GET",
|
||||
url : "${cityUrl}/evaluation/avgPriceData",
|
||||
dataType:"json",
|
||||
data : {cityName:cityStr,region:regionStr,districtName:districtStr,type:typeStr},
|
||||
async:false,
|
||||
success : function(re) {
|
||||
var categories = new Array();
|
||||
var series = new Array();
|
||||
var o = new Object();
|
||||
o.name = '${districtName!}';
|
||||
|
||||
var o2 = new Object();
|
||||
o2.name = '${cityName!}';
|
||||
|
||||
var o3 = new Object();
|
||||
o3.name = '${region!}';
|
||||
if(${districtMap?size} > 0){
|
||||
series.push(o);
|
||||
}
|
||||
if(${cityMap?size} > 0){
|
||||
series.push(o2);
|
||||
}
|
||||
if(${regionMap?size} > 0 && o3.name !=""){
|
||||
series.push(o3);
|
||||
}
|
||||
|
||||
var odata = new Array();
|
||||
var o2data = new Array();
|
||||
var o3data = new Array();
|
||||
|
||||
var m = re.timeList;
|
||||
for(var i=0;i<m.length;i++){
|
||||
categories.push(m[i]);
|
||||
if(re.districtMap[m[i]] == undefined){
|
||||
odata.push(0);
|
||||
} else {
|
||||
odata.push(re.districtMap[m[i]]);
|
||||
}
|
||||
if (re.cityMap[m[i]] == undefined) {
|
||||
o2data.push(0);
|
||||
} else {
|
||||
o2data.push(re.cityMap[m[i]]);
|
||||
}
|
||||
|
||||
if (re.regionMap[m[i]] == undefined){
|
||||
o3data.push(0);
|
||||
} else {
|
||||
o3data.push(re.regionMap[m[i]]);
|
||||
}
|
||||
}
|
||||
o.data = odata;
|
||||
o2.data = o2data;
|
||||
o3.data = o3data;
|
||||
showChat(categories, series,re.title);
|
||||
},error:function (data, status) {
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$("#loginlink").click(function(){
|
||||
window.location.href = "${wwwUrl}/user/login";
|
||||
@@ -871,7 +599,7 @@ function save(){
|
||||
});*/
|
||||
}
|
||||
|
||||
$(".main_left input").blur(function(){
|
||||
$(".main_left_reportNew input").blur(function(){
|
||||
var id = $(this).context.id;
|
||||
errorMsg(id);
|
||||
});
|
||||
@@ -884,13 +612,11 @@ function errorMsg(id) {
|
||||
$("#houseAreaError").hide();
|
||||
$("#floorError").hide();
|
||||
$("#heightError").hide();*/
|
||||
|
||||
|
||||
var reg = /^[0-9]+.?[0-9]*$/;
|
||||
if(id=="selectedCity" && $("#selectedCity").val().trim()==""){
|
||||
alert("selectedCity is null")
|
||||
$("#selectedCityError").show();
|
||||
}else{
|
||||
alert("selectedCity is not null")
|
||||
$("#selectedCityError").hide();
|
||||
}
|
||||
if(id=="districtName" && $("#districtName").val().trim()==""){
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<!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>
|
||||
|
||||
<#if controllerName == "rentHouseSearch" && actionName = "list">
|
||||
<#assign _city_uri>zufang</#assign>
|
||||
<#elseif controllerName == "rentHouse" && actionName = "show">
|
||||
@@ -20,13 +18,9 @@
|
||||
<#else>
|
||||
<#assign _city_uri>index</#assign>
|
||||
</#if>
|
||||
<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">
|
||||
<script src="${staticUrl}/js/fangjia/v5/jquery-1.7.2.min.js?v=${version}"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
<div class="selectCity cityChoice_spread mobile01 dn" id="chooseCity" style="display: none;">
|
||||
<div id="allCityDiv">
|
||||
<div class="c_top">
|
||||
@@ -487,5 +481,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,41 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
/* 快捷登录 */
|
||||
|
||||
|
||||
.dialogBox{width:600px;height:400px;position:fixed;left:50%;top:50%;background: url(../../../images/fangjia/v6/4-2-2.png);background-size: 600px 400px;}
|
||||
|
||||
.dialogBox_title{display: inline-flex;justify-content: center;width: 600px;height: 50px;font-size: 30px;font-weight: 700;color: #FC6621;line-height: 50px;margin-top: 50px;position: relative;}
|
||||
.dialogBox .close{width: 30px;height: 30px;background: url(../../../images/fangjia/v6/close.png) no-repeat center center;background-size: 30px 30px;position: absolute;right: 20px;cursor: pointer;}
|
||||
.dialogBox_content{overflow:hidden;padding:80px;}
|
||||
.dialogBox_content > p{font-size:18px;text-align:center;}
|
||||
|
||||
/* 快捷登录 */
|
||||
.dialogBox09{width:600px;height:400px;margin-left:-264px;margin-top:-165px;}
|
||||
.dialogBox09 .dialogBox_title{border-bottom:none;}
|
||||
.dialogBox09 .dialogBox_content{padding:0;margin-top: 20px;}
|
||||
.dialogBox09 .dialogBox_content .user{margin-top:20px;}
|
||||
|
||||
.ls2_01{letter-spacing: 40px;font-size: 20px;}
|
||||
.ls2_02{letter-spacing: 0px;font-size: 20px;}
|
||||
.ls3_01{letter-spacing:10px;font-size: 20px;}
|
||||
.ls3_02{letter-spacing:0px;*letter-spacing:7px;font-size: 20px;}
|
||||
|
||||
.inputInfoBox{width: 480px;margin: auto;}
|
||||
.inputInfo{width: 480px;height: 60px;margin: auto;}
|
||||
.inputInfo input {height: 40px;outline: none;border: 1px solid #BEBEBE;margin-left: 20px;padding-left: 10px;font-size: 20px;}
|
||||
.inputInfo input::-webkit-input-placeholder {
|
||||
/* 修改字体颜色 */
|
||||
color: #BEBEBE;
|
||||
/* 修改字号,默认继承input */
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sendCode_before{width: 120px;height: 40px;background: #ececec;border: solid 1px #808080;text-align: center;line-height: 40px;float: right;cursor: pointer;}
|
||||
.user_btn{width: 480px;height: 40px;background: #f08300;text-align: center;line-height: 40px;color: #fff;font-size: 20px;font-weight: 700;letter-spacing: 2px;display: block;cursor: pointer;margin: auto;margin-top: 30px;}
|
||||
|
||||
.note{font-size:12px;color:#999;margin-top:10px;text-align:center;}
|
||||
.note a{color:#f08300;font-size:12px;}
|
||||
@@ -42,7 +42,7 @@ input::-webkit-input-placeholder {
|
||||
.ls2_01a{letter-spacing: 40px;font-size: 20px;}
|
||||
.ls2_02a{letter-spacing: 0px;font-size: 20px;}
|
||||
|
||||
input {height: 40px;outline: none;}
|
||||
input {height: 40px;outline: none;border: 0;}
|
||||
|
||||
.search_btn01 {float: left;width: 400px;height: 55px;background: url(../../../images/fangjia/v6/4-2-4.png);margin: auto;
|
||||
background-size:100% 100%;background-repeat: no-repeat;background-position: center;color: #EC6528;
|
||||
@@ -70,7 +70,7 @@ table{border-collapse: collapse;height: 200px;margin-bottom: 30px;}
|
||||
td{border: 1px solid #999;}
|
||||
.td01{width: 120px;padding-left: 30px;}
|
||||
.td02{width: 1000px;padding-left: 25px;}
|
||||
.td03{text-align: center;font-size: 20px;font-weight: 700;color: #999999;line-height: 30px;}
|
||||
.td03{text-align: center;font-size: 20px;font-weight: 700;color: #999999;line-height: 50px;height: 50px;}
|
||||
|
||||
.sample_icon{display: flex;width: 1120px;justify-content: center;margin-top: 10px;margin-bottom: 10px;}
|
||||
.sample_icon01{width: 350px;height: 200px;background: url(../../../images/fangjia/v6/4-2-6.png);background-size: 314px 178px;background-repeat: no-repeat;background-position: left;}
|
||||
|
||||
Reference in New Issue
Block a user