From df1da882be3deea6015047705f78075fa2997445 Mon Sep 17 00:00:00 2001 From: anko9801 Date: Wed, 18 Sep 2024 18:21:51 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E3=83=95=E3=82=A1=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=81=AE=E8=A1=A8=E7=A4=BA=E9=83=A8=E5=88=86=E3=82=92?= =?UTF-8?q?=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../requestDetail/RequestContent.vue | 82 ++++++++++++++++++- src/pages/RequestDetailPage.vue | 2 +- 2 files changed, 80 insertions(+), 4 deletions(-) diff --git a/src/components/requestDetail/RequestContent.vue b/src/components/requestDetail/RequestContent.vue index be8b81fa..5455dfaf 100644 --- a/src/components/requestDetail/RequestContent.vue +++ b/src/components/requestDetail/RequestContent.vue @@ -50,6 +50,41 @@ const handleUpdateContent = async () => { } isEditMode.value = false } + +const files = [ + { + name: 'oisu-.png', + url: 'https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80', + alt: 'tailwind sample' + }, + { + name: 'oisu-.png', + url: 'https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80', + alt: 'tailwind sample' + }, + { + name: 'oisu-.png', + url: 'https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80', + alt: 'tailwind sample' + }, + { + name: 'oisu-.png', + url: 'https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80', + alt: 'tailwind sample' + }, + { + name: 'oisu-.png', + url: 'https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1024&h=1280&q=80', + alt: 'tailwind sample' + } +] +const handleFileUpload = async () => { + try { + toast.success('ファイルを追加しました') + } catch { + toast.error('ファイルの追加に失敗しました') + } +}