|
|
@ -51,7 +51,7 @@ const toDocument = () => { |
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<ElDropdown class="custom-hover" :class="prefixCls" trigger="click"> |
|
|
|
<ElDropdown class="custom-hover custom-hover1" :class="prefixCls" trigger="click"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<ElAvatar :src="avatar" alt="" class="w-[calc(var(--logo-height)-25px)] rounded-[50%]" /> |
|
|
|
<span class="pl-[5px] text-14px text-[var(--top-header-text-color)] <lg:hidden" style="color:#ffffff"> |
|
|
@ -76,3 +76,13 @@ const toDocument = () => { |
|
|
|
</template> |
|
|
|
</ElDropdown> |
|
|
|
</template> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
.custom-hover1:hover{ |
|
|
|
opacity: 0.5; |
|
|
|
background-color: transparent; |
|
|
|
scale: 1.1; |
|
|
|
transition: all 50ms; |
|
|
|
} |
|
|
|
</style> |
|
|
|