healthInsurDetail.wxml 4.8 KB
<view>
  <view style="background:#fff;padding:0 30rpx;">
    <text class="text_gray7_34">商业健康保险合计</text>
    <text class="text_black3_34 float_right">{{total_account}}</text>
  </view>

  <!-- 列表数据,不可修改 -->
  <view wx:for="{{infoList}}" style="background:#fff;margin-top:20rpx">
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">税优识别码</text>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" maxlength="20"  value="{{item.tax_code}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="date" bindchange="bindDeductContent">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">保单生效日期</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.date_policy}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">年度保费</text>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.year_premium}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">月度保费</text>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.month_premium}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">本年扣除金额</text>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true"value="{{item.year_deduction}}"></input>
    </view>
  </view>

 <!-- 添加项,可编辑 -->
   <view  wx:if="{{showAddView}}" style="background:#fff;margin-top:20rpx">
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">税优识别码</text>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' id="tax_code" bindblur="getInputInfo" value="{{tax_code}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view class="divide_line_30"></view>
    <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="date" bindchange="datePolicyPicker">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">保单生效日期</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择'  value="{{effect_date}}" disabled="true"></input>
    </picker>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">年度保费</text>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' type="digit" id="year_premium" bindblur="getInputInfo"  value="{{year_premium}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">月度保费</text>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入'  type="digit" id="month_premium" bindblur="getInputInfo" value="{{month_premium}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class='red_star_right_10'>*</text>
      <text class="text_gray7_34">本年扣除金额</text>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入'  type="digit" id="year_deduction" bindblur="getInputInfo" value="{{year_deduction}}"></input>
    </view>
  </view>

  <view style="background:#fff;margin-top:20rpx;height:104rpx;display:flex;align-items:center;justify-content:center;margin-bottom:84rpx" bindtap="addItem">
    <image style="width:28rpx;height:28rpx;margin-right:16rpx" src="/images/add_extra.png"></image>
    <text style="font-size:28rpx;color:#4986fe">继续添加</text>
  </view>
  <view class="btn_bottom" bindtap="goSubmit">
    <button class="btn_bottom">保存</button>
  </view>
</view>