File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
packages/applet/src/components/basic Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const router = useVirtualRouter()
10
10
</script >
11
11
12
12
<template >
13
- <div border =" b base" class =" h10 h40px flex items-center justify-between px3" >
13
+ <div border =" b base" class =" flex items-center justify-between px3" >
14
14
<div >
15
15
<slot >
16
16
<i class =" i-ep:back cursor-pointer op70 text-base hover:op100" @click =" router.push('/')" />
Original file line number Diff line number Diff line change @@ -10,10 +10,8 @@ const router = useVirtualRouter()
10
10
<li
11
11
v-for =" (item, index) in routes"
12
12
:key =" index"
13
- cursor-pointer hover:op100
14
- :style =" {
15
- opacity: currentRoute.path === item.path ? 1 : 0.7,
16
- }"
13
+ class =" h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100"
14
+ :class =" currentRoute.path === item.path ? 'op-100 font-medium text-primary-400 border-primary-400' : 'border-transparent op-70'"
17
15
@click =" router.push(item.path)"
18
16
>
19
17
{{ item.name }}
You can’t perform that action at this time.
0 commit comments