调整背景样式

This commit is contained in:
dong.ai
2025-09-14 15:29:45 +08:00
parent 01d4bc0536
commit a42668c929

View File

@@ -164,7 +164,7 @@
<div class="xcontent2-main">
<div class="modules-title xindex-main">
<!-- <span class="modules-text" style="color: #3D86F4;">精品课</span> -->
<span class="quyer-tag">
<span class="quyer-tag" style="margin-left: 0px;">
<!-- <img src="../assets/images/tutoring1.pn" alt=""> -->
<img class="modules-text" style="height: 24px;" src="../assets/images/course/courseTitle.png" alt="">
</span>
@@ -3107,11 +3107,16 @@ export default {
}
}
.courseBg{
width: 332px;
height: 323px;
background: url("../assets/images/course/courseBackground.png") no-repeat;
background-size: 100% 100%; /* 或 use 'contain' */
background-position: center;
border: none;
// width: 332px;
// height: 323px;
// background: url("../assets/images/course/courseBackground.png") no-repeat;
// background-size: 100% 100%; /* 或 use 'contain' */
// background-position: center;
// border: none;
border-radius: 12px;
background: linear-gradient(135deg, #e6f7ff, #f0f8ff, #ffffff);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
border: 1px solid #d9edf7;
overflow: hidden;
}
</style>