1
QYF-GitLab1
2025-01-02 1530f605190069e45b5e31a7ec2bf7a6dc691f39
packageCourse/pages/studentClass/index.wxml
@@ -20,19 +20,18 @@
            <text class="classTag" wx:if="{{item.userState == 'WaitValid'}}" style="color: #ef9f29">状态 : 审核中</text>
            <text class="classTag" wx:if="{{item.userState == 'Normal'}}" style="color: #1dbd11">状态 : 进行中</text>
            <text class="classTag" wx:if="{{item.userState == 'Reject'}}" style="color: red">状态 : 未通过</text>
            <t-icon bindtap="delClass" data-del-id="{{item.id}}" class="delete" wx:if="{{item.userState == 'Reject'}}" name="delete" color="red" size='18px' />
            <!-- <t-icon bindtap="delClass" data-del-id="{{item.id}}" class="delete" wx:if="{{item.userState == 'Reject'}}" name="delete" color="red" size='18px' /> -->
            <text class="classTag" wx:if="{{item.userState == 'Reject'}}" style="color: red">拒绝原因:{{ item.reason != '' ? item.reason : '-' }}</text>
            <text class="classTag">班级人数 : {{ item.memberCount }} / {{ item.maxUserCount }}</text>
            <text class="classTag">有效期 :{{ item.classTime }}</text>
          </view>
        </view>
      </view>
      <view class="bottom-loading" wx:if="{{bottomLoading}}">
        <t-loading theme="circular" size="40rpx" text="加载中..." class="wrapper" />
      </view>
      <view class="bottom-loading" style="color: #ccc;font-size: 28rpx;" wx:if="{{isMoreData}}">
        <text>没有更多了</text>
        <view class="bottom-loading" wx:if="{{bottomLoading}}">
          <t-loading theme="circular" size="40rpx" text="加载中..." class="wrapper" />
        </view>
        <view class="bottom-loading" style="color: #ccc;font-size: 28rpx;" wx:if="{{isMoreData}}">
          <text>没有更多了</text>
        </view>
      </view>
    </scroll-view>
  </view>
@@ -54,13 +53,13 @@
        <view class="c-name">
          <text>邀请码: </text>
          <view class="c-name-option">
            <t-input value="{{refCode}}" bindchange="onCourseNameInput" borderless clearable placeholder="请输入邀请码" />
            <t-input value="{{refCode}}" bind:change="onCourseNameInput" bind:clear="onCourseNameInput" borderless clearable placeholder="请输入邀请码" />
            <t-button bindtap="getClassDetail" size="small" style="margin-left: 15rpx;">查看班级</t-button>
          </view>
        </view>
        <view class="c-desc">
          <view class="c-desc-title">班级信息:</view>
          <view class="classData" wx:if="{{classDetail}}">
          <view class="classData" wx:if="{{classDetail && classDetail.memberCount > 0}}">
            <view>班级名称:{{ classDetail.name }}</view>
            <view>班级人数:{{ classDetail.memberCount }} / {{ classDetail.maxUserCount }}</view>
            <view>开课时间:{{classDetail.classTime}}</view>