<wxs src='../../../utils/formatFuc.wxs' module="utils"></wxs>
<view class="container"> 
  <image class="top-img" src="/static/images/bk.png" mode="widthFix"></image>

  <view class="main-module">
    <view class="main-title">
      <image style="height: 60rpx;width:60rpx;" src="/static/images/ticket@selected.png"></image>
      <view style="font-size: 36rpx;font-weight: 500;color:#666;margin-left: 10rpx;">我的上传记录</view>
    </view>
  </view>

  <view class="alula-expert-calendar">
    <calendar id="calendar" config="{{calendarConfig}}" bind:onSwipe="onSwipe" bind:takeoverTap="takeoverTap"
      bind:afterTapDate="afterTapDate" bind:whenChangeMonth="whenChangeMonth"
      bind:afterCalendarRender="afterCalendarRender"></calendar>
  </view>


  <view class="alula-expert-calendar-wrap">
    <view class="alula-border-radius alula-expert-form-wrap">
      <view wx:if="{{selected}}" class="alula-expert-calendar-content">
        <view class="book">
          <view class="content">
            <view bindtap="goBookDetail">
              <view class="goods">{{selected.address}}</view>
              <view class="address" wx:if="{{selected.opType==1}}">检测类型：核酸</view>
              <view class="address" wx:if="{{selected.opType==2}}">检测类型：抗原</view>
              <view class="address" wx:if="{{selected.opType==2}}">检测结果：{{selected.antigenicResult}}</view>
              <view class="address">采样时间：{{selected.nucleicDate}}</view>
              <view class="time">报告时间：{{utils.formatDate(selected.checkTime)}}</view>
              <view class="address" wx:if="{{selected.opType==1}}">检测结果：{{selected.nucleicResult}}</view>
              <view class="address">体温：{{selected.bbt}}℃</view>
              <view class="address">是否能接单：
              <text wx:if="{{selected.canAttendance==1}}">是</text>
              <text wx:if="{{selected.canAttendance===0}}">否</text>
              </view>
            </view> 
          </view>
        </view>
      </view>
      <view>
        <view style="margin-bottom: 100rpx;border-radius: 10rpx;border:1rpx solid #999;line-height: 76rpx;text-align:center;color:#9e9797;height:76rpx;" bindtap="goNucleic">去提交报告</view>
      </view>

    </view>
  </view>

</view>