111
QYF-GitLab1
2024-12-23 a2b6203372280be42530c6eaee2bffb6cf3c74d3
111
2个文件已修改
14 ■■■■ 已修改文件
packageCourse/pages/course/detail/index.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageCourse/pages/course/detail/index.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageCourse/pages/course/detail/index.js
@@ -224,6 +224,8 @@
  // 申请提交班级
  submitClass() {
    const bTime = moment(this.data.startTime).valueOf()
    const eTime = moment(this.data.endTime).valueOf()
    if (!this.data.className) {
      wx.showToast({
        title: '请填写课程名称',
@@ -248,6 +250,14 @@
      })
      return false
    }
    if (bTime && eTime && eTime < bTime) {
      wx.showToast({
        title: '请选择班正确的班级有效期',
        duration: 1000,
        icon: 'none',
      })
      return false
    }
    app.MG.edu
      .newCourseClass({
        courseId: this.data.courseId,
packageCourse/pages/course/detail/index.wxss
@@ -294,10 +294,6 @@
  top: 55px !important
}
.classBox .t-popup__content {
  z-index: 999 !important;
}
.classBox .t-dialog {
  border: 1rpx solid #eee;
}