From 01d4bc0536f8684f8a1cc24cb5baea9184a19f0f Mon Sep 17 00:00:00 2001 From: "dong.ai" Date: Sun, 14 Sep 2025 14:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index ee91a566..1d400ef1 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -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; }