bulk-operations v0.1 mobileSeleting finished, change FileFullPreview code

This commit is contained in:
Milos Holba
2020-11-16 17:57:43 +01:00
parent 26132e23a3
commit 9d9e07d0fa
19 changed files with 438 additions and 143 deletions

View File

@@ -8,7 +8,7 @@
<div
class="files-container"
ref="fileContainer"
:class="{'is-fileinfo-visible': fileInfoVisible && !$isMinimalScale() }"
:class="{'is-fileinfo-visible': fileInfoVisible && !$isMinimalScale() , 'mobile-multi-select' : mobileMultiSelect}"
@click.self="filesContainerClick"
>
<!--MobileToolbar-->
@@ -135,6 +135,7 @@
return {
draggingId: undefined,
isDragging: false,
mobileMultiSelect: false
}
},
methods: {
@@ -191,6 +192,14 @@
}
},
created() {
events.$on('mobileSelecting-start' , () => {
this.mobileMultiSelect =true
})
events.$on('mobileSelecting-stop' , () => {
this.mobileMultiSelect = false
})
events.$on('fileItem:deselect', () =>
this.$store.commit('CLEAR_FILEINFO_DETAIL')
)
@@ -216,6 +225,10 @@
@import '@assets/vue-file-manager/_variables';
@import '@assets/vue-file-manager/_mixins';
.mobile-multi-select {
bottom: 50px !important;
}
.button-upload {
display: block;
text-align: center;