From 05136654c461ebe637fadbd09eefb4597dc21cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 28 Jun 2024 11:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D=E5=89=8D=E5=8F=B0?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E3=80=81=E6=96=87=E6=A1=88=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/newsDetail.jsx | 6 ++++-- src/forge/Information/index.scss | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/forge/Information/Pages/newsDetail.jsx b/src/forge/Information/Pages/newsDetail.jsx index 5b33b7501..0555a0741 100644 --- a/src/forge/Information/Pages/newsDetail.jsx +++ b/src/forge/Information/Pages/newsDetail.jsx @@ -133,8 +133,10 @@ function NewsDetail(props){ { !IsPC() && } { - content ? - + content ? <> + { detail.keywords &&

文章标签:{ detail.keywords }

} + + : 暂无详情~ } diff --git a/src/forge/Information/index.scss b/src/forge/Information/index.scss index 6681aab39..c93811076 100644 --- a/src/forge/Information/index.scss +++ b/src/forge/Information/index.scss @@ -487,6 +487,15 @@ background-image:linear-gradient(180deg,#f8f9fd 0%,#f8f9fd 100%); border:1px solid #ffffff; box-sizing: border-box; + .keywords { + color: #232b3f; + font-size: 14px; + line-height: 28px; + padding-bottom: 10px; + span { + color:#466aff; + } + } } .info_text_main{ margin-bottom: 2em; @@ -553,6 +562,15 @@ background-color: #fff; border-radius: 4px; padding:30px 35px 50px; + .keywords { + color: #232b3f; + font-size: 14px; + line-height: 28px; + padding-bottom: 10px; + span { + color:#466aff; + } + } .info_text_main{ .i_name{ color:#1f2329;