From f62cbf494186d53debfeb33637d634c60fa18234 Mon Sep 17 00:00:00 2001 From: Alexandre_BRAVO Date: Thu, 28 Nov 2024 18:19:24 +0100 Subject: [PATCH] ajout favoris et probleme dragend resolu --- src/App.vue | 16 +- src/components/FileTable.vue | 442 +++++++++++++++++----------- src/components/WebContentViewer.vue | 6 +- src/output.css | 59 ++++ 4 files changed, 347 insertions(+), 176 deletions(-) diff --git a/src/App.vue b/src/App.vue index 197896f..b4684a3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,12 +5,12 @@
- +
- +
@@ -29,16 +29,20 @@ export default { }, data() { return { - sharedFile: null, - zip: null, + sharedFile: null, + zip: null, + dragEnded: false, }; }, methods: { handleFileUpload(file) { - this.sharedFile = file; + this.sharedFile = file; }, handleZipUpload(zip) { - this.zip = zip; + this.zip = zip; + }, + toggleDragEnded(){ + this.dragEnded = !this.dragEnded; }, }, } diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index bb03fc1..9de2967 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -1,135 +1,154 @@ @@ -137,7 +156,7 @@