Commit f6b4c609 by Chao Sun

图标下的提示

parent db5f4d68
......@@ -11,6 +11,7 @@
import dataHandling from "../../util/dataHandling";
import api from "../../api/api";
import { ref,toRefs } from "vue";
import {nanoid} from 'nanoid';
export default {
name:'follow',
......
......@@ -148,10 +148,14 @@
</view>
<view id="myEcharts" style="height: 500rpx;"></view>
<view>
差额 = 你想要的-可实现的
</view>
<view v-show="resultInfos.code == 'A001' || resultInfos.code =='A002'">
1.如您想实现{{resultInfos.nyear}}年后在{{resultInfos.provinceName}} {{resultInfos.cityName}}地区购买{{resultInfos.preOrderSize}}㎡的房产,那么您还需要提高首付款到{{resultInfos.pvDownPayment}}元,或您需提高每年预备还房贷资金总额到{{resultInfos.houseSpecialPurpose}}元。
</view>
<view>
2.根据您的已备首付款和每年预备还房贷资金总额,您在N年后可实现购买房屋单价为XXX元/㎡,总价为XXXX元的房产。
{{resultInfos.code == 'A001' || resultInfos.code =='A002'?'1':'2'}}.
根据您的已备首付款和每年预备还房贷资金总额,您在{{resultInfos.nyear}}年后可实现购买房屋单价为{{tipsPrice}}元/㎡,总价为{{tipsTotalPrice}}元的房产。
</view>
</view>
<view class="line" v-for="houseItem in housePurchasePrices">
......@@ -218,6 +222,8 @@
export default{
data(){
return{
tipsPrice:null,
tipsTotalPrice:null,
isEditFlag:false,
dataLists:null,
dialogIsShow:false,//弹窗显示与隐藏
......@@ -259,13 +265,6 @@
resultFlag:false,
}
},
setup() {
//父传子实现 1.定义要传递的属性的属性值
const userApplyType=ref("userApplyType");
return {
userApplyType,
};
},
components:{
loanBalance,
planningParameters,
......@@ -418,7 +417,16 @@
this.resultFlag = true;
this.resultInfos = res['data'];
this.housePurchasePrices = res['data']['housePurchasePrices'];
this.drawLine()
if(this.housePurchasePrices.length>0){
this.tipsPrice = this.housePurchasePrices.filter((item)=>{
return item.priceType == 2;
})[0]['fvPriceRealization'];
this.tipsTotalPrice = this.housePurchasePrices.filter((item)=>{
return item.priceType == 1;
})[0]['fvPriceDesired'];
}
this.drawLine();
}else{
common.errorDialog(2,res['message'])
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment