<!-- packageH/free_of_charge/Components/RecordItem/RecordItem.wxml -->
<scope-panel class="record-item" wx:if="{{ data }}">
  <view class="record-row">
    <view class="record-ordersn">{{ data.order_sn }}</view>
    <view class="record-status">{{ data.status_name }}</view>
  </view>
  <block wx:if="{{ simple===false }}">
    <view class="record-row">
      <view>{{ data.created_at }}</view>
      <view class="record-view-details">
        查看详情
        <text class="iconfont icon-advertise-next"></text>
      </view>
    </view>
    <view class="record-details" wx:if="{{ showTaskInfo }}">
      <view>免单任务：{{ data.has_one_task.limit_time_string }}内直推{{ data.has_one_task.people_num }}位好友</view>
      <view>
        任务进度：{{ data.has_one_task.completed_people_num }}/{{ data.has_one_task.people_num }}
      </view>
      <view>任务截止时间：{{ data.has_one_task.end_time }}</view>
    </view>
  </block>
</scope-panel>