fix(components): tab组件在黑暗模式下泛白的颜色问题以及chromeTab的重叠问题

This commit is contained in:
lingdu
2021-09-25 19:18:56 +08:00
parent d488451f42
commit 6797dbf1b0
4 changed files with 13 additions and 10 deletions

View File

@ -1,6 +1,7 @@
<template>
<!--删除 bg-white 黑暗模式正常-->
<div
class="relative flex-center h-30px pl-14px bg-white border-1px border-[#e5e7eb] rounded-2px cursor-pointer"
class="relative flex-center h-30px pl-14px border-1px border-[#e5e7eb] rounded-2px cursor-pointer"
:class="[
closable ? 'pr-6px' : 'pr-14px',
{ 'text-primary bg-primary bg-opacity-10 !border-primary': active, 'text-primary border-primary': isHover }