修改课程推荐样式

This commit is contained in:
NiSen
2023-09-25 16:32:08 +08:00
parent 436f2e71a0
commit 63b0cf6810
5 changed files with 153 additions and 44 deletions

View File

@@ -21,9 +21,9 @@
<div class="xcontent2">
<!-- 左侧三级 -->
<div class="xcontent2-minor" style="margin-right:36px;">
<router-link to="/courseRecommended" style="margin-bottom: 20px;" class="course-title-style">
<router-link to="/courseRecommended" style="margin-bottom: 20px;" class="course-recommended-style">
<div class="imgTilte">
<div>课程推荐</div>
<!-- <div>课程推荐</div> -->
</div>
</router-link>
<div class="course-title-style">
@@ -1582,6 +1582,15 @@ export default {
}
// 三级背景高度
.course-recommended-style{
position: relative;
height: 142px;
background-image: url('../../../assets/images/course/courserecommended.png');
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;
}
.course-title-style {
position: relative;
height: 100px;