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;