mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-28 05:11:39 +08:00
优化课时列表直播提示
This commit is contained in:
parent
d927e619e8
commit
7a9fee5545
@ -88,7 +88,7 @@
|
|||||||
layer.open({
|
layer.open({
|
||||||
type: 2,
|
type: 2,
|
||||||
title: '推流测试',
|
title: '推流测试',
|
||||||
area: ['720px', '500px'],
|
area: ['720px', '540px'],
|
||||||
content: [url, 'no']
|
content: [url, 'no']
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -97,4 +97,4 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -101,6 +101,8 @@
|
|||||||
<span class="flag flag-pending">倒计时</span>
|
<span class="flag flag-pending">倒计时</span>
|
||||||
{% elseif lesson.attrs.end_time < time() %}
|
{% elseif lesson.attrs.end_time < time() %}
|
||||||
<span class="flag flag-ended">已结束</span>
|
<span class="flag flag-ended">已结束</span>
|
||||||
|
{% elseif lesson.attrs.stream.status == 'inactive' %}
|
||||||
|
<span class="flag flag-inactive">未推流</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
@ -1106,6 +1106,11 @@
|
|||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lesson-item .flag-inactive {
|
||||||
|
border: 1px solid gray;
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
.lesson-item .flag-ended {
|
.lesson-item .flag-ended {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
color: gray;
|
color: gray;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user