This commit is contained in:
nisen
2023-09-06 09:59:54 +08:00
parent 84b7ff0f58
commit c9b629762d
3 changed files with 17 additions and 27 deletions

View File

@@ -10,7 +10,7 @@
background: `url(${fileBaseUrl + item.image
}) no-repeat 100% / 100%`,
}"></div>
<img class="banner-img" style="margin: 0 auto" :src="fileBaseUrl + item.image" alt="" />
<img class="banner-img" style="margin: 0 auto;" :src="fileBaseUrl + item.image" alt="" />
</swiper-slide>
</swiper>
</div>
@@ -22,7 +22,7 @@
background: `url(${fileBaseUrl + item.image
}) no-repeat 100% / 100%`,
}"></div>
<img class="banner-img" style="margin: 0 auto" :src="fileBaseUrl + item.image" alt="" />
<img class="banner-img" style="margin: 0 auto;" :src="fileBaseUrl + item.image" alt="" />
</swiper-slide>
<div class="swiper-pagination" slot="pagination"></div>
</swiper>
@@ -130,8 +130,8 @@
<div class="xindex-course-image">
<course-image :course="course"></course-image>
<span v-if="course.type == 20 || course.type == 10" class="course-type">录播课</span>
<span v-if="course.type == 30 " class="course-type">面授课</span>
<span v-if="course.type == 40 " class="course-type">学习项目</span>
<span v-if="course.type == 30" class="course-type">面授课</span>
<span v-if="course.type == 40" class="course-type">学习项目</span>
</div>
<div style="width: 80%" :title="course.name" class="course-title portal-title-tow two-line-ellipsis">
{{ course.name }}
@@ -388,40 +388,24 @@ export default {
.swiper-pagination {
top: 310px;
}
// .noticeBgc {
// background-size: 100% 110px;
// }
}
@media screen and (max-width: 1680px) and (min-width:1367px) {
.swiper-pagination {
top: 360px;
}
// .noticeBgc {
// background-size: 100% 120px;
// }
}
@media screen and (max-width: 1920px) and (min-width: 1681px) {
.swiper-pagination {
top: 360px;
}
// .noticeBgc {
// background-size: 100% 150px;
// }
}
@media screen and (min-width: 1921px) {
.swiper-pagination {
top: 360px;
}
.noticeBgc {
// background-size: 100% 169px;
}
}
.bannbox {
@@ -458,10 +442,11 @@ export default {
position: relative;
&::before {
content: url(../../assets/images//grateful/logo.png);
content: url(../../assets/images/grateful/logo.png);
position: absolute;
top: 20px;
left: 40px;
z-index: 100
}
.swiper-button-prev {