| | |
| | | </view> |
| | | <view class="tabbar-bottom"> |
| | | <view class="{{tabVal == 'base'?'tab-pubItem activeTab':'tab-pubItem'}}" data-str="base" bindtap="tabActive"> |
| | | <t-icon class="tabIcon" name="home-filled" size="24px" /> |
| | | <t-icon class="tabIcon" name="home" size="24px" /> |
| | | <text class="text">基本信息</text> |
| | | </view> |
| | | <view class="{{tabVal == 'class'?'tab-pubItem activeTab':'tab-pubItem'}}" data-str="class" bindtap="tabActive"> |
| | | <t-icon class="tabIcon" name="file-setting-filled" size="24px" /> |
| | | <t-icon class="tabIcon" name="file-setting" size="24px" /> |
| | | <text class="text">班级管理</text> |
| | | </view> |
| | | </view> |
| | |
| | | total: 999, |
| | | loading: false |
| | | }, |
| | | submitLoading: false, |
| | | // 加载参数 |
| | | bottomLoading: false, |
| | | isMoreData: false, |
| | |
| | | }) |
| | | return false |
| | | } |
| | | this.setData({ |
| | | submitLoading: true |
| | | }) |
| | | app.MG.edu |
| | | .applyNewCourse({ |
| | | name: this.data.courseName, |
| | |
| | | visible: false, |
| | | selectedBook: null, |
| | | courseDesc: '', |
| | | courseName: '' |
| | | courseName: '', |
| | | submitLoading: false |
| | | }) |
| | | this.getData() |
| | | } |
| | |
| | | </view> |
| | | </view> |
| | | <view class="courseSubmit"> |
| | | <t-button style="margin: 0 15px;" size="small" bindtap="cancle" variant="outline">取消</t-button> |
| | | <t-button style="margin: 0;" size="small" bindtap="submitCourse">确认</t-button> |
| | | <t-button style="padding:0 25px;margin: 0 15px;" size="small" bindtap="cancle" variant="outline">取消</t-button> |
| | | <t-button style="padding:0 25px;margin: 0;" size="small" bindtap="submitCourse">确认</t-button> |
| | | </view> |
| | | </view> |
| | | <view class="block" wx:if="{{pageBook.loading}}"> |
| | |
| | | <view wx:else> |
| | | <empty /> |
| | | </view> |
| | | <!-- </t-radio-group> --> |
| | | |
| | | </view> |
| | | <view class="radioSubmit"> |
| | | <t-button style="margin: 0;" size="extra-small" bindtap="radioCancle" variant="outline">关闭</t-button> |
| | | <t-button style="margin: 0 16px;" size="extra-small" bindtap="radioSubmit">确认</t-button> |
| | | <t-button style="padding:0 25px;margin: 0;" size="extra-small" bindtap="radioCancle" variant="outline">关闭</t-button> |
| | | <t-button style=" padding:0 25px;margin: 0 16px;" size="extra-small" bindtap="radioSubmit">确认</t-button> |
| | | </view> |
| | | </view> |
| | | </t-popup> |
| | |
| | | |
| | | .wall { |
| | | width: 85vw; |
| | | height: 100vh; |
| | | height: calc(100vh - env(safe-area-inset-bottom)); |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | } |
| | | |
| | | .cartBox { |
| | | width: 100%; |
| | | height: calc(100% - env(safe-area-inset-bottom) - 80px); |
| | | border: 1px solid #f8f8f8; |
| | | height: calc(100% - 90px); |
| | | padding: 0 20rpx; |
| | | box-sizing: border-box; |
| | | } |
| | |
| | | } |
| | | |
| | | .radioSubmit { |
| | | height: 40px; |
| | | border-bottom: 1rpx solid #f8f8f8; |
| | | height: 50px; |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | border: 1px solid #f8f8f8; |
| | | } |
| | | |
| | | .cartTilte { |
| | |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | border: 1px solid #f8f8f8; |
| | | border-bottom: 0; |
| | | height: 40px; |
| | | padding: 20rpx; |
| | | box-sizing: border-box; |
| | |
| | | |
| | | .cartText { |
| | | margin-right: 20px; |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .cartTilte .t-search__input-box { |
| | |
| | | </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> |
| | |
| | | </view> |
| | | <view class="tabbar-bottom"> |
| | | <view class="{{tabVal == 'base'?'tab-pubItem activeTab':'tab-pubItem'}}" data-str="base" bindtap="tabActive"> |
| | | <t-icon class="tabIcon" name="home-filled" size="24px" /> |
| | | <t-icon class="tabIcon" name="home" size="24px" /> |
| | | <text class="text">基本信息</text> |
| | | </view> |
| | | <view wx:if="{{ userData.role == 'Teacher'}}" class="{{tabVal == 'studentManage'?'tab-pubItem activeTab':'tab-pubItem'}}" data-str="studentManage" bindtap="tabActive"> |
| | | <t-icon class="tabIcon" name="file-setting-filled" size="24px" /> |
| | | <t-icon class="tabIcon" name="file-setting" size="24px" /> |
| | | <text class="text">学生管理</text> |
| | | </view> |
| | | <view class="{{tabVal == 'teach'?'tab-pubItem activeTab':'tab-pubItem'}}" data-str="teach" bindtap="tabActive"> |