调式
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s

This commit is contained in:
2025-12-20 14:01:18 +08:00
parent e5ccd8d031
commit 1ffa2a7d37
5 changed files with 20 additions and 27 deletions

View File

@@ -55,15 +55,6 @@
{block name="main"} {block name="main"}
{notempty name="data.top_focus_images"} {notempty name="data.top_focus_images"}
<div class="swiper-container auto-swiper-container" style="margin-top:60px;"> <div class="swiper-container auto-swiper-container" style="margin-top:60px;">
{eq name=":cookie('think_lang')" value="en-us"}
<div class="swiper-wrapper">
{volist name="data.top_focus_images" id="tfi"}
<a class="swiper-slide auto-swiper-slide" href="{$tfi.link}">
<img src="{$tfi.image}" alt="{$tfi.title}" />
</a>
{/volist}
</div>
{else/}
<div class="swiper-wrapper"> <div class="swiper-wrapper">
{volist name="data.top_focus_images" id="tfi"} {volist name="data.top_focus_images" id="tfi"}
<div class="swiper-slide auto-swiper-slide"> <div class="swiper-slide auto-swiper-slide">
@@ -72,15 +63,20 @@
<div class="swiper-container-texts-p">{$tfi.desc||raw|htmlspecialchars_decode}</div> <div class="swiper-container-texts-p">{$tfi.desc||raw|htmlspecialchars_decode}</div>
<div class="swiper-container-texts-img"> <div class="swiper-container-texts-img">
<a href="{$tfi.link}"> <a href="{$tfi.link}">
<img src="__IMAGES__/topic_laptop/ljgd.png" alt="" loading="lazy" > {eq name=":cookie('think_lang')" value="en-us"}
<img src="__IMAGES__/topic_laptop/eljgd.png" alt="" >
{else/}
<img src="__IMAGES__/topic_laptop/ljgd.png" alt="" >
{/eq}
</a> </a>
</div> </div>
</div> </div>
<img src="{$tfi.image}" alt="{$tfi.title}" loading="lazy" /> <img src="{$tfi.image}" alt="{$tfi.title}" />
</div> </div>
{/volist} {/volist}
</div> </div>
{/eq}
</div> </div>
{/notempty} {/notempty}
{notempty name="data.perf"} {notempty name="data.perf"}
@@ -332,13 +328,14 @@
</video> </video>
<div class="fs-ts">{$data.cooling_system.0.desc|raw}</div> <div class="fs-ts">{$data.cooling_system.0.desc|raw}</div>
{/notempty} {/notempty}
<div class="fs-box-img opacity0" data-order="18"> <!-- data-order="18 opacity0" -->
<div class="fs-box-img" >
<div class="fs-h-img"> <div class="fs-h-img">
{notempty name="data.cooling_system.1"}<img src="{$data.cooling_system.1.image}" alt="" loading="lazy" >{/notempty} {notempty name="data.cooling_system.1"}<img src="{$data.cooling_system.1.image}" alt="" >{/notempty}
{notempty name="data.cooling_system.2"}<img src="{$data.cooling_system.2.image}" alt="" loading="lazy" >{/notempty} {notempty name="data.cooling_system.2"}<img src="{$data.cooling_system.2.image}" alt="" >{/notempty}
</div> </div>
<div class="fs-b-img" style="min-height: 20px;"> <div class="fs-b-img" style="min-height: 20px;">
{notempty name="data.cooling_system.3"}<img src="{$data.cooling_system.3.image}" alt="" loading="lazy" >{/notempty} {notempty name="data.cooling_system.3"}<img src="{$data.cooling_system.3.image}" alt="" >{/notempty}
</div> </div>
</div> </div>
</div> </div>
@@ -346,10 +343,11 @@
{/notempty} {/notempty}
{notempty name="data.apps"} {notempty name="data.apps"}
<div class="xn"> <div class="xn">
<div class="xn-t opacity0" data-order="19">{$data.apps.title|default=''}</div> <!-- opacity0 data-order="19"-->
<div class="xn-t" >{$data.apps.title|default=''}</div>
<div class="xn-container"> <div class="xn-container">
<div class="xn-image-section"> <div class="xn-image-section">
<img src="{$data.apps.image|default=''}" alt="" class="zoom-image first-image" loading="lazy"> <img src="{$data.apps.image|default=''}" alt="" class="zoom-image first-image" >
</div> </div>
</div> </div>
<div class="xn-p">{$data.apps.desc|default=''|raw}</div> <div class="xn-p">{$data.apps.desc|default=''|raw}</div>

View File

@@ -43,8 +43,3 @@ body {
/* [data-order="19"] { /* [data-order="19"] {
transition: all 0.3s ease-out 0.2s !important; transition: all 0.3s ease-out 0.2s !important;
} */ } */
[data-order], .annotation, .progress-fill, .zoom-image, .float-card {
transform: translateZ(0); /* 开启硬件加速,将元素交给 GPU 渲染 */
will-change: opacity, transform; /* 告诉浏览器提前优化这个元素 */
backface-visibility: hidden; /* 防止元素翻转时的闪烁 */
}

View File

@@ -189,14 +189,14 @@
.progress-p { .progress-p {
color: #cbcfd8; color: #cbcfd8;
font-size: clamp(16px, 1vw, 0.22rem); font-size: clamp(16px, 1vw, 0.22rem);
margin-top: 1.23rem; margin-top: 1.56rem;
margin-bottom: 5.04rem; margin-bottom: 2rem;
text-align: center; text-align: center;
} }
.progress-p1 { .progress-p1 {
color: #cbcfd8; color: #cbcfd8;
font-size: clamp(16px, 1vw, 0.22rem); font-size: clamp(16px, 1vw, 0.22rem);
margin-top: 1.56rem; margin-top: 1.56rem;
/* margin-bottom: 2.3rem; */ /* margin-bottom: 1.66rem; */
text-align: center; text-align: center;
} }

View File

@@ -39,7 +39,7 @@
color: #cbcfd8; color: #cbcfd8;
width: 100%; width: 100%;
text-align: center; text-align: center;
padding-top: 0.39rem; padding-top: 0.43rem;
line-height: 1.8; line-height: 1.8;
font-family: "HarmonyOS-Light"; font-family: "HarmonyOS-Light";
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB