index.wxml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <view class="pageContent pageContentfix">
  2. <view class="sticky-box" style="position:fixed;z-index:100;">
  3. <view class="namewrap">
  4. <scroll-view scroll-x scroll-with-animation scroll-left="{{navScrollWidth}}" class="item-box">
  5. <view class="nameitem {{nameIndex == index ? 'nameactive' : ''}}" wx:for="{{nameList}}" bindtap="nameHandler" data-index="{{index}}">
  6. {{item.itemname}}
  7. <view style="display: {{nameIndex == index?'block':'none'}};" class="item-line"></view>
  8. </view>
  9. </scroll-view>
  10. </view>
  11. </view>
  12. <view style="margin-top:{{conTop}}" class="pagebodys">
  13. <view class='downMenu'>
  14. <view class="section">
  15. <picker bindchange="timePickerChange" value="{{timeListIndex}}" range="{{timeList}}" range-key='name'>
  16. <view class="picker">
  17. <text class="picker-text">{{timeList[timeListIndex].name}}</text>
  18. <i class="iconfont icon-xiasanjiaoxing gray"></i>
  19. </view>
  20. </picker>
  21. </view>
  22. <view class="section" style="margin-left:98rpx;">
  23. <picker bindchange="statusPickerChange" value="{{statusListIndex}}" range="{{statusList}}" range-key='itemname'>
  24. <view class="picker">
  25. <text class="picker-text">{{statusList[statusListIndex].itemname}}</text>
  26. <i class="iconfont icon-xiasanjiaoxing gray"></i>
  27. </view>
  28. </picker>
  29. </view>
  30. </view>
  31. <view class='marginTop'>
  32. <view wx:if="{{listData.length>0}}">
  33. <scroll-view scroll-y>
  34. <view class='boxm boxmfix' data-id="{{item.id}}" bindtap='activeDetail' wx:for="{{listData}}" wx:key="item">
  35. <view class="rel img-view">
  36. <image mode="aspectFill" src='{{item.thumbnailImg}}' lazy-load='true'></image>
  37. <view class="status {{item.statusName === '进行中' ? 'activestatus' : item.statusName === '报名中' ? 'baostatus' : item.statusName === '已结束' ? 'endstatus' : item.statusName === '已报满' ? 'mstatus' : 'nostatus'}}">
  38. {{item.statusName}}</view>
  39. </view>
  40. <view class="txt-con txt-con-fix">
  41. <view>
  42. <!-- item.title -->
  43. <view class="title">{{item.title}}</view>
  44. <view class="item">
  45. <view class="time-box">
  46. <view class="icon-box">
  47. <i class="iconfont1 icon-rili icon-time"></i>
  48. </view>
  49. <span>时间: {{item.startTime}}—{{item.endTime}}</span>
  50. </view>
  51. </view>
  52. <view class="address-type">
  53. <view class="active-item-address">
  54. <view class="icon-box">
  55. <i class="iconfont icon-dizhi icon-list-dizhi"></i>
  56. </view>
  57. <view class="address-word">地址: {{item.address}}</view>
  58. </view>
  59. <!-- <view class="active-type" wx:if="{{item.isNeedVip == 1}}">潮兼职免费</view> -->
  60. </view>
  61. <view class="num-price">
  62. <view class="num" style="color:#999999;">
  63. <view class="icon-box">
  64. <i class="iconfont1 icon-quanxiaozongrenshu icon-pel"></i>
  65. </view>
  66. <span>名额: {{item.willnum}}</span>
  67. </view>
  68. </view>
  69. </view>
  70. <view style="margin-top:10rpx;" class="price-h">
  71. <view class="price-h-l" wx:if="{{item.isNeedVip == 1}}">
  72. <text class="isvip">会员免费</text>
  73. </view>
  74. <view wx:else></view>
  75. <text>
  76. <text class="p1">¥</text>
  77. <text class="p2">{{item.money}}</text>
  78. </text>
  79. </view>
  80. </view>
  81. </view>
  82. </scroll-view>
  83. </view>
  84. <block wx:if="{{listData.length<=0}}">
  85. <view class='tc h100'>
  86. <image src="{{nodata}}" class='nodata-img'></image>
  87. </view>
  88. </block>
  89. </view>
  90. </view>
  91. <!-- <button class="custCare" open-type="contact" session-from="sessionFrom">
  92. <image mode="aspectFill" src="{{appAssetsUrl}}/images/custCare.png"></image>
  93. </button> -->
  94. </view>