修改样式

This commit is contained in:
daihh
2023-01-11 16:51:04 +08:00
parent 8ba9476c2d
commit 72b1262254
4 changed files with 26 additions and 10 deletions

View File

@@ -91,7 +91,7 @@
<!-- <a :href="toCourseDetail(cinfo)"> -->
<a @click="toCourseDetail(cinfo)">
<div class="course-image-box">
<course-image :course="cinfo"></course-image>
<course-image :text="true" :course="cinfo"></course-image>
<span v-if="cinfo.type == 20 || 10" class="course-type-left">录播课</span>
<span v-if="cinfo.type == 30" class="course-type-left">线下课</span>
<span v-if="cinfo.type == 40" class="course-type-left">学习项目</span>
@@ -171,7 +171,7 @@
<div class="list-active">
<div class="list-content">
<div class="list-img">
<course-image :course="item" width="108px" height="60px"></course-image>
<course-image :course="item" :text="false" width="108px" height="60px"></course-image>
<span v-if="item.type < 21" class="course-type">录播</span>
<span v-if="item.type==30" class="course-type">线下课</span>
<span v-if="item.type==40" class="course-type">学习项目</span>
@@ -220,7 +220,7 @@
<div class="list-active">
<div class="list-content">
<div class="list-img">
<course-image :course="item" width="108px" height="60px"></course-image>
<course-image :course="item" :text="false" width="108px" height="60px"></course-image>
<span v-if="item.type < 21" class="course-type">录播</span>
<span v-if="item.type==30" class="course-type">线下课</span>
<span v-if="item.type==40" class="course-type">学习项目</span>
@@ -268,7 +268,7 @@
<div class="list-active">
<div class="list-content">
<div class="list-img">
<course-image :course="item" width="108px" height="60px"></course-image>
<course-image :course="item" :text="false" width="108px" height="60px"></course-image>
<!-- <img style="width:96px;height:52px" :src="fileBaseUrl + item.images" alt=""/> -->
<span v-if="item.type < 21" class="course-type">录播</span>
<span v-if="item.type==30" class="course-type">线下课</span>
@@ -1185,7 +1185,7 @@ export default {
}
}
.course-image-box:hover{
transform: scale(1.3) translateY(-12px);
transform: scale(1.3) translateY(-15px);
transition: all 0.6s;
}