addextrainfo.wxml 9.4 KB
<!--pages/main/addtionalreduce/addextrainfo/addextrainfo.wxml-->
<scroll-view class='page'>
  <view style='padding:0 30rpx'>
    <!-- 添加子女 -->
    <view wx:if="{{cur_index==0}}">
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>子女姓名</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>子女母亲姓名</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女母亲姓名'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>子女身份证号</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女身份证号'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>子女学籍号</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女学籍号'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>教育阶段</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择教育阶段</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除金额</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除比例</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除比例'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除时间</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
      </view>
    </view>
    <!-- 继续教育 -->
    <view wx:if="{{cur_index==1}}">
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>教育类型</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择教育类型</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view wx:if="{{lable!=0}}">
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>学历教育阶段</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学历教育阶段'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>学籍号</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学籍号'></input>
        </view>
      </view>
      <view wx:else>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>职业资格名称</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格名称'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>职业资格编号</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格编号'></input>
        </view>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除时间</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
      </view>
    </view>

    <!-- 赡养老人 -->
    <view wx:if="{{cur_index==2}}">
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>老人姓名</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入老人姓名'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>老人身份证号</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入老人身份证号'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>与老人关系</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择与老人关系</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>是否独生子女</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择是否独生子女</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>分摊比例</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分摊比例'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除时间</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
      </view>
    </view>

    <!-- 大病医疗 -->
    <view wx:if="{{cur_index==3}}">
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除金额</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除时间</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
      </view>
    </view>

    <!-- 住房 -->
    <view wx:if="{{cur_index==4}}">
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>配偶姓名</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>配偶身份证号</text>
        <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶身份证号'></input>
      </view>
      <view class='divide_line_f5f5f5'></view>
      <view style='height:90rpx'>
        <text class='text_black_30 float_left'>扣除时间</text>
        <image class='arrow_wrap' src='/images/arrow_right.png'></image>
        <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
      </view>
    </view>

    <view class='divide_line_f5f5f5'></view>
    <view class='text_black_30 float_left'>上传材料</view>
  </view>
  <view style='margin-bottom:140rpx'>
    <image src='{{img_path}}' style='width:100%;height:380rpx' bindtap='goupload'></image>
    <view class='text_999_30' style='text-align:center;margin:20rpx 30rpx'>{{extrainfo_arr[cur_index]}}</view>
  </view>

  <view class="btn_bottom" bindtap='gosave'>
    <button class="btn_bottom"> 保存</button>
  </view>
</scroll-view>