From 18a37dda3ad1ab61d8d9585b40ed0e81b908f2cf Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Tue, 9 Jul 2019 09:15:22 +0800 Subject: [PATCH 1/3] lock --- public/react/src/modules/page/main/CodeEvaluateView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/page/main/CodeEvaluateView.js b/public/react/src/modules/page/main/CodeEvaluateView.js index 6c9ae2c6d..eba71d4fa 100644 --- a/public/react/src/modules/page/main/CodeEvaluateView.js +++ b/public/react/src/modules/page/main/CodeEvaluateView.js @@ -159,7 +159,7 @@ class CodeEvaluateView extends Component { let headIconClass = ''; let _headLockIconClass = ''; - if (item.is_public === 0) { + if (item.is_public == 0) { if (game.test_sets_view === true || power === 1){ _headLockIconClass = 'fas fa-unlock-alt' } else { From 41c65dc8652db9c01ed79b800707811d3a2e8c7d Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Tue, 9 Jul 2019 09:38:23 +0800 Subject: [PATCH 2/3] css --- public/react/src/modules/page/main/LeftView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/page/main/LeftView.js b/public/react/src/modules/page/main/LeftView.js index b2469ec44..ec3d4665b 100644 --- a/public/react/src/modules/page/main/LeftView.js +++ b/public/react/src/modules/page/main/LeftView.js @@ -283,6 +283,9 @@ class LeftView extends Component { color: #CDCDCD; flex: 0 0 45px; } + .markdown-body ol, .markdown-body ul { + padding-left: 2.5em; + } `}
@@ -293,7 +296,7 @@ class LeftView extends Component {
{item.name}
已解锁
-
+
})} From f7684fb38ad013b27dccb82422917c1f6d692195 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Tue, 9 Jul 2019 09:49:37 +0800 Subject: [PATCH 3/3] top --- public/react/src/modules/page/main/CodeEvaluateView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/page/main/CodeEvaluateView.js b/public/react/src/modules/page/main/CodeEvaluateView.js index eba71d4fa..d402e6bce 100644 --- a/public/react/src/modules/page/main/CodeEvaluateView.js +++ b/public/react/src/modules/page/main/CodeEvaluateView.js @@ -175,7 +175,7 @@ class CodeEvaluateView extends Component { testSetsComponentArray.push(
+ style={{cursor:'pointer', 'margin-top':index == 0 ? '4px' : ''}} key={index+'-0'}>