<wxs src='../../utils/formatFuc.wxs' module="utils"></wxs>
<view>
 <view class="record-item" wx:for="{{recordList}}" wx:key="index">
 <view class="item-title">
 <image src="/static/images/new/icon-fwbc.png"></image>
 <view>服务补差</view>
 <view class="item-date">{{item.createTime}}</view>
 </view>
 <view class="item-line">
   <view>补差项：</view>
	 <view>{{item.difName}}</view>
 </view>
 <view class="item-line">
   <view>支付状态：</view>
	 <!-- 0创建，1发起支付中，2支付成功，3退款，4取消 -->
	 <view class="{{item.state!=2?'non-payment':''}} pay-status">{{(item.state==0||item.state==1)?'未支付':(item.state==2?'已支付':'取消')}}</view>
 </view>
 <view class="item-line">
   <view>支付时间：</view>
	 <view>{{item.payTime==null?'':item.payTime}}</view>
 </view>
 <view class="item-line">
   <view>总计金额：</view>
	 <view>¥ {{item.difTotalPrice}}</view>
 </view>
 <view class="detail-btn" bindtap="goDetail" data-id="{{item.id}}">查看详情</view>

 </view>
 <view wx:if="{{recordList.length==0}}" style="text-align: center;font-size: 24rpx;line-height: 60rpx;">暂无数据～</view>
</view>
