mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 08:57:14 +08:00
fix: 修复部分样式错误
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
</template>
|
||||
</a-button>
|
||||
</div>
|
||||
<a-button type="outline" class="add-button" style="width: 100%;" @click="onAddArgs">
|
||||
<a-button type="primary" class="add-button" @click="onAddArgs">
|
||||
<template #icon>
|
||||
<icon-plus />
|
||||
</template>
|
||||
@@ -358,7 +358,7 @@ fieldset legend {
|
||||
|
||||
.add-button {
|
||||
align-self: flex-start;
|
||||
width: 100px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:deep(.arco-input-append) {
|
||||
|
@@ -182,6 +182,9 @@ onMounted(() => {
|
||||
:deep(.arco-tree-node-selected) {
|
||||
font-weight: bold;
|
||||
background-color: rgba(var(--primary-6), 0.1);
|
||||
&:hover {
|
||||
background-color: rgba(var(--primary-6), 0.1);
|
||||
}
|
||||
.arco-typography {
|
||||
color: rgb(var(--primary-6));
|
||||
}
|
||||
|
@@ -21,11 +21,19 @@
|
||||
<IconIdcard v-else />
|
||||
</template>
|
||||
<template #title="node">
|
||||
<template v-if="index = getMatchIndex(node?.title), index < 0">{{ node?.title }}</template>
|
||||
<span v-else>{{ node?.title?.substr(0, index) }}
|
||||
<span style="color: rgb(var(--arcoblue-6));">{{ node?.title?.substr(index, searchKey.length) }}</span>
|
||||
{{ node?.title?.substr(index + searchKey.length) }}
|
||||
</span>
|
||||
<a-typography-paragraph
|
||||
:ellipsis="{
|
||||
rows: 1,
|
||||
showTooltip: true,
|
||||
css: true,
|
||||
}"
|
||||
>
|
||||
<template v-if="index = getMatchIndex(node?.title), index < 0">{{ node?.title }}</template>
|
||||
<span v-else>{{ node?.title?.substr(0, index) }}
|
||||
<span style="color: rgb(var(--arcoblue-6));">{{ node?.title?.substr(index, searchKey.length) }}</span>
|
||||
{{ node?.title?.substr(index + searchKey.length) }}
|
||||
</span>
|
||||
</a-typography-paragraph>
|
||||
</template>
|
||||
</a-tree>
|
||||
</div>
|
||||
@@ -136,6 +144,9 @@ onMounted(() => {
|
||||
&:hover {
|
||||
background-color: rgba(var(--primary-6), 0.1);
|
||||
}
|
||||
.arco-typography {
|
||||
color: rgb(var(--primary-6));
|
||||
}
|
||||
}
|
||||
|
||||
.left-tree {
|
||||
|
Reference in New Issue
Block a user