<!--package/inspectionRecord/inspectionRecord.wxml-->
<view style="box-shadow:0px 0px 5px #7e7e7e;padding: 15px;background: #fff;position:fixed;top:0;left:0;width: 100%;">
  <view style="display: flex;">
    <view style="line-height:50rpx;">时间范围:</view>
    <view style="display: flex;">
      <view style="border:2rpx solid #ccc;padding:6rpx 16rpx;margin-right:20rpx;border-radius:6rpx;">2022-12-15</view>
      <view style="line-height: 55rpx;">至</view>
      <view style="border:2rpx solid #ccc;padding:6rpx 16rpx;margin-left:20rpx;border-radius:6rpx;">2022-12-26</view>
    </view>
  </view>
  <view style='display:flex;margin-top:28rpx;'>
    <view style="line-height: 55rpx;">巡检结果:</view>
    <picker class='my-picker' bindchange="bindPickerRes" value="{{ResIndex}}" rangeKey='text' range='{{ResList}}' style="border:2rpx solid #ccc;padding:6rpx 20rpx;border-radius: 6rpx;">
      {{ResList[ResIndex].text}}
      <image style="width:20rpx;height:20rpx;margin-left:10rpx;" src="../../images/down.svg" />
    </picker>
  </view>
</view>

<view class="contentBox">
  <block wx:for="{{dataList}}" wx:key='*this'>
    <view class="listBox">
      <view style="padding-bottom:40rpx;overflow: hidden;">
        <view class="titleBox" style="width: 630rpx; margin: 0 auto;">
          <view class="title">结构物A</view>
        </view>
        <view style="line-height:50rpx;font-size:28rpx;width: 630rpx; margin: 0 auto;">
          本次巡检日期:<text>2022-12-21 17:00</text>
        </view>
        <view style="line-height:50rpx;font-size:28rpx;width: 630rpx; margin: 0 auto;">
          巡检人:<text>巡检人</text>
        </view>
        <view style="line-height:50rpx;font-size:28rpx;width: 630rpx; margin: 0 auto;">
          巡检结果:<text>异常</text>
        </view>
        <view class="btn" bindtap="bindStart">查看详情</view>
      </view>
    </view>
  </block>
</view>