list.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <view class="container">
  2. <view class="tool-module">
  3. <view class="item">
  4. <view class="tool-item">
  5. <image class="tool-img" mode="aspectFit" src='/static/images/address.png'></image>
  6. <text class="tool-text title"> 签到类</text>
  7. </view>
  8. <view wx:for="{{problems}}" wx:key='item' wx:if="{{item.id==1||(item.id>=7&&item.id<=11)}}" class="tool-item" bindtap='goProblem' data-id="{{item.id}}" data-name="{{item.name}}">
  9. <text class="tool-text">{{index+1}}.{{item.name}}</text>
  10. <!-- <text style="line-height: 30rpx;">></text> -->
  11. <view class="arrow"></view>
  12. </view>
  13. </view>
  14. <view class="item">
  15. <view class="tool-item">
  16. <image class="tool-img" mode="aspectFit" src='/static/images/my.png'></image>
  17. <text class="tool-text title"> 服务工单</text>
  18. </view>
  19. <view wx:for="{{problems}}" wx:key='item' wx:if="{{(item.id<=6&&item.id>=2)||item.id==12||item.id==13||item.id==14}}" class="tool-item" bindtap='goProblem' data-id="{{item.id}}" data-name="{{item.name}}">
  20. <text class="tool-text">{{index+1}}.{{item.name}}</text>
  21. <!-- <text style="line-height: 30rpx;">></text> -->
  22. <view class="arrow"></view>
  23. </view>
  24. </view>
  25. <view class="item">
  26. <view class="tool-item">
  27. <image class="tool-img" mode="aspectFit" src='/static/images/right.png'></image>
  28. <text class="tool-text title"> 其他服务问题</text>
  29. </view>
  30. <view wx:for="{{problems}}" wx:key='item' wx:if="{{item.id>=15}}" class="tool-item" bindtap='goProblem' data-id="{{item.id}}" data-name="{{item.name}}">
  31. <text class="tool-text">{{index+1}}.{{item.name}}</text>
  32. <!-- <text style="line-height: 30rpx;">></text> -->
  33. <view class="arrow"></view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>