This commit is contained in:
xuhe@fangjia.com
2018-07-04 18:52:59 +08:00
parent 2862d1aea1
commit 0e37e13826
3 changed files with 15 additions and 3 deletions
@@ -90,7 +90,7 @@
<p><i class="icon icon-loan01"></i><label>房抵贷</label></p>
<p id="loanDiv1"><small>最高可贷额度</small></p>
<p id="loanDiv2"><em id="loanPrice">{{loan_price}}</em><font>万</font></p>
<p><span>月利率低至0.6%</span><br><span>最长5年</span></p>
<p><span id="textStr1">最快三天放款</span><br><span>月利率低至0.6%</span></p>
<p><a onclick="gotoLoanApply(1)" class="button button-round theme">立即申请</a></p>
</div>
</div>
@@ -296,12 +296,18 @@ $.config = {router: false}
house_price.total_price = "暂无";
$("#loanDiv1").hide();
$("#loanDiv2").hide();
$("#textStr1").text("最快三天放款");
}else{
house_price.total_price = (h.totalPrice/10000).toFixed(2)
house_price.w = "万"
$("#loanDiv1").show();
$("#loanDiv2").show();
house_loan.loan_price = ((h.totalPrice/10000)*0.7).toFixed(0);
if(house_loan.loan_price>=200){
$("#textStr1").text("超长年限30年");
}else{
$("#textStr1").text("最快三天放款");
}
}
//alert(house_price.loanPrice)
+7 -1
View File
@@ -117,7 +117,7 @@
<p><i class="icon icon-loan01"></i><label>房抵贷</label></p>
<p id="loanDiv1"><small>最高可贷额度</small></p>
<p id="loanDiv2"><em id="loanPrice">{{loanPrice}}</em><font>万</font></p>
<p><span>月利率低至0.6%</span><br><span>最长5年</span></p>
<p><span id="textStr1">最快三天放款</span><br><span>月利率低至0.6%</span></p>
<p><a onclick="gotoLoanApply(1)" class="button button-round theme">立即申请</a></p>
</div>
</div>
@@ -518,11 +518,17 @@ function init(){
baseInfo.totalPrice = "暂无";
$("#loanDiv1").hide();
$("#loanDiv2").hide();
$("#textStr1").text("最快三天放款");
}else{
$("#loanDiv1").show();
$("#loanDiv2").show();
baseInfo.totalPrice = (houseInfo.totalPrice/10000).toFixed(2)
baseInfo.loanPrice = ((houseInfo.totalPrice/10000)*0.7).toFixed(0);
if(baseInfo.loanPrice>=200){
$("#textStr1").text("超长年限30年");
}else{
$("#textStr1").text("最快三天放款");
}
}
baseInfo.price=houseInfo.price;
baseInfo.totalScore=houseInfo.totalScore;