Skip to content

Commit 68af24b

Browse files
committed
refactor: update ui
1 parent 11ce76e commit 68af24b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/Main.vue

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<div class="top-container">
88
<div class="logo">
99
<img class="img" src="@/assets/logo-hey.png">
10-
<h3>Gridea</h3>
1110
</div>
1211
<a-menu mode="inline" :defaultSelectedKeys="['articles']" @click="clickMenu">
1312
<a-menu-item key="articles">

src/views/article/Articles.vue

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@
4242
slot="name"
4343
slot-scope="text, record"
4444
@click="editPost(record)"
45-
><i class="zwicon-document post-icon"></i> {{ text }} <a-tag v-if="record.data.hideInList" color="orange">Hide</a-tag> </a>
45+
>
46+
<i class="zwicon-document post-icon"></i>
47+
{{ text }}
48+
<a-tag v-if="record.data.hideInList" color="orange">HIDE</a-tag>
49+
<a-tag v-if="record.data.isTop" color="orange">TOP</a-tag>
50+
</a>
4651
<a-tag
4752
:class="{'tag-success': text, 'tag-draft': !text }"
4853
slot="status"

0 commit comments

Comments
 (0)