fix: 2596 【AI一键查重--高级筛选】下拉高级筛选数据与RP设计图中字体颜色不一致,RP中对星号要求#666666,对文字要求#333333

pull/1/head
lizijiee 2 years ago
parent 6c0cc9e6f0
commit 6390bd01fa

@ -124,7 +124,7 @@ function generateFilterEntityList(data) {
const reg = new RegExp(keyword.value, "gi"); const reg = new RegExp(keyword.value, "gi");
const hilightText = searchname.replace( const hilightText = searchname.replace(
reg, reg,
`<span style='color:#FF0000'>${keyword.value}</span>` `<span>${keyword.value}</span>`
); );
return { return {
@ -276,7 +276,7 @@ const moveEnd = () => {
style="margin-right:3px" style="margin-right:3px"
@click="favoriteHandler($event, item)" @click="favoriteHandler($event, item)"
/> />
<div v-html="item.name" /> <div v-html="item.name" style="color: #333333;"/>
</li> </li>
<!-- filter=".draggable-li[draggable='false']" --> <!-- filter=".draggable-li[draggable='false']" -->
<VueDraggable <VueDraggable
@ -300,17 +300,19 @@ const moveEnd = () => {
name="favorite-fill" name="favorite-fill"
color="#fd9b0a" color="#fd9b0a"
size="18" size="18"
style="cursor: pointer!important;margin-right:3px" fill="#666666"
style="cursor: pointer!important;margin-right:3px;"
@click="unFavoriteHandler($event, item)" @click="unFavoriteHandler($event, item)"
/> />
<SvgIcon <SvgIcon
v-else-if="!item.favorite && !item.isDefaultFilter" v-else-if="!item.favorite && !item.isDefaultFilter"
name="favorite-unfill" name="favorite-unfill"
size="18" size="18"
style="cursor: pointer!important;margin-right:3px" fill="#666666"
style="cursor: pointer!important;margin-right:3px;"
@click="favoriteHandler($event, item)" @click="favoriteHandler($event, item)"
/> />
<div v-html="item.name" /> <div v-html="item.name" style="color: #333333;"/>
</li> </li>
</VueDraggable> </VueDraggable>
</ul> </ul>

Loading…
Cancel
Save