Skip to content

Commit bf5409c

Browse files
committed
feat: 优化样式
1 parent 82134b1 commit bf5409c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/Home/index-page.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<el-tag
88
round
99
effect="dark"
10-
type="warning"
10+
:type="['danger', 'info', 'warning'][index % 3]"
1111
class="t-pointer"
1212
style="margin: 5px 2px"
13-
v-for="(item, key) in dependencies"
13+
v-for="(item, key, index) in dependencies"
1414
:key="key"
1515
>
16-
{{ key }}<span style="opacity: 0.6">({{ item }})</span>
16+
{{ key }}<span style="opacity: 0.7">({{ item }})</span>
1717
</el-tag>
1818
</div>
1919

0 commit comments

Comments
 (0)