|
|
@@ -148,12 +148,12 @@
|
|
|
<!-- 视频切换按钮 - 始终显示 -->
|
|
|
<div class="video-switch">
|
|
|
<div class="caret-left" @click="playPreviousVideo">
|
|
|
- <el-button type="warning" round>
|
|
|
+ <el-button type="warning" round :disabled="flattenMenuItems().indexOf(course.key) === 0">
|
|
|
<img :src="leftImg" alt="Left" />上一节</el-button
|
|
|
>
|
|
|
</div>
|
|
|
<div class="caret-right" @click="playNextVideo">
|
|
|
- <el-button type="warning" round
|
|
|
+ <el-button type="warning" round :disabled="flattenMenuItems().indexOf(course.key) === flattenMenuItems().length - 1"
|
|
|
>下一节<img :src="rightImg" alt="Right" />
|
|
|
</el-button>
|
|
|
</div>
|