From f4b3afde6aa5caf91f07994f5446018cbfa8220b Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 16 Jun 2021 11:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=A6=E6=83=85=E5=92=8C?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E7=9A=84=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=88=97=E8=A1=A8=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/edu-purge.css | 11 ++++++++ src/forge/Main/Detail.js | 54 ++++++++++++++++++------------------- src/forge/Main/Index.scss | 14 +++++++++- src/forge/Main/IndexItem.js | 3 ++- 4 files changed, 52 insertions(+), 30 deletions(-) diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index c8f7c907..047d2bc1 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -3908,6 +3908,17 @@ html>body #ajax-indicator { max-height: 340px; }/*头部导航条样式---2018-03-19--by-cs*/ +.privateTag{ + display: block; + padding:0px 6px; + border-radius: 12px; + border:1px solid #2FC25B; + height: 18px; + line-height: 18px; + font-size: 12px; + margin-left: 10px; + color: #2FC25B; +} .head-nav { text-align: center; height: 70px; diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index b92e5217..07bb194e 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; -import { Spin, Tooltip , message } from 'antd'; +import { Spin, Tooltip } from 'antd'; import { Link, Route, Switch } from 'react-router-dom'; -import { Content , FlexAJ } from '../Component/layout'; +import { Content , FlexAJ , AlignCenter } from '../Component/layout'; import DetailBanner from './sub/DetailBanner'; import Invite from './sub/Invite'; import '../css/index.scss' @@ -425,34 +425,32 @@ class Detail extends Component {
- {project && project.author &&
-
- {project.author.name}
-
- }
- /
-
- {project && project.name}
-
- {
- projectDetail && projectDetail.type && projectDetail.type !== 0 ?
- projectDetail.type === 2 ?
-