|
|
@@ -70,7 +70,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="class_button" v-if="isupdateCourse">
|
|
|
- <el-popover placement="bottom" trigger="hover">
|
|
|
+ <el-popover v-if="item.courseType == '1'" placement="bottom" trigger="hover">
|
|
|
<template #reference>
|
|
|
<el-button
|
|
|
style="width: 50%;background: rgba(255, 255, 245, 1);color: rgba(0, 0, 0, 0.6);">备课</el-button>
|
|
|
@@ -81,7 +81,7 @@
|
|
|
<li @click="ReductionCourse(item.id)">还原</li>
|
|
|
</ul>
|
|
|
</el-popover>
|
|
|
- <el-button style="width: 50%;" class="el_button_active"
|
|
|
+ <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
@click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
</div>
|
|
|
</div>
|