| | |
| | | |
| | | // 申请提交班级 |
| | | submitClass() { |
| | | const bTime = moment(this.data.startTime).valueOf() |
| | | const eTime = moment(this.data.endTime).valueOf() |
| | | if (!this.data.className) { |
| | | wx.showToast({ |
| | | title: '请填写课程名称', |
| | |
| | | }) |
| | | return false |
| | | } |
| | | if (bTime && eTime && eTime < bTime) { |
| | | wx.showToast({ |
| | | title: '请选择班正确的班级有效期', |
| | | duration: 1000, |
| | | icon: 'none', |
| | | }) |
| | | return false |
| | | } |
| | | app.MG.edu |
| | | .newCourseClass({ |
| | | courseId: this.data.courseId, |
| | |
| | | top: 55px !important |
| | | } |
| | | |
| | | .classBox .t-popup__content { |
| | | z-index: 999 !important; |
| | | } |
| | | |
| | | .classBox .t-dialog { |
| | | border: 1rpx solid #eee; |
| | | } |