<view class="tag1">
  <scroll-fetch onService="payHistory">
    <view slot-scope="props" class="hospital-report">
      <view a:for="{{props.list}}" a:for-item="item" key="*this">
        <view class="cord" onTap="onItemClick" data-detail="{{item}}">
          <view class="status">
            <view style="color: #000;" a:if="{{item.status === 0}}">待支付</view>
            <view style="color: #21B35E;" a:if="{{item.status === 1}}">已支付</view>
            <view style="color: #FFA019;" a:if="{{item.status === 9}}">已取消</view>
            <view>金额：{{item.amount}}</view>
          </view>
          <view class="type">
            {{item.depName}}
          </view>
          <view class="record">
            <view>就诊人</view>
            <view>{{item.name}}</view>
          </view>
          <view class="record">
            <view>开方时间</view>
            <view>{{item.prescribeDate}}</view>
          </view>
          <view class="record" a:for="{{item.customInfo}}" a:key="*this">
            <view>{{item.key}}</view>
            <view>{{item.value}}</view>
          </view>
          <title type="arrow" className="detail-desc">查看详情</title>
        </view>
      </view>
    </view>
  </scroll-fetch>
</view>
