problem_list.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. <!--pages/problem_list/problem_list.wxml-->
  2. <import src="../../templates/nodata/nodata.wxml" />
  3. <view class='container'>
  4. <view class='wrapper pt pb'>
  5. <!-- 头部导航 -->
  6. <view class='fixed'>
  7. <view class='fixed-left' bindtap='backBook'></view>
  8. <view class="fixed-items">
  9. <view class='fixed-item {{navIndex == index ? "fixed-item-active" : ""}}' wx:for='{{navList}}' wx:key='index' data-index='{{index}}' data-subject='{{item.text}}' bindtap='selectNavIndexCtl'>{{item.text}}</view>
  10. </view>
  11. </view>
  12. <view class="list">
  13. <view class="list-items" wx:for="{{list}}" wx:key='index' data-url="pages/problem_report/problem_report" data-paras='{{({problemPictureId:item.problemPictureId,resolutionStatus:item.resolutionStatus})}}' bindtap="navigateTo">
  14. <view class="list-items-head">
  15. <view>
  16. <image src='../../assets/nan_ti_logo.png' class="list-items-logo"></image>
  17. <text>{{item.createTime}}</text>
  18. </view>
  19. <view>
  20. <!-- <text class="list-items-head-text" wx:if='{{item.teacherComment}}'>有老师评语</text>
  21. <image src='../../assets/xiao_xi.png' class="list-items-chat" wx:if='{{item.teacherComment}}'></image> -->
  22. </view>
  23. </view>
  24. <image src='{{item.problemPicturePath ?baseImgUrl+item.problemPicturePath:"../../assets/default_headicon2.png"}}' class="list-items-img">
  25. <image src='../../assets/dai_jie_da.png' class="list-items-img-tips" wx:if='{{item.resolutionStatus!=1}}'></image>
  26. <image src='../../assets/yi_jie_da.png' class="list-items-img-tips" wx:if='{{item.resolutionStatus==1}}'></image>
  27. </image>
  28. </view>
  29. </view>
  30. <template is='nodata' wx:if='{{list.length==0}}' data='{{...nodata[navIndex]}}'></template>
  31. </view>
  32. </view>