{% extends 'templates/main.volt' %} {% block content %} {% set chapter_full_url = full_url({'for':'web.chapter.show','id':chapter.id}) %} {% set course_url = url({'for':'web.course.show','id':chapter.course.id}) %} {% set learning_url = url({'for':'web.chapter.learning','id':chapter.id}) %} {% set live_chats_url = url({'for':'web.live.chats','id':chapter.id}) %} {% set live_stats_url = url({'for':'web.live.stats','id':chapter.id}) %} {% set send_msg_url = url({'for':'web.live.send_msg','id':chapter.id}) %} {% set bind_user_url = url({'for':'web.live.bind_user','id':chapter.id}) %} {% set like_url = url({'for':'web.chapter.like','id':chapter.id}) %} {% set qrcode_url = url({'for':'web.qrcode'},{'text':chapter_full_url}) %}
直播讨论
{% if auth_user.id > 0 %} {% else %} {% endif %}
{% endblock %} {% block include_js %} {{ js_include('web/js/chapter.live.player.js') }} {{ js_include('web/js/chapter.live.im.js') }} {{ js_include('web/js/chapter.action.js') }} {{ js_include('web/js/course.share.js') }} {% endblock %}