Commit 709b68c5 authored by nick zheng's avatar nick zheng

chore(知识库切片): 样式修改

parent 6c2b12c0
...@@ -37,12 +37,7 @@ function handleClickExpand() { ...@@ -37,12 +37,7 @@ function handleClickExpand() {
<template> <template>
<div <div
class="group overflow-hidden rounded-[10px] border" class="hover:border-theme-color group overflow-hidden rounded-[10px] border border-[#ededee] bg-[#fafaff] hover:bg-[#f1f2ff]"
:class="
isExpandContent
? 'border-theme-color bg-[#f1f2ff]'
: 'hover:border-theme-color border-[#ededee] bg-[#fafaff] hover:bg-[#f1f2ff]'
"
> >
<div class="flex-center h-9 flex-shrink-0 justify-between gap-[18px] overflow-hidden bg-[#e2e4ff] px-[10px]"> <div class="flex-center h-9 flex-shrink-0 justify-between gap-[18px] overflow-hidden bg-[#e2e4ff] px-[10px]">
<div class="text-font-color flex flex-1 items-center gap-[5px] overflow-hidden"> <div class="text-font-color flex flex-1 items-center gap-[5px] overflow-hidden">
...@@ -76,8 +71,7 @@ function handleClickExpand() { ...@@ -76,8 +71,7 @@ function handleClickExpand() {
<div <div
v-show="isContentExceed" v-show="isContentExceed"
class="text-gray-font-color flex-center ml-auto mt-3 h-[16px] w-[72px] cursor-pointer items-baseline gap-[5px] pr-2 leading-4 hover:text-[rgba(153,153,153,0.8)] group-hover:bg-[#f1f2ff]" class="text-gray-font-color flex-center ml-auto mt-3 h-[16px] w-[72px] cursor-pointer items-baseline gap-[5px] bg-[#fafaff] pr-2 leading-4 hover:text-[rgba(153,153,153,0.8)] group-hover:bg-[#f1f2ff]"
:class="isExpandContent ? 'bg-[#f1f2ff]' : 'bg-[#fafaff]'"
@click="handleClickExpand" @click="handleClickExpand"
> >
<span class="inline-block leading-4"> <span class="inline-block leading-4">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment