app/Resources/static-src/app/js/my/learning-calendar/live-calendar.js

(开头部分) 743B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

import CustomFullCalendar from 'app/common/calendar/custom-full-calendar';
import LiveTooltipComp from 'app/common/calendar/comp/tooltip/live-tooltip-comp';
import ClickComp from 'app/common/calendar/comp/click-comp';
import Api from 'common/api';

new CustomFullCalendar({
  'calendarContainer': '#calendar',
  'dataApi': Api.studentLiveCourse.search, //需要使用 common/api/index.js 指定的路由
  'attrs': {
    'title': 'title',
    'start': 'startTime',
    'end': 'endTime'
  },
  'dateParams': {'start': 'startTime_GE', 'end': 'endTime_LT'},
  'currentTime': $('#todayDateStr').html(),
  'components': [
    new LiveTooltipComp(),
    new ClickComp('{url}') //routing course_show
  ],
  'defaultView': 'month' // 'agendaWeek'
});

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。