11
QYF-GitLab1
2025-01-08 67a890445ceac9785ee62877b1e656fa4aeb0d5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--packageCourse/components/teaching/index.wxml-->
<view class="teachBoxContent">
  <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;">{{cmsDataList.length}}</text> 套题</view>
  <view class="teachContent" wx:if="{{cmsDataList.length > 0 && !loading}}">
    <view class="list" wx:for="{{cmsDataList}}" wx:key="index" bindtap="toDetail" data-item="{{item}}">
      <view class="questionName">{{item.name}}</view>
      <view class="questionInfo">
        <view class="questionCount">
          <text style="color: #ff6d00">{{ item.subList.length }}</text>
          <text style="margin-left: 20rpx;color: #999;font-size:24rpx">(已答人数)</text>
        </view>
        <view class="questionDate">
          {{item.updateDate}}
        </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="{{cmsDataList.length == 0 && !loading}}">
    <empty />
  </view>
</view>