@@ -61,7 +61,7 @@
.h-right {
position: absolute;
right: 0;
- top: 0;
+ bottom: 6px;
}
@@ -103,10 +103,6 @@
display: flex;
align-items: center;
gap: 10px;
- &:hover {
- background: rgba(#000, 0.1);
- border-radius: 8px;
- }
&::before {
width: 4px;
height: 18px;
@@ -1,6 +1,9 @@
<template>
<a-space>
- <a-tag v-for="(tag, idx) in dicts" :key="idx" :color="tag.dictStyle || 'default'">{{ tag.valueName }}</a-tag>
+ <div v-for="(tag, idx) in dicts" :key="idx">
+ <a-tag v-if="tag.dictStyle && tag.dictStyle !== 'default'" :color="tag.dictStyle">{{ tag.valueName }}</a-tag>
+ <div v-else>{{ tag.valueName }}</div>
+ </div>
</a-space>
</template>
@@ -30,7 +30,7 @@ const BsUi = {
app.component('BsEllipsisText', BsEllipsisText);
app.component('BsDicTag', BsDicTag);
app.component('BsLink', BsLink);
- app.component('BsCatalog', BsCatalog)
+ app.component('BsCatalog', BsCatalog);
},
};