mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-02 10:59:42 +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>
|
<div ref="icon" class="general-operation-icon"></div>
|
||||||
<EDropdownMenu ref="dropdownMenu" slot="dropdown" class="general-operation-more-dropdown menu-dropdown">
|
<EDropdownMenu ref="dropdownMenu" slot="dropdown" class="general-operation-more-dropdown menu-dropdown">
|
||||||
<li class="general-operation-more-warp small">
|
<li class="general-operation-more-warp small">
|
||||||
<ul class="operation-ul" :style="ulStyle">
|
<ul :style="ulStyle">
|
||||||
<EDropdownItem
|
<EDropdownItem
|
||||||
v-for="(item, key) in list"
|
v-for="(item, key) in list"
|
||||||
:key="key"
|
:key="key"
|
||||||
:command="item.value"
|
:command="item.value"
|
||||||
:divided="!!item.divided"
|
:divided="!!item.divided"
|
||||||
:disabled="active === item.value || !!item.disabled">
|
:disabled="active === item.value || !!item.disabled">
|
||||||
<div class="item">{{item.label}}</div>
|
<div class="item-box">
|
||||||
<div v-if="tickShow" class="tick">
|
<div class="item">{{item.label}}</div>
|
||||||
<i v-if="active === item.value && !item.disabled" class="taskfont"></i>
|
<div v-if="tickShow" class="tick">
|
||||||
|
<i v-if="active === item.value && !item.disabled" class="taskfont"></i>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</EDropdownItem>
|
</EDropdownItem>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -1474,14 +1474,14 @@ export default {
|
|||||||
// 语音转文字
|
// 语音转文字
|
||||||
list.unshift(...[
|
list.unshift(...[
|
||||||
{label: '选择识别语言', value: '', disabled: true},
|
{label: '选择识别语言', value: '', disabled: true},
|
||||||
{label: '自动识别', value: ''},
|
{label: '自动识别', value: '', divided: true},
|
||||||
])
|
])
|
||||||
active = this.cacheTranscriptionLanguage
|
active = this.cacheTranscriptionLanguage
|
||||||
} else {
|
} else {
|
||||||
// 翻译
|
// 翻译
|
||||||
list.unshift(...[
|
list.unshift(...[
|
||||||
{label: '选择翻译结果', value: '', disabled: true},
|
{label: '选择翻译结果', value: '', disabled: true},
|
||||||
{label: '不翻译结果', value: ''},
|
{label: '不翻译结果', value: '', divided: true},
|
||||||
])
|
])
|
||||||
active = this.recordConvertTranslate
|
active = this.recordConvertTranslate
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,15 +31,26 @@
|
|||||||
display: none
|
display: none
|
||||||
}
|
}
|
||||||
|
|
||||||
&.operation-ul {
|
> li {
|
||||||
> li {
|
.item-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
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 {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
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 {
|
.flow {
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user