list.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--pages/home/map/list.wxml-->
  2. <view class="page">
  3. <view class="layer1">
  4. <view class="group2">
  5. <view class="section3">
  6. <view class="outer2">
  7. <view class="bd1">
  8. <van-icon name="search" />
  9. <!-- <icon class="iconfont iconsousuo" style="font-size: 36rpx; margin-bottom: 10rpx;margin-right: 4rpx;"></icon> -->
  10. <input lines="1" class="word4" placeholder="搜索" value="" bindconfirm="workDesc" type="text" confirm-type="search" bindinput="bindKeyInput"></input>
  11. </view>
  12. </view>
  13. <view class="outer3">
  14. <image src="/image/icon/icon_ditumoshi@2x.png" class="label1"></image>
  15. </view>
  16. <navigator lines="1" class="word5" url="/pages/home/map/map">地图模式</navigator>
  17. </view>
  18. </view>
  19. <view class="group3" wx:for="{{workelist}}">
  20. <view class="block1">
  21. <view class="wrap1" bindtap="setworke" data-id="{{item.id}}">
  22. <text lines="1" class="info1">{{item.title}}</text>
  23. <view class="main1">
  24. <view class="wrap2">
  25. <text lines="1" class="txt1">最近下单</text>
  26. </view>
  27. <view class="wrap3">
  28. <text lines="1" class="word6">{{status[item.signing_status]}}</text>
  29. </view>
  30. </view>
  31. <view class="main2">
  32. <icon class="label2 iconfont icondingwei1"></icon>
  33. <text lines="1" class="info2">{{item.address}}</text>
  34. </view>
  35. <view class="main3">
  36. <icon class="label2 iconfont iconshouye2"></icon>
  37. <text lines="1" class="word7"> {{item.unit[0].type_name}}·{{item.unit[1].type_name}}·{{item.unit[2].type_name}}</text>
  38. </view>
  39. </view>
  40. <view class="wrap4"></view>
  41. <view class="wrap5">
  42. <view class="wrap5view">
  43. <view class="section4" bindtap="location" data-lat="{{item.lat}}" data-lng="{{item.lng}}">
  44. <image src="/image/icon/navigation.png" class="icon4"></image>
  45. <text lines="1" class="word8">导航</text>
  46. </view>
  47. <text lines="1" class="info3">距离{{item.distance}}km</text>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>