<!--packageCourse/components/teaching/index.wxml-->
|
<view class="teachBox">
|
<view class="header">
|
<t-search style="flex:1" value="{{searchKey}}" bind:clear="changeHandle" bind:submit="changeHandle" placeholder="搜索用户名称" clearable />
|
</view>
|
<view class="count">共计 <text style="color: #ff6d00;">{{dataList.length}}</text> 人答题</view>
|
<view class="teachContent" wx:if="{{dataList.length > 0 && !loading}}">
|
<view class="list" wx:for="{{dataList}}" wx:key="index" bindtap="openLook" data-item="{{item}}">
|
<view class="questionName">用户名:<text style="color: #ff6d00;">{{item.userName}}</text></view>
|
<view class="questionInfo">
|
<view class="questionCount">
|
<text style="color: #67c23a"> 已答完</text>
|
</view>
|
<view class="questionDate">
|
{{item.questionTime}}
|
</view>
|
</view>
|
</view>
|
</view>
|
<view class="she" wx:if="{{loading}}">
|
<view wx:for="{{10}}" wx:for-item="themeItem" wx:key="index">
|
<view class="demo-section__content">
|
<t-skeleton theme="text"></t-skeleton>
|
</view>
|
</view>
|
</view>
|
<view class="she" wx:if="{{dataList.length == 0 && !loading}}">
|
<empty />
|
</view>
|
<t-popup visible="{{visible}}" usingCustomNavbar placement="bottom">
|
<view class="block-question-title">
|
<text class="block-question-title-text">答题浏览</text>
|
<t-icon size="22px" bindtap="close" color="#999" name="close"></t-icon>
|
</view>
|
<view class="block-question">
|
<view class="block-question-list" wx:for="{{dialogList}}" wx:key="index">
|
<view class="block-question-user">答题人:{{ item.userNme }}</view>
|
<questionDom wx:if="{{item.questionTypeList.length > 0}}" questionList="{{item.questionTypeList}}" noCheckbox="{{false}}" is-preview="{{true}}" />
|
</view>
|
</view>
|
</t-popup>
|
</view>
|