From edfc27b06a7edf0d1fb0d94f6383ad2740cf935a Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Tue, 30 Dec 2025 17:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Common.php | 7 ---- app/index/view/mobile/topic_laptop/index.html | 40 ++++++++++++++++--- .../index/mobile/css/topic_laptop/gpu.css | 2 +- .../index/mobile/css/topic_laptop/index.css | 5 +++ 4 files changed, 41 insertions(+), 13 deletions(-) diff --git a/app/index/controller/Common.php b/app/index/controller/Common.php index 636b6555..703890c8 100644 --- a/app/index/controller/Common.php +++ b/app/index/controller/Common.php @@ -107,13 +107,6 @@ abstract class Common extends BaseController 'status' => 1 ]) ->where('status', '=', 1) - ->where(function($query) { - // 临时代码,移动端暂时不显示 "AI PC" - if (request()->from == 'mobile') { - $table_name = SysNavigationItemModel::getTable(); - $query->whereNotIn($table_name . ".id", [78]); - } - }) ->order(['sort' => 'asc', 'id' => 'asc']) ->select(); if ($nav->isEmpty()) { diff --git a/app/index/view/mobile/topic_laptop/index.html b/app/index/view/mobile/topic_laptop/index.html index cc560a15..3c4cb526 100644 --- a/app/index/view/mobile/topic_laptop/index.html +++ b/app/index/view/mobile/topic_laptop/index.html @@ -466,7 +466,7 @@
{eq name=":cookie('think_lang')" value="en-us"}
{$wifi_first_section.title|default=''|raw}
-
{$wifi_first_section.short_title|default=''|raw}
+
{$wifi_first_section.short_title|default=''|raw}
{else/}
{$wifi_first_section.title|default=''|raw}
{$wifi_first_section.short_title|default=''|raw}
@@ -501,10 +501,19 @@
{/notempty} + +{eq name=":cookie('think_lang')" value="en-us"} +
{:lang_i18n('接口大满贯')}
+{else/}
{:lang_i18n('接口大满贯')}
+{/eq}
+ {eq name=":cookie('think_lang')" value="en-us"} +

{:lang_i18n('标配多种接口,会议室连接电脑、
U盘传输文件、TF卡读取等,全都轻松搞定')}

+ {else/}

{:lang_i18n('标配多种接口,会议室连接电脑、
U盘传输文件、TF卡读取等,全都轻松搞定')}

+ {/eq} 接口图
@@ -556,8 +565,6 @@
{/eq} - -
{:lang_i18n('HDMI')}
@@ -589,8 +596,31 @@ {assign name="camare_microphone" value=":array_shift($data.camare_microphone_security)"/} {assign name="security" value=":array_shift($data.camare_microphone_security)"/}
- {notempty name="camare_microphone"}
{$camare_microphone.title|default=''}
{/notempty} - {notempty name="security"}
{$security.title|default=''}
{/notempty} + + + {eq name=":cookie('think_lang')" value="en-us"} + {notempty name="camare_microphone"} +
{$camare_microphone.title|default=''}
+ {/notempty} + {notempty name="security"} +
{$security.title|default=''}
+ {/notempty} + {else/} + {notempty name="camare_microphone"} +
{$camare_microphone.title|default=''}
+ {/notempty} + {notempty name="security"} +
{$security.title|default=''}
+ {/notempty} + {/eq} + + +
{notempty name="camare_microphone"}
diff --git a/public/static/index/mobile/css/topic_laptop/gpu.css b/public/static/index/mobile/css/topic_laptop/gpu.css index 74ecb2fc..cf62eb91 100644 --- a/public/static/index/mobile/css/topic_laptop/gpu.css +++ b/public/static/index/mobile/css/topic_laptop/gpu.css @@ -16,7 +16,7 @@ font-size: 0.20rem; color: #cbcfd8; line-height: 1.5; - margin-top: 0.32rem; + margin-top: 0.37rem; } .gpu-main-img { width: 100%; diff --git a/public/static/index/mobile/css/topic_laptop/index.css b/public/static/index/mobile/css/topic_laptop/index.css index 91c9eddb..2b5c35fd 100644 --- a/public/static/index/mobile/css/topic_laptop/index.css +++ b/public/static/index/mobile/css/topic_laptop/index.css @@ -20,15 +20,20 @@ body { .f36{ font-size: 0.36rem !important; + font-family: "HarmonyOS-Medium" !important; + line-height: 1 !important; } .f18{ font-size: 0.18rem !important; + line-height: 1.5 !important; } .f28 { font-size: 0.28rem !important; + font-family: "HarmonyOS-Medium" !important; } .f48 { font-size: 0.48rem !important; line-height: 1 !important; margin-bottom: 0.6rem !important; + font-family: "HarmonyOS-Medium" !important; } \ No newline at end of file