From bfd665bd0b57a19924fe14478c70e19b6b75e839 Mon Sep 17 00:00:00 2001 From: Harry-zklcdc <1269158832@qq.com> Date: Tue, 6 Jul 2021 21:30:48 +0800 Subject: [PATCH] [Fix] UI --- src/pages/oj/components/mixins/problem.js | 2 +- src/pages/oj/views/forum/ForumList.vue | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/pages/oj/components/mixins/problem.js b/src/pages/oj/components/mixins/problem.js index f0e4fc3..4d9928b 100644 --- a/src/pages/oj/components/mixins/problem.js +++ b/src/pages/oj/components/mixins/problem.js @@ -32,7 +32,7 @@ export default { } return h('Icon', { props: { - type: status === 0 ? 'checkmark-round' : 'minus-round', + type: status === 0 ? 'md-checkmark' : 'md-remove', size: '16' }, style: { diff --git a/src/pages/oj/views/forum/ForumList.vue b/src/pages/oj/views/forum/ForumList.vue index 5fd3902..a109abd 100644 --- a/src/pages/oj/views/forum/ForumList.vue +++ b/src/pages/oj/views/forum/ForumList.vue @@ -132,7 +132,7 @@ props: { type: nice, size: '14', - color: '#f1c40f' + color: '#fdcb6e' }, style: { margin: nicemargin @@ -141,7 +141,8 @@ h('Icon', { props: { type: top, - size: '14' + size: '14', + color: '#ff7675' }, style: { margin: topmargin @@ -247,9 +248,6 @@ this.loadings.table = false this.total = res.data.data.total this.ForumList = res.data.data.results - if (this.isAuthenticated) { - this.addStatusColumn(this.problemTableColumns, res.data.data.results) - } }, res => { this.loadings.table = false })