| | |
| | | wx.showToast({ |
| | | title: '申请开班出错', |
| | | duration: 1000, |
| | | icon: 'err', |
| | | icon: 'none', |
| | | }) |
| | | this.setData({ |
| | | visible: false |
| | |
| | | </view> |
| | | <view class="c-desc"> |
| | | <text>班级人数</text> |
| | | <t-input value="{{count}}" bindchange="onCourseDescInput" borderless placeholder="请输入班级人数" /> |
| | | <t-input value="{{count}}" type="number" bindchange="onCourseDescInput" borderless placeholder="请输入班级人数" /> |
| | | </view> |
| | | <view class="c-date"> |
| | | <text>班级有效期</text> |
| | |
| | | top: 55px !important |
| | | } |
| | | |
| | | .classBox .t-popup__content { |
| | | z-index: 999 !important; |
| | | } |
| | | |
| | | .classBox .t-dialog { |
| | | border: 1rpx solid #eee; |
| | | } |
| | |
| | | app.MG.edu |
| | | .updateCourse({ |
| | | courseId: this.data.currentCourse.id, |
| | | name: this.data.currentCourse.name, |
| | | description: this.data.currentCourse.desc |
| | | name: this.data.courseName, |
| | | description: this.data.courseDesc, |
| | | }) |
| | | .then((res) => { |
| | | app.MG.edu |