index.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <cu-custom bgColor="bg-gradual-blue" isBack>
  2. <view slot="backText">返回</view>
  3. <view slot="content">{{title}}</view>
  4. </cu-custom>
  5. <view class="section">
  6. <view wx:for="{{value.value}}" wx:key="index" class="item margin-bottom-sm bg-white padding">
  7. <view class="type padding-bottom text-xl text-black">{{item.status_text}}</view>
  8. <view class="text-cut lheight text-lg">
  9. <text class="title">姓名</text>
  10. <text class=" text-grey">{{item.name}}</text>
  11. </view>
  12. <view class="text-cut lheight text-lg">
  13. <text class="title">手机号</text>
  14. <text class=" text-grey">{{item.tel}}</text>
  15. </view>
  16. <view class="text-cut lheight text-lg">
  17. <text class="title">产品</text>
  18. <text class=" text-grey">{{item.laompany_text}}</text>
  19. </view>
  20. <view class="text-cut lheight text-lg">
  21. <text class="title">创建时间</text>
  22. <text class=" text-grey">{{item.create_time_f}}</text>
  23. </view>
  24. <view class="text-cut lheight text-lg">
  25. <text class="title">创建者</text>
  26. <text class=" text-grey">{{item.create_user_text}}</text>
  27. </view>
  28. <view class="btns">
  29. <button bindtap="btnsFunc" wx:for="{{btns}}" wx:for-item="it" wx:for-index="ind" data-index="{{ind}}"
  30. data-id="{{item.id}}" data-order="{{index}}" data-index="{{ind}}"
  31. wx:if="{{it.type==type && (it.type != 'provided' || item.status == 2 || item.status==0 || it.name == '查看')}}"
  32. class="cu-btn round bg-blue button-hover margin-left margin-top" wx:key="ind">{{it.name}}</button>
  33. </view>
  34. </view>
  35. <view class="cu-load text-grey {{value.page > value.totalPage ?'over':'loading'}}"></view>
  36. <van-empty wx:if="{{value.value.length == 0}}" description="暂无商品" />
  37. </view>
  38. <van-dialog id="van-dialog" />