直播页:移除本站/外链说明文案
Made-with: Cursor
This commit is contained in:
@@ -9,11 +9,6 @@
|
|||||||
|
|
||||||
<section class="live-block" aria-label="本站直播">
|
<section class="live-block" aria-label="本站直播">
|
||||||
<h2 class="live-block-title">本站直播(WebRTC)</h2>
|
<h2 class="live-block-title">本站直播(WebRTC)</h2>
|
||||||
<p class="live-block-desc">
|
|
||||||
仅<strong>管理后台 → 视频直播开播</strong>可推流;开播后全站画中画与本页播放。若<strong>一直黑屏</strong>但状态显示「正在播放」,多为 ICE 未通:服务端需配置
|
|
||||||
<code style="color: #7ee0ff">LIVE_PUBLIC_IP</code>(公网 IP)与
|
|
||||||
<code style="color: #7ee0ff">LIVE_ICE_SERVERS</code>(含 TURN)。
|
|
||||||
</p>
|
|
||||||
<p class="live-watch-status">{{ watchStatus }}</p>
|
<p class="live-watch-status">{{ watchStatus }}</p>
|
||||||
<video
|
<video
|
||||||
ref="watchVideoRef"
|
ref="watchVideoRef"
|
||||||
@@ -26,9 +21,6 @@
|
|||||||
|
|
||||||
<section class="live-block live-block--divider" aria-label="外链直播间">
|
<section class="live-block live-block--divider" aria-label="外链直播间">
|
||||||
<h2 class="live-block-title">外部直播间</h2>
|
<h2 class="live-block-title">外部直播间</h2>
|
||||||
<p class="live-block-desc">
|
|
||||||
跳转至后台配置的第三方直播间(抖音、B 站等)。
|
|
||||||
</p>
|
|
||||||
<div class="live-room-actions">
|
<div class="live-room-actions">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
@@ -38,7 +30,6 @@
|
|||||||
>
|
>
|
||||||
进入外部直播间
|
进入外部直播间
|
||||||
</button>
|
</button>
|
||||||
<p v-if="!enterUrl" class="live-room-hint">未配置外链时,可仅用上方本站直播。若需外链,请到管理后台 → 首页编辑填写「直播间地址」。</p>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
@@ -156,20 +147,6 @@ onUnmounted(() => {
|
|||||||
color: rgba(255, 255, 255, 0.92);
|
color: rgba(255, 255, 255, 0.92);
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
.live-block-desc {
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 1.7;
|
|
||||||
color: rgba(255, 255, 255, 0.52);
|
|
||||||
margin: 0 0 12px;
|
|
||||||
}
|
|
||||||
.live-inline-link {
|
|
||||||
color: #00d4ff;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
.live-inline-link:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.live-watch-status {
|
.live-watch-status {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #00d4ff;
|
color: #00d4ff;
|
||||||
@@ -179,12 +156,6 @@ onUnmounted(() => {
|
|||||||
.live-room-actions {
|
.live-room-actions {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
.live-room-hint {
|
|
||||||
margin-top: 14px;
|
|
||||||
font-size: 13px;
|
|
||||||
color: rgba(255, 255, 255, 0.45);
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
.live-room-btn {
|
.live-room-btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user