From 775434d856005234c76d359acfe313dd4d78ca36 Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 30 Nov 2021 15:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Activity/activity.css | 9 +++++++++ src/forge/Main/CoderDepot.jsx | 2 +- src/forge/Main/sub/UpdateDescModal.jsx | 4 ++-- src/forge/Main/version/version.js | 14 +++++++++++++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/forge/Activity/activity.css b/src/forge/Activity/activity.css index 2fada3c0..ee6fea5f 100644 --- a/src/forge/Activity/activity.css +++ b/src/forge/Activity/activity.css @@ -57,6 +57,15 @@ padding:20px 0px; color: #4183c4; } +.percentBox li::after{ + content: ''; + width: 100%; + height: 3px; + border-radius: 4px; + display: block; + margin: 0 auto; + background: #4183c4; +} .percentBox > li:last-child{ border-right: none; } diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index db68d22a..11521dc0 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -528,7 +528,7 @@ function CoderDepot(props){ setOpenModal(true)} className="iconfont icon-a-shezhi color-grey-9 font-15"> } - {desc &&

{desc}

} + {desc &&

{desc}

} { website &&
diff --git a/src/forge/Main/sub/UpdateDescModal.jsx b/src/forge/Main/sub/UpdateDescModal.jsx index b0291f34..902f2f15 100644 --- a/src/forge/Main/sub/UpdateDescModal.jsx +++ b/src/forge/Main/sub/UpdateDescModal.jsx @@ -46,14 +46,14 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u {getFieldDecorator("website",{ rules:[] })( - + )} {getFieldDecorator("lesson_url",{ rules:[] })( - + )} diff --git a/src/forge/Main/version/version.js b/src/forge/Main/version/version.js index 2896899f..0f570aff 100644 --- a/src/forge/Main/version/version.js +++ b/src/forge/Main/version/version.js @@ -6,9 +6,11 @@ import {truncateCommitId} from '../../common/util'; import Empty from './Empty'; import './version.scss'; import axios from 'axios'; +import { Popconfirm } from 'antd' import Tree from '../img/tree-black.png'; import RenderHtml from '../../../components/render-html'; import User from "../../Component/User"; +import DeleteBox from "../../Component/DeleteModal/Index"; function version(props) { const [ data , setData ] = useState(undefined); @@ -73,7 +75,17 @@ function version(props) { {item.name} {data && data.user_admin_permission && type !== 2 && } - {data && data.user_admin_permission && type !== 2 && {deleteRelease(item.version_id)}}>} + {data && data.user_admin_permission && type !== 2 && + {deleteRelease(item.version_id)}} + > + + + }