You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// components/detail-senior/detail-senior.js
|
|
|
|
Component({
|
|
|
|
options: {
|
|
|
|
addGlobalClass: true
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 组件的属性列表
|
|
|
|
*/
|
|
|
|
properties: {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 组件的初始数据
|
|
|
|
*/
|
|
|
|
data: {
|
|
|
|
priceData:{
|
|
|
|
housingPrice:null,
|
|
|
|
commercePrice:null,
|
|
|
|
businessPrice:null,
|
|
|
|
parkingPrice:null,
|
|
|
|
parkingAllocation:null,
|
|
|
|
singleIndicator:null,
|
|
|
|
parkingSaleRate:null,
|
|
|
|
singlePrimeCost:null,
|
|
|
|
commerceRate:null,
|
|
|
|
businessRate:null,
|
|
|
|
manageFeeRate:null,
|
|
|
|
salesRate:null,
|
|
|
|
financialRate:null,
|
|
|
|
financingRate:null,
|
|
|
|
loansRate:null,
|
|
|
|
financingInterest:null,
|
|
|
|
loansInterest:null,
|
|
|
|
financingPeriod:null,
|
|
|
|
loansPeriod:null,
|
|
|
|
freeHousingRate:null,
|
|
|
|
freeCommerceRate:null,
|
|
|
|
freeBusinessRate:null,
|
|
|
|
selfHousingRate:null,
|
|
|
|
selfHousingPrice:null,
|
|
|
|
selfCommerceRate:null,
|
|
|
|
selfCommercePrice:null,
|
|
|
|
selfBusinessRate:null,
|
|
|
|
selfBusinessPrice:null,
|
|
|
|
selfBusinessAmount:null,
|
|
|
|
selfCommerceAmount:null,
|
|
|
|
selfHousingAmount:null,
|
|
|
|
|
|
|
|
},
|
|
|
|
tabHDate: ['土地价格', '楼面价', '土地总价', '净利率', '溢价率'], // 标题内容
|
|
|
|
tabW: ['167', '114', '157', '134', '120'],
|
|
|
|
rowKey: ['Tprice', 'Lprice', 'AllPrice', 'Interest', 'PremiumRate'],
|
|
|
|
rowData: [{
|
|
|
|
Tprice: '起拍价',
|
|
|
|
Lprice: '5800',
|
|
|
|
AllPrice: '51780',
|
|
|
|
Interest: '13.90%',
|
|
|
|
PremiumRate: '0.25%'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Tprice: '预测-成交价',
|
|
|
|
Lprice: '6800',
|
|
|
|
AllPrice: '62158',
|
|
|
|
Interest: '9.90%',
|
|
|
|
PremiumRate: '10.85%'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 组件的方法列表
|
|
|
|
*/
|
|
|
|
methods: {
|
|
|
|
vmodel(e){
|
|
|
|
for(let key in this.data.priceData){
|
|
|
|
if(key==e.currentTarget.dataset.type){
|
|
|
|
this.data.priceData[key]=e.detail.value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log(this.data.priceData)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|