From 1fec0dcc42745c0d4d676b1d875d2b22d119ee1f Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Thu, 19 Jun 2025 16:51:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pc=20nas=E4=B8=93=E9=A2=98=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E4=B8=AD=E5=BF=83=E6=96=87=E4=BB=B6=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/TopicNas.php | 1 + app/index/view/pc/topic_nas/help_detail.html | 11 +++++++++-- public/static/index/pc/css/topic_nas_help-detail.css | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 70e15097..16660eb9 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -290,6 +290,7 @@ class TopicNas extends Common // 获取文章数据 $articles = ArticleModel::field([ 'id', + 'category_id', 'title' ]) ->withSearch(['title'], [ diff --git a/app/index/view/pc/topic_nas/help_detail.html b/app/index/view/pc/topic_nas/help_detail.html index 4f21258d..705affe3 100644 --- a/app/index/view/pc/topic_nas/help_detail.html +++ b/app/index/view/pc/topic_nas/help_detail.html @@ -42,7 +42,14 @@ @@ -100,7 +107,7 @@ html = '' } diff --git a/public/static/index/pc/css/topic_nas_help-detail.css b/public/static/index/pc/css/topic_nas_help-detail.css index fc76fa88..92dbfb39 100755 --- a/public/static/index/pc/css/topic_nas_help-detail.css +++ b/public/static/index/pc/css/topic_nas_help-detail.css @@ -155,7 +155,7 @@ width: fit-content; display: block; margin: 0 10px; - padding-top: 22px; + padding-top: 6px; text-decoration: none; color: #333; margin-left: 41px;