作者 LXY

测试

... ... @@ -55,6 +55,8 @@ Page({
edit_state: false,
risk_listitm: '',
storge_state: false,
warranty_info:'请输入',
warranty_state:false
},
//保单号
... ... @@ -664,8 +666,14 @@ Page({
selectUnit(e) {
var unit = e.currentTarget.dataset.unit
this.setData({
unit: unit
unit: unit,
})
if(unit=='终身'){
this.setData({
warranty_info:'',
warranty_state:true
})
}
this.countImpletionTime2()
},
... ...
... ... @@ -11,7 +11,7 @@
<view class='popup_content'>
<view class='popup_title'>{{item.name}}</view>
<view class='popup_input'>
<input type='number' placeholder='请输入' value='{{item.num}}' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input>
<input type='number' placeholder='请输入保额' value='{{item.num}}' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input>
<!-- <text>{{item.title}}</text> -->
</view>
</view>
... ... @@ -140,7 +140,7 @@
<view class='list_title'>保障期</view>
<view class='list_input_box'>
<view class='list_input'>
<input type='text' placeholder='请输入' value='{{warranty_two.num}}' bindinput='warrantyTwo'></input>
<input type='text' placeholder='{{warranty_info}}' value='{{warranty_two.num}}' bindinput='warrantyTwo' disabled='{{warranty_state}}'></input>
</view>
<view class='list_label_box'>
<view class="list_label_item {{unit=='年'?'list_label_active':''}}" bindtap='selectUnit' data-unit='年'>年</view>
... ...
... ... @@ -14,7 +14,7 @@
"compileType": "miniprogram",
"libVersion": "2.4.0",
"appid": "wxac365079a43a66bb",
"projectname": "%E5%AE%B6%E5%BA%AD%E4%BF%9D%E9%99%A9",
"projectname": "%E5%AE%B6%E5%BA%AD%E4%BF%9D%E9%99%A91",
"debugOptions": {
"hidedInDevtools": []
},
... ...