调整背景图样式

This commit is contained in:
dong.ai
2025-09-14 14:52:19 +08:00
parent d52e8b389b
commit 01d4bc0536

View File

@@ -3107,9 +3107,11 @@ export default {
}
}
.courseBg{
width: 332px;
height: 323px;
background: url("../assets/images/course/courseBackground.png") no-repeat;
background-size: cover; /* 或 use 'contain' */
background-position: center;
background-size: 100% 100%; /* 或 use 'contain' */
background-position: center;
border: none;
}
</style>