From aeec3e4f0d1fb801b994ce1cb6bb6b7d479a66d4 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Wed, 6 May 2026 10:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AA=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/pc/topic_ssd/index.html | 56 ++++++++++++++++ .../static/index/pc/css/topic_ssd/index.css | 64 +++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 public/static/index/pc/css/topic_ssd/index.css diff --git a/app/index/view/pc/topic_ssd/index.html b/app/index/view/pc/topic_ssd/index.html index e69de29b..3a143134 100644 --- a/app/index/view/pc/topic_ssd/index.html +++ b/app/index/view/pc/topic_ssd/index.html @@ -0,0 +1,56 @@ + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ +
+ diff --git a/public/static/index/pc/css/topic_ssd/index.css b/public/static/index/pc/css/topic_ssd/index.css new file mode 100644 index 00000000..ff4e5b45 --- /dev/null +++ b/public/static/index/pc/css/topic_ssd/index.css @@ -0,0 +1,64 @@ + +html { + width: 100%; +} +body { + /* width: 100vw; + height: 100vh; */ + background: #000; + overflow-x: hidden; + scroll-behavior: smooth !important; + -webkit-overflow-scrolling: touch !important; +} +/* 当视口宽度大于1920px时生效 */ +@media screen and (min-width: 1920px) { + /* 这里写你的样式 */ + body { + max-width:100% !important; + width: 100vw !important; + } + +} +.sc-main { + width: 100%; + height: 100%; + max-width: 2560px; + margin: 0 auto; +} + +a { + text-decoration: none; + display: block; +} + +img { + display: block; +} + +.sc-main-img { + width: 100%; + max-width: 2560px; +} + +.sc-mt20 { + margin-top: 0.2rem; +} + +.sc-main-imgs { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 0.2rem; + list-style: none; + /* 去除列表样式(如果有) */ +} + +.sc-main-imgs a { + display: block; +} + +.sc-main-img1 { + width: 100%; + height: auto; + /* 保持比例 */ + display: block; +} \ No newline at end of file