1234567891011121314151617181920212223242526272829303132333435363738 |
- <!--pages/problem_list/problem_list.wxml-->
- <import src="../../templates/header/header.wxml" />
- <import src="../../templates/footer_parent/footer.wxml" />
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <template is='header' data='{{...headerData}}'></template>
- <view class='wrapper container-distance'>
- <!-- 头部导航 -->
- <view class='fixed'>
- <!-- <view class="fixed-items">
- <view class='fixed-item {{navIndex == index ? "fixed-item-active" : ""}}' wx:for='{{navList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectNavIndexCtl'>{{item.text}}</view>
- </view> -->
- </view>
- <view class='li' wx:if='{{list.length!=0}}' wx:for='{{list}}' wx:key='index' data-method='{{({problemPictureId:item.problemPictureId,resolutionStatus:item.resolutionStatus})}}' data-url='problem_report' bindtap='navigateCtl'>
- <image src='../../image/dai_jie_da.png' class='li-logo' wx:if='{{item.resolutionStatus!=1}}'></image>
- <image src='../../image/yi_jie_da.png' class='li-logo' wx:if='{{item.resolutionStatus==1}}'></image>
- <view class='li-head'>
- <image class='li-head-img' src='../../image/nan_yi_tu_biao.png'></image>
- <view class='li-head-times'>{{item.createTime}}</view>
- </view>
- <view class='li-img'>
- <image wx:if='{{item.problemPicturePath}}' mode='aspectFill' src='{{baseImgUrl+item.problemPicturePath + thumbnail}}' class='li-img-url'></image>
- </view>
- <view class='li-subject'>
- <image src='../../image/yu_wen.png' class='li-subject-img' wx:if='{{item.subject=="语文"}}'></image>
- <image src='../../image/shu_xue.png' class='li-subject-img' wx:if='{{item.subject=="数学"}}'></image>
- <image src='../../image/ying_yu.png' class='li-subject-img' wx:if='{{item.subject=="英语"}}'></image>
- <text wx:if='{{item.subject=="语文"}}' class="li-subject-items">语文</text>
- <text wx:if='{{item.subject=="数学"}}' class="li-subject-items">数学</text>
- <text wx:if='{{item.subject=="英语"}}' class="li-subject-items">英语</text>
- </view>
- </view>
- <template wx:if='{{list.length==0}}' is='nodata-three'></template>
- <view class='li-footer'></view>
-
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|