<!--pages/answer/answer.wxml-->
<view class="answer-page">
  <navBar bg="url('https://chrivc.obs.cn-north-4.myhuaweicloud.com/68a423ea6a5a47df89377115791dbe12:HTAr4uskKoy39c1544ea6082be1b230c9a64772ff502.png');background-size: 750rpx 450rpx;"></navBar>
  <view class="title-box">
    <image src="/assets/images/member/V.png" />
    设置默认应答
  </view>
  <view class="description">年费会员专属服务</view>
  <view class="form-box">
    <view class="form-item break">
      <view class="label">默认授权与否</view>
      <view class="select-box">
        <view wx:for="{{dealOptions}}" wx:key="index" data-value="{{item.value}}" class="select-item {{item.value === deal ? 'active' : ''}}" bind:tap="changeDeal">{{item.label}}</view>
      </view>
    </view>
    <view class="form-item">
      <view class="label">默认授权报告</view>
      <picker mode="selector" value="{{selectIndex}}" range="{{reportList}}" range-key="name" bindchange="reportChange">
        <view class="picker-box">
          {{selectIndex ? reportList[selectIndex].name : '请选择'}}
          <image src="/assets/images/inspected/arrows.png" />
        </view>
      </picker>
    </view>
    <view class="form-item break">
      <view class="label">默认查验有效期</view>
      <view class="input-box">
        <input model:value="{{expirationDay}}" type="number" placeholder="请输入" />
        天
      </view>
    </view>
  </view>
  <view class="radio-box">
    <radio checked="{{oldDataDeal}}" color="#CEA374" bind:tap="radioChange" />
    按照此次设置处理当前未处理的所有查验申请
  </view>
  <view class="btn-box">
    <btn type="member" width="342rpx" height="82rpx" fontSize="28rpx" bind:tap="submit">确认设置</btn>
  </view>
</view>
