From fe8f9797bba9331817da541cce9bd3b868f1c66e 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 14:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/newsDetail.jsx | 13 ++++--------- src/forge/Information/index.scss | 22 ++++++++++------------ 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/src/forge/Information/Pages/newsDetail.jsx b/src/forge/Information/Pages/newsDetail.jsx index d2e801efe..62cb7b5fd 100644 --- a/src/forge/Information/Pages/newsDetail.jsx +++ b/src/forge/Information/Pages/newsDetail.jsx @@ -128,19 +128,14 @@ function NewsDetail(props){ { !!detail.visits &&
  • {detail.visits}
  • } { detail.auditStatus === '2' &&
  • } { detail.auditStatus === '0' &&
  • } - { detail.keywords && !isPhone() &&
  • 文章标签:{ detail.keywords.split(',').map(e => ( - { e } - )) }
  • } + { detail.keywords &&
    文章标签:{ detail.keywords.split(',').map(e => ( + { e } + )) }
    } { !isPhone() && } { - content ? <> - { detail.keywords && isPhone() &&
  • 文章标签:{ detail.keywords.split(',').map(e => ( - { e } - )) }
  • } - - + content ? : 暂无详情~ } diff --git a/src/forge/Information/index.scss b/src/forge/Information/index.scss index 9944e9570..0f7ea07bf 100644 --- a/src/forge/Information/index.scss +++ b/src/forge/Information/index.scss @@ -491,15 +491,14 @@ color: #232b3f; font-size: 14px; line-height: 28px; - padding-bottom: 10px; + margin-top: 10px; span { display: inline-block; - color:#1F2329; - margin-right: 5px; - border: 1px solid; - border-color: #d6d8e0; + background-color: #eff2ff; border-radius: 4px; - padding: 2px 10px; + padding: 0 10px; + color: #466aff; + margin-right: 5px; margin-bottom: 10px !important; } } @@ -573,15 +572,14 @@ color: #232b3f; font-size: 14px; line-height: 28px; - padding-bottom: 10px; + margin-top: 10px; span { display: inline-block; - color:#1F2329; - margin-right: 5px; - border: 1px solid; - border-color: #d6d8e0; + background-color: #eff2ff; border-radius: 4px; - padding: 2px 10px; + padding: 0 10px; + color: #466aff; + margin-right: 5px; } } .info_text_main{