This commit is contained in:
@fawn-nine
2024-08-22 16:56:55 +08:00
parent d549954559
commit a1c8108fa3
13 changed files with 940 additions and 386 deletions

View File

@@ -2,18 +2,10 @@
<view>
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="教研室班级管理"></z-nav-bar>
<!-- 主任和副主任可以创建班级 -->
<view class="classNewBtn" >
<view class="box88 flex_box">
<view class="" style="width: 60%; text-align: center;">
<button type="primary" @click="goAddClasss">新开一个班级</button>
</view>
</view>
</view>
<view class="modelName">
当前教研室名称{{modelTitle}}
</view>
<z-nav-bar title="教研室班级管理"></z-nav-bar>
<view class="modelName">
当前教研室名称{{modelTitle}}
</view>
<!-- <view class="tabsBox" :class="[fixed ? 'fixed' : '' ]">
<u-tabs v-if="tabList.length > 0" :class="['tabList']" @click="fatherClick" :current="curTagId"
:activeStyle="activeStyle" :scrollable="scrollable" :list="tabList"
@@ -63,9 +55,17 @@
</view>
</view>
</view>
<!-- 主任和副主任可以创建班级 -->
<view class="classNewBtn" v-else>
<view class="box88 flex_box">
<view class="" style="width: 60%; text-align: center;">
<button type="primary" @click="goAddClasss">创建班级</button>
</view>
</view>
</view>
<view class="" v-if="learningClassList.length > 0">
<uni-section class="mb-10 nobg" title="学习中" type="line"></uni-section>
<view class="learnBox box">
<view class="learnBox">
<view class="newBox" v-if="learningClassList.length > 0">
<view class="item flexbox" v-for="(item, index) in learningClassList" :key="index"
@click="onPageJump('/pages/miniClass/classInfoMan',item.id)">
@@ -101,12 +101,12 @@
</view>
</view>
<u-divider v-if="preClassList.length == 0 && learningClassList.length == 0" text="暂无数据"></u-divider>
<!-- <u-divider v-if="preClassList.length == 0 && learningClassList.length == 0" text="暂无数据"></u-divider> -->
</view>
<!-- 过期班级 -->
<view class="" v-show="subTabId == 2">
<view class="learnBox box">
<view class="learnBox">
<view class="newBox" v-if="classList.length > 0">
<view class="item flexbox" v-for="(item, index) in classList" :key="index"
@click="onPageJump('/pages/miniClass/classInfoMan',item.id)">
@@ -494,6 +494,7 @@
.containerBg {
// background-color: $containerColor;
min-height: calc(100vh - 500rpx);
background-color: #f6f6f8;
padding: 0 20rpx;