no message

This commit is contained in:
kuaifan 2025-09-23 13:13:52 +08:00
parent 8ddc507bd5
commit 0f71abdac3
8 changed files with 8 additions and 2 deletions

View File

@ -48,8 +48,8 @@
<template v-if="task.parent_id === 0">
<template v-if="operationShow">
<EDropdownItem command="favorite" :divided="turns.length > 0">
<div class="item">
<i class="taskfont movefont" v-html="isFavorited ? '&#xe683;' : '&#xe679;'"></i>{{$L(isFavorited ? '取消收藏' : '收藏')}}
<div class="item" :class="{favorited: isFavorited}">
<i class="taskfont movefont">&#xe683;</i>{{$L(isFavorited ? '取消收藏' : '收藏')}}
</div>
</EDropdownItem>
<EDropdownItem command="send">

View File

@ -61,6 +61,12 @@
text-overflow: ellipsis;
white-space: nowrap;
&.favorited {
> i {
color: #faad14;
}
}
.item-prefix {
display: flex;
align-items: center;