1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-28 05:11:39 +08:00

优化课时列表直播提示

This commit is contained in:
xiaochong0302 2025-05-08 17:18:20 +08:00
parent d927e619e8
commit 7a9fee5545
3 changed files with 9 additions and 2 deletions

View File

@ -88,7 +88,7 @@
layer.open({
type: 2,
title: '推流测试',
area: ['720px', '500px'],
area: ['720px', '540px'],
content: [url, 'no']
});
});

View File

@ -101,6 +101,8 @@
<span class="flag flag-pending">倒计时</span>
{% elseif lesson.attrs.end_time < time() %}
<span class="flag flag-ended">已结束</span>
{% elseif lesson.attrs.stream.status == 'inactive' %}
<span class="flag flag-inactive">未推流</span>
{% endif %}
{%- endmacro %}

View File

@ -1106,6 +1106,11 @@
color: red;
}
.lesson-item .flag-inactive {
border: 1px solid gray;
color: gray;
}
.lesson-item .flag-ended {
border: 1px solid gray;
color: gray;