communityMembers.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <view>
  2. <view class="search">
  3. <icon class="icon-search" size="14" type="search"></icon>
  4. <input bindinput="bindSearchChange" bindconfirm="searchByKey" placeholder="联系人/手机号" type="text" value="{{searchKey}}" confirm-type="done" ></input>
  5. <text bindtap="searchByKey">搜索</text>
  6. <text bindtap="cancel">取消</text>
  7. </view>
  8. <!-- <view class="date">
  9. <text>订单时间</text>
  10. <text class="date-value">{{date}}</text>
  11. <picker bindchange="bindDateChange" class="icon-date" end="{{maxDate}}" mode="date" start="2018-08-01" value="{{date}}">
  12. <image bindchange="bindDateChange" src="../../images/date.png"></image>
  13. </picker>
  14. <text bindtap="clearDate" class="icon-clear">全部时间</text>
  15. </view> -->
  16. <view class="list-header">
  17. <view>社区用户</view>
  18. <view>待核销订单</view>
  19. </view>
  20. <scroll-view scrollY bindscrolltolower="getMore" class="list-content" style="height:{{containerHeight}}px" wx:if="{{order.length}}">
  21. <view class="list">
  22. <view class="list-item" bindtap="goLink" wx:for="{{order}}" wx:key="index" data-link="/lionfish_comshop/moduleA/groupCenter/pendingDeliveryOrders?memberId={{item.member_id}}">
  23. <view class="item-left">
  24. <component-img defaultImage="../../images/placeholder-refund.png" height="36" isCircle="true" loadImage="{{item.avatar}}" width="36"></component-img>
  25. <view>
  26. <text>{{item.username}}</text>
  27. <view catchtap="callTelphone" class="phone" data-phone="{{item.mobile}}">
  28. <view wx:if="{{item.shipping_name}}" style='margin-right:8rpx;'>{{item.shipping_name}}</view>
  29. <block wx:if="{{item.mobile=='未下单'}}">
  30. <view style="color:#999;">{{item.mobile}}</view>
  31. </block>
  32. <block wx:else>
  33. <image class="icon-phone" src="../../images/phone.png"></image>
  34. <view>{{item.mobile}}</view>
  35. </block>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="item-right">
  40. <text class="text">{{item.order_count}}个</text>
  41. <image class="iconfont icon-right-arrow rightArrowImg" src="../../images/rightArrowImg.png" wx:if="{{close_community_delivery_orders!=1}}"></image>
  42. </view>
  43. </view>
  44. </view>
  45. <i-loadMore tip="{{tip}}" wx:if="{{!isHideLoadMore}}"></i-loadMore>
  46. </scroll-view>
  47. <view class="none-member" wx:else>暂无社区用户</view>
  48. </view>