mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 13:08:13 +00:00
no message
This commit is contained in:
parent
277a751ed4
commit
0ff1ac7743
@ -11,16 +11,18 @@
|
||||
<div ref="icon" class="general-operation-icon"></div>
|
||||
<EDropdownMenu ref="dropdownMenu" slot="dropdown" class="general-operation-more-dropdown menu-dropdown">
|
||||
<li class="general-operation-more-warp small">
|
||||
<ul class="operation-ul" :style="ulStyle">
|
||||
<ul :style="ulStyle">
|
||||
<EDropdownItem
|
||||
v-for="(item, key) in list"
|
||||
:key="key"
|
||||
:command="item.value"
|
||||
:divided="!!item.divided"
|
||||
:disabled="active === item.value || !!item.disabled">
|
||||
<div class="item">{{item.label}}</div>
|
||||
<div v-if="tickShow" class="tick">
|
||||
<i v-if="active === item.value && !item.disabled" class="taskfont"></i>
|
||||
<div class="item-box">
|
||||
<div class="item">{{item.label}}</div>
|
||||
<div v-if="tickShow" class="tick">
|
||||
<i v-if="active === item.value && !item.disabled" class="taskfont"></i>
|
||||
</div>
|
||||
</div>
|
||||
</EDropdownItem>
|
||||
</ul>
|
||||
|
||||
@ -1474,14 +1474,14 @@ export default {
|
||||
// 语音转文字
|
||||
list.unshift(...[
|
||||
{label: '选择识别语言', value: '', disabled: true},
|
||||
{label: '自动识别', value: ''},
|
||||
{label: '自动识别', value: '', divided: true},
|
||||
])
|
||||
active = this.cacheTranscriptionLanguage
|
||||
} else {
|
||||
// 翻译
|
||||
list.unshift(...[
|
||||
{label: '选择翻译结果', value: '', disabled: true},
|
||||
{label: '不翻译结果', value: ''},
|
||||
{label: '不翻译结果', value: '', divided: true},
|
||||
])
|
||||
active = this.recordConvertTranslate
|
||||
}
|
||||
|
||||
@ -31,15 +31,26 @@
|
||||
display: none
|
||||
}
|
||||
|
||||
&.operation-ul {
|
||||
> li {
|
||||
> li {
|
||||
.item-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
> li {
|
||||
.tick {
|
||||
color: $primary-color;
|
||||
transform: translateX(40%);
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
text-align: right;
|
||||
margin-left: 6px;
|
||||
|
||||
> i {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -71,18 +82,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tick {
|
||||
color: $primary-color;
|
||||
transform: translateX(40%);
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
text-align: right;
|
||||
margin-left: 6px;
|
||||
> i {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.flow {
|
||||
padding: 4px 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user