From 5736632f88815cc9b18305e2c150da1082ba88f7 Mon Sep 17 00:00:00 2001 From: yma16 <17685043634@163.com> Date: Mon, 14 Aug 2023 01:10:17 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E8=81=8A=E5=A4=A9=E5=AE=A4=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=85=A8=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/websocket/Onlinewebsocket.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/websocket/Onlinewebsocket.vue b/src/components/websocket/Onlinewebsocket.vue index d32c069..f920e20 100644 --- a/src/components/websocket/Onlinewebsocket.vue +++ b/src/components/websocket/Onlinewebsocket.vue @@ -637,8 +637,11 @@ export default { margin: 0; padding: 0; background: url(https://w.wallhaven.cc/full/72/wallhaven-72wzq9.png); - /* background-size: cover; */ - background-repeat: repeat-y; + background-position: center center; + background-clip: border-box; + background-size:100% 100%; + background-attachment:fixed; + background-repeat: no-repeat; } /* 取消滚动并且隐藏 */ -- GitLab