From fb47956f29e412e0ca3a13f7ab759fe265cdabc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 2 Jan 2020 14:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tpm/shixunchild/Repository/Repository.css | 5 +++++ .../tpm/shixunchild/Repository/Repository.js | 5 +++-- .../shixunchild/Repository/RepositoryNoneData.js | 14 +++++++++----- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/public/react/src/modules/tpm/shixunchild/Repository/Repository.css b/public/react/src/modules/tpm/shixunchild/Repository/Repository.css index 544dceb20..8a2cde805 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/Repository.css +++ b/public/react/src/modules/tpm/shixunchild/Repository/Repository.css @@ -17,10 +17,15 @@ color: rgba(51,51,51,1); line-height: 40px; } + .colorbe{ color:#bebebe } +.borbotF4{ + border-bottom: 1px solid #F4F4F4; +} + .padding16{ padding: 16px; box-sizing: border-box; diff --git a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js index 1379feaf9..4fa2c429c 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js +++ b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js @@ -8,6 +8,7 @@ import RepositoryDirectories from './RepositoryDirectories'; import { ActionBtn , NoneData } from 'educoder'; import RepositoryCombinePath from './RepositoryCombinePath'; +import RepositoryNoneData from './RepositoryNoneData'; import './Repository.css'; const $ = window.$; @@ -50,7 +51,7 @@ class Repository extends Component { { repositoryLoading ?
:
-
+
@@ -144,7 +145,7 @@ class Repository extends Component { {/* 用户、最近提交时间 */} { - trees === undefined || trees === null ||trees.length===0? : + trees === undefined || trees === null ||trees.length===0? :
{commits===undefined?"":commits===null||commits.length===0?"":
{author.name} +
- -

暂时还没有相关数据哦!

+ +

暂时还没有相关数据哦!

) } } -export default NoneData; \ No newline at end of file +export default RepositoryNoneData; \ No newline at end of file