list.wxml 998 B

1234567891011121314151617181920212223242526272829
  1. <view class="container">
  2. <input class="search" placeholder="查找客户/服务"/>
  3. <view wx:if="{{list.length==0}}" style="text-align:center;font-size:32rpx;color:#333">没有开单记录</view>
  4. <view class="item" wx:for="{{list}}" wx:key='id'>
  5. <view class="content">
  6. <view class="left">{{item.createTime}}</view>
  7. <view class="right">{{item.status}}</view>
  8. </view>
  9. <view class="content" style="margin-top:20rpx">
  10. <view class="left">{{item.customerName}}</view>
  11. <view class="left" data-mobile='{{item.mobile}}' bindtap="makeCall" style="margin-left:20rpx;color:blue">联系他</view>
  12. </view>
  13. <view class="goods">
  14. <view class="name">{{item.goodsName}}</view>
  15. <view class="price">¥{{item.price}}</view>
  16. </view>
  17. <view class="content">
  18. <view class="left">支付时间</view>
  19. <view class="right">{{item.payTime}}</view>
  20. </view>
  21. <view class="content">
  22. <view class="left">本次开单收益</view>
  23. <view class="right">¥{{item.amount}}</view>
  24. </view>
  25. </view>
  26. </view>