零首付按揭
This commit is contained in:
@@ -1402,23 +1402,13 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
//是否零首付
|
||||
switchZeroFirstpay:function(e){
|
||||
this.setData({
|
||||
if_zero_firstpay:e.detail.value ? 1 :0,
|
||||
'priceinfo.sdeposit':'',
|
||||
price_loan0:'',
|
||||
if_zero_firstpay:0,
|
||||
firstPayIndex:0,
|
||||
})
|
||||
},
|
||||
|
||||
//选择首付类型
|
||||
changeFirstPay(e) {
|
||||
if(this.data.firstPayIndex != e.detail.value && e.detail.value >= 0){
|
||||
this.setData({
|
||||
firstPayIndex:e.detail.value,
|
||||
price_loan0:'',
|
||||
'priceinfo.sdeposit':'',
|
||||
})
|
||||
if(this.data.firstPayArr[this.data.firstPayIndex]=='0首付'||this.data.firstPayArr[this.data.firstPayIndex]=='按揭'){
|
||||
this.setData({
|
||||
|
||||
@@ -1486,23 +1486,13 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
//是否零首付
|
||||
switchZeroFirstpay:function(e){
|
||||
this.setData({
|
||||
if_zero_firstpay:e.detail.value ? 1 :0,
|
||||
'priceinfo.sdeposit':'',
|
||||
price_loan0:'',
|
||||
if_zero_firstpay:0,
|
||||
firstPayIndex:0,
|
||||
})
|
||||
},
|
||||
|
||||
//选择首付类型
|
||||
changeFirstPay(e) {
|
||||
if(this.data.firstPayIndex != e.detail.value && e.detail.value >= 0){
|
||||
this.setData({
|
||||
firstPayIndex:e.detail.value,
|
||||
price_loan0:'',
|
||||
'priceinfo.sdeposit':'',
|
||||
})
|
||||
if(this.data.firstPayArr[this.data.firstPayIndex]=='0首付'||this.data.firstPayArr[this.data.firstPayIndex]=='按揭'){
|
||||
this.setData({
|
||||
|
||||
@@ -245,12 +245,6 @@
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{paymentIndex == 1}}">
|
||||
<view class="absolute left-0 box-middle">零首付</view>
|
||||
<view class="relative pt30 pb30 text-right">
|
||||
<switch checked="{{if_zero_firstpay==1}}" bindchange="switchZeroFirstpay" type="switch" color='#36afa2' style="zoom:0.8" />
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{if_zero_firstpay==1&&firstPayArr[firstPayIndex]=='按揭'}}">
|
||||
<view class="absolute left-0 box-middle">首付按揭金额</view>
|
||||
<view>
|
||||
|
||||
Reference in New Issue
Block a user