123456789101112131415161718192021222324252627282930313233 |
- <!--pages/problem_list/problem_list.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper pt pb'>
- <!-- 头部导航 -->
- <view class='fixed'>
- <view class='fixed-left' bindtap='backBook'></view>
- <view class="fixed-items">
- <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>
- </view>
- </view>
- <view class="list">
- <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">
- <view class="list-items-head">
- <view>
- <image src='../../assets/nan_ti_logo.png' class="list-items-logo"></image>
- <text>{{item.createTime}}</text>
- </view>
- <view>
- <!-- <text class="list-items-head-text" wx:if='{{item.teacherComment}}'>有老师评语</text>
- <image src='../../assets/xiao_xi.png' class="list-items-chat" wx:if='{{item.teacherComment}}'></image> -->
- </view>
- </view>
- <image src='{{item.problemPicturePath ?baseImgUrl+item.problemPicturePath:"../../assets/default_headicon2.png"}}' class="list-items-img">
- <image src='../../assets/dai_jie_da.png' class="list-items-img-tips" wx:if='{{item.resolutionStatus!=1}}'></image>
- <image src='../../assets/yi_jie_da.png' class="list-items-img-tips" wx:if='{{item.resolutionStatus==1}}'></image>
- </image>
- </view>
- </view>
- <template is='nodata' wx:if='{{list.length==0}}' data='{{...nodata[navIndex]}}'></template>
- </view>
- </view>
|