From b5636674fe8da7226bca5c45cfb48c25eb470777 Mon Sep 17 00:00:00 2001 From: liqian <735273025@qq.com> Date: Fri, 24 Jan 2025 09:31:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpc=20nas=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E4=B8=AD=E5=BF=83bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/TopsNas.php | 2 +- app/index/view/tops_nas/helper.phtml | 18 ++++++----- app/index/view/tops_nas/helper_detail.phtml | 36 +++++++-------------- 3 files changed, 23 insertions(+), 33 deletions(-) diff --git a/app/index/controller/TopsNas.php b/app/index/controller/TopsNas.php index ef485cd..447382c 100755 --- a/app/index/controller/TopsNas.php +++ b/app/index/controller/TopsNas.php @@ -469,7 +469,7 @@ class TopsNas extends BaseController unset($val); $this->assign('categorys', $categorys); $this->assign('article', $article); - $this->assign('cid', request()->param('cid')); + $this->assign('cid', request()->param('cid', $article->cid)); } return $this->fetch(); diff --git a/app/index/view/tops_nas/helper.phtml b/app/index/view/tops_nas/helper.phtml index d0fde51..6874f10 100644 --- a/app/index/view/tops_nas/helper.phtml +++ b/app/index/view/tops_nas/helper.phtml @@ -34,8 +34,8 @@ } .narshelpCenterPc .pagetopbg .nhlp-search { width: 35%; - height: 3rem; - border-radius: 1.5625rem; + height: 48px; + border-radius: 24px; background: #5299e1; flex-direction: row; align-items: center; @@ -49,8 +49,8 @@ } .narshelpCenterPc .pagetopbg .nhlp-search .nhlp-ipt { border: none; - width: 85%; - height: 3rem; + width: 86%; + height: 48px; margin-left: 5%; color: #fff; background: transparent; @@ -68,7 +68,7 @@ } .narshelpCenterPc .pagetopbg .nhlp-search input::placeholder { color: #fff; - padding-left: 20%; + text-align: center; font-size: 16px; } .narshelpCenterPc .nhlppart1 { @@ -323,7 +323,7 @@
+ {/if}