index.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <cu-custom isBack="{{true}}">
  2. <view slot="backText">返回</view>
  3. <view slot="content">供应大厅</view>
  4. </cu-custom>
  5. <form bindsubmit="search" class='bg-white' >
  6. <view class="cu-bar bg-white search fixed" style="top:{{CustomBar}}px;">
  7. <view class="search-form round">
  8. <text class="cuIcon-search"></text>
  9. <input type="text" placeholder="输入产品名称" name="name" value="{{name}}"></input>
  10. </view>
  11. <view class="action">
  12. <button class="cu-btn bg-gradual-green shadow-blur round" form-type="submit">搜索</button>
  13. </view>
  14. </view>
  15. </form>
  16. <view class='cu-tabbar-height'></view>
  17. <scroll-view scroll-y class="scrollPage">
  18. <view class="tark-list" wx:for="{{list}}" wx:key="id" wx:for-index="index">
  19. <view class="cu-list menu-avatar" bindtap="goDetail" data-id="{{item.id}}">
  20. <view class="cu-item">
  21. <view class="cu-avatar round lg">供</view>
  22. <view class="content flex-sub">
  23. <view>{{item.product}}</view>
  24. <view class="text-gray text-sm flex justify-between">
  25. 企业:{{item.company}}
  26. </view>
  27. </view>
  28. </view>
  29. <!-- 任务详情 -->
  30. <view class="padding text-grey bg-white">
  31. <view class="text-cut">
  32. <view class="fl w100">供应编号: </view>
  33. <text class="text-blue">{{item.id}}</text>
  34. </view>
  35. <view class="margin-top-sm">
  36. <view class="fl w100">产品单价: </view>
  37. <text class="text-blue"> {{item.unit_fee}} {{item.unit_fee=='面议'?'':('元/'+item.unit)}}
  38. </text>
  39. </view>
  40. <view class="margin-top-sm">
  41. <view class="fl w100">产品数量: </view>
  42. <text class="text-blue">{{item.amount}}{{item.unit}} </text>
  43. </view>
  44. <view class="margin-top-sm">
  45. <view class="fl w100">联 系 人: </view>
  46. <text class="text-blue">{{item.contact}}</text>
  47. </view>
  48. <view class="margin-top-sm">
  49. <view class="fl w100">联系电话 : </view>
  50. <text class="text-blue">{{item.phone}}</text>
  51. </view>
  52. <view class="margin-top-sm">
  53. <button type="text" class="text-red bg-white" wx:if="{{!userInfo.identify}}" >
  54. 还未实名认证
  55. </button>
  56. <button type="text" class="text-blue bg-white" wx:elif="{{item.target_id==0}}" bindtap="bidTask" data-index="{{index}}" >
  57. 抢单
  58. </button>
  59. <button type="text" class="text-green bg-white" wx:else >
  60. 交易中
  61. </button>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <view wx:if="{{from==-1}}" class="flex-sub text-center">
  67. <view class="padding">没有更多了</view>
  68. <view class='cu-tabbar-height'></view>
  69. </view>
  70. <view class='cu-tabbar-height'></view>
  71. </scroll-view>
  72. <view class='cu-load load-modal' wx:if="{{loadModal}}">
  73. <view class='cuIcon-emojifill text-orange'></view>
  74. <view class='gray-text'>加载中...</view>
  75. </view>