mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 03:27:54 +08:00
fix: add exit action for drag sort mode
This commit is contained in:
@@ -76,6 +76,7 @@ export default {
|
|||||||
clearCache: 'Clear Cache',
|
clearCache: 'Clear Cache',
|
||||||
sortMode: 'Sort Mode',
|
sortMode: 'Sort Mode',
|
||||||
sortModeHint: 'Drag sorting mode is active',
|
sortModeHint: 'Drag sorting mode is active',
|
||||||
|
exit: 'Exit',
|
||||||
},
|
},
|
||||||
mediaType: {
|
mediaType: {
|
||||||
movie: 'Movie',
|
movie: 'Movie',
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ export default {
|
|||||||
clearCache: '清除缓存',
|
clearCache: '清除缓存',
|
||||||
sortMode: '排序模式',
|
sortMode: '排序模式',
|
||||||
sortModeHint: '已进入拖拽排序模式',
|
sortModeHint: '已进入拖拽排序模式',
|
||||||
|
exit: '退出',
|
||||||
},
|
},
|
||||||
mediaType: {
|
mediaType: {
|
||||||
movie: '电影',
|
movie: '电影',
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ export default {
|
|||||||
clearCache: '清除快取',
|
clearCache: '清除快取',
|
||||||
sortMode: '排序模式',
|
sortMode: '排序模式',
|
||||||
sortModeHint: '已進入拖拽排序模式',
|
sortModeHint: '已進入拖拽排序模式',
|
||||||
|
exit: '退出',
|
||||||
},
|
},
|
||||||
mediaType: {
|
mediaType: {
|
||||||
movie: '電影',
|
movie: '電影',
|
||||||
|
|||||||
@@ -1523,7 +1523,12 @@ function onDragStartPlugin(evt: any) {
|
|||||||
<VPageContentTitle v-if="installedFilter" :title="t('plugin.filter', { name: installedFilter })" />
|
<VPageContentTitle v-if="installedFilter" :title="t('plugin.filter', { name: installedFilter })" />
|
||||||
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
||||||
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4">
|
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4">
|
||||||
{{ t('common.sortModeHint') }}
|
<div class="d-flex flex-wrap align-center justify-space-between gap-2">
|
||||||
|
<span>{{ t('common.sortModeHint') }}</span>
|
||||||
|
<VBtn size="small" variant="text" color="warning" @click="sortMode = false">
|
||||||
|
{{ t('common.exit') }}
|
||||||
|
</VBtn>
|
||||||
|
</div>
|
||||||
</VAlert>
|
</VAlert>
|
||||||
|
|
||||||
<!-- 文件夹和插件网格 -->
|
<!-- 文件夹和插件网格 -->
|
||||||
|
|||||||
@@ -396,7 +396,12 @@ useDynamicButton({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4">
|
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4">
|
||||||
{{ t('common.sortModeHint') }}
|
<div class="d-flex flex-wrap align-center justify-space-between gap-2">
|
||||||
|
<span>{{ t('common.sortModeHint') }}</span>
|
||||||
|
<VBtn size="small" variant="text" color="warning" @click="sortMode = false">
|
||||||
|
{{ t('common.exit') }}
|
||||||
|
</VBtn>
|
||||||
|
</div>
|
||||||
</VAlert>
|
</VAlert>
|
||||||
|
|
||||||
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
||||||
|
|||||||
@@ -484,7 +484,12 @@ defineExpose({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4 mx-2">
|
<VAlert v-if="sortMode" color="warning" variant="tonal" class="mb-4 mx-2">
|
||||||
{{ t('common.sortModeHint') }}
|
<div class="d-flex flex-wrap align-center justify-space-between gap-2">
|
||||||
|
<span>{{ t('common.sortModeHint') }}</span>
|
||||||
|
<VBtn size="small" variant="text" color="warning" @click="sortMode = false">
|
||||||
|
{{ t('common.exit') }}
|
||||||
|
</VBtn>
|
||||||
|
</div>
|
||||||
</VAlert>
|
</VAlert>
|
||||||
|
|
||||||
<draggable
|
<draggable
|
||||||
|
|||||||
Reference in New Issue
Block a user