 <view class="container">
<input class="search" placeholder="查找客户/服务"/>

<view wx:if="{{list.length==0}}" style="text-align:center;font-size:32rpx;color:#333">没有开单记录</view>
<view class="item" wx:for="{{list}}" wx:key='id'>
 <view class="content">
   <view class="left">{{item.createTime}}</view>
   <view class="right">{{item.status}}</view>
 </view>
 <view class="content" style="margin-top:20rpx">
  <view class="left">{{item.customerName}}</view> 
  <view class="left" data-mobile='{{item.mobile}}' bindtap="makeCall" style="margin-left:20rpx;color:blue">联系他</view>
</view>
 <view class="goods">
   <view class="name">{{item.goodsName}}</view>
   <view class="price">￥{{item.price}}</view>
 </view>
<view class="content">
  <view class="left">支付时间</view> 
  <view class="right">{{item.payTime}}</view>
</view>
<view class="content">
  <view class="left">本次开单收益</view> 
  <view class="right">￥{{item.amount}}</view>
</view>

</view>

 </view>