diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 16660eb9..0d2add82 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -21,7 +21,7 @@ class TopicNas extends Common // 获取国家/语言列表 $languages = $this->getLanguages(); // 输出国家/语言列表 - if (request()->isMobile()) { + if (get_platform() == 'mobile') { View::assign('header_languages', $languages); } diff --git a/app/index/view/mobile/public/nas_header.html b/app/index/view/mobile/public/nas_header.html index 6c516ec0..7722b738 100644 --- a/app/index/view/mobile/public/nas_header.html +++ b/app/index/view/mobile/public/nas_header.html @@ -45,45 +45,6 @@ {/volist} {/notempty} - - - -
-
-
- - -
-
+