File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 4040 <li class =" category-item" v-for =" (item, index) in this.$categories.list" :key =" index" >
4141 <router-link :to =" item.path" >
4242 <span class =" category-name" >{{ item.name }}</span >
43- <span class =" post-num" >{{ item.pages.length }}</span >
43+ <span class =" post-num" :style = " { 'backgroundColor': _tagColor() } " >{{ item.pages.length }}</span >
4444 </router-link >
4545 </li >
4646 </ul >
@@ -255,18 +255,8 @@ export default {
255255 transition : all .5s
256256 border-radius $borderRadius
257257 box-shadow $boxShadow
258- & :not (:first-child ) {
259- border-top : none ;
260- }
261258 & :hover {
262- background #d3 d3 d3
263- a {
264- color #f f f
265- .post-num {
266- background #9 9 9
267- color #f f f
268- }
269- }
259+ transform scale (1.04 )
270260 }
271261 a {
272262 display flex
@@ -279,7 +269,7 @@ export default {
279269 border-radius $borderRadius
280270 background #e e e
281271 font-size .6rem
282- color $textColor
272+ color # f f f
283273 }
284274 }
285275 }
You can’t perform that action at this time.
0 commit comments