diff --git a/upload-file-frontend/jsconfig.json b/upload-file-frontend/jsconfig.json index 4aafc5f..5a4c3d5 100644 --- a/upload-file-frontend/jsconfig.json +++ b/upload-file-frontend/jsconfig.json @@ -15,5 +15,8 @@ "dom.iterable", "scripthost" ] - } -} + }, + "include": [ + "src/**/*" + ] +} \ No newline at end of file diff --git a/upload-file-frontend/src/components/AboutModal/AboutModal.vue b/upload-file-frontend/src/components/AboutModal/AboutModal.vue new file mode 100644 index 0000000..d27934f --- /dev/null +++ b/upload-file-frontend/src/components/AboutModal/AboutModal.vue @@ -0,0 +1,59 @@ + + + + 关于 + 这个人很懒,什么都没有留下,只说自己爱吃炸排骨。。。 + + + + + + + \ No newline at end of file diff --git a/upload-file-frontend/src/components/FileGallery/FileGallery.vue b/upload-file-frontend/src/components/FileGallery/FileGallery.vue new file mode 100644 index 0000000..f09de79 --- /dev/null +++ b/upload-file-frontend/src/components/FileGallery/FileGallery.vue @@ -0,0 +1,488 @@ + + + + 存储类型: + + + {{ option.label }} + + + 文件名: + + + + 🖼️ 暂无已上传的文件 + + + 加载中... + + + + + + + ▶ + + + 📜 + + 📄 + 📋 + + + {{ file.fileName }} + + {{ formatSize(file.totalSize) }} + {{ formattedDate(file.createTime) }} + + + + + 加载更多... + + + + + + ✖ + + + + + + ✖ + + + + + + + 加载 PDF 中... + + + ✖ + + + + + + + + \ No newline at end of file diff --git a/upload-file-frontend/src/components/HelloWorld.vue b/upload-file-frontend/src/components/HelloWorld.vue deleted file mode 100644 index 8c5434a..0000000 --- a/upload-file-frontend/src/components/HelloWorld.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - {{ msg }} - - For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. - - Installed CLI Plugins - - babel - router - vuex - eslint - - Essential Links - - Core Docs - Forum - Community Chat - Twitter - News - - Ecosystem - - vue-router - vuex - vue-devtools - vue-loader - awesome-vue - - - - - - - - diff --git a/upload-file-frontend/src/components/SettingsModal/SettingsModal.vue b/upload-file-frontend/src/components/SettingsModal/SettingsModal.vue new file mode 100644 index 0000000..dd40284 --- /dev/null +++ b/upload-file-frontend/src/components/SettingsModal/SettingsModal.vue @@ -0,0 +1,133 @@ + + + + 上传设置 + + + 允许上传的文件格式(用英文逗号分隔,例如 .jpg,.png): + + + + 最大上传大小(MB): + + + + 保存 + 取消 + + + + + + + + + \ No newline at end of file diff --git a/upload-file-frontend/src/components/StorageConfigModal/StorageConfigModal.vue b/upload-file-frontend/src/components/StorageConfigModal/StorageConfigModal.vue new file mode 100644 index 0000000..cb9d1bf --- /dev/null +++ b/upload-file-frontend/src/components/StorageConfigModal/StorageConfigModal.vue @@ -0,0 +1,174 @@ + + + + 存储系统配置 + + 存储类型: + + + {{ option.label }} + + + + + Endpoint: + + + + Access Key: + + + + Secret Key: + + + + Bucket: + + + + 保存 + 取消 + + + + + + + + \ No newline at end of file diff --git a/upload-file-frontend/src/router/index.js b/upload-file-frontend/src/router/index.js index 8bc1c94..a39b57f 100644 --- a/upload-file-frontend/src/router/index.js +++ b/upload-file-frontend/src/router/index.js @@ -1,6 +1,7 @@ import Vue from 'vue' import VueRouter from 'vue-router' -import FileUpload from '@/views/FileUpload.vue'; +// import FileUpload from '@/views/FileUpload.vue'; +import MainPage from '@/views/MainPage.vue'; Vue.use(VueRouter) @@ -8,7 +9,7 @@ const routes = [ { path: '/', name: 'home', - component: FileUpload + component: MainPage } ] diff --git a/upload-file-frontend/src/views/AboutView.vue b/upload-file-frontend/src/views/AboutView.vue deleted file mode 100644 index 3fa2807..0000000 --- a/upload-file-frontend/src/views/AboutView.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - This is an about page - - diff --git a/upload-file-frontend/src/views/FileUpload.vue b/upload-file-frontend/src/views/FileUpload.vue deleted file mode 100644 index 1f00925..0000000 --- a/upload-file-frontend/src/views/FileUpload.vue +++ /dev/null @@ -1,1367 +0,0 @@ - - - - - - - ☁️ - 文件上传中心 - - - ☰ - - 上传设置 - 存储配置 - 关于 - - - - - - - - {{ tab.label }} - - - - - - - - - - - - - 🚧 - 功能建设中 - 正在加班加点搬砖中,敬请期待! - 七牛云功能正在被疯狂调教,马上就能和大家见面啦! - - - - - - - 存储类型: - - - {{ option.label }} - - - - 文件名: - - - - 🖼️ 暂无已上传的文件 - - - 加载中... - - - - - - - - - ▶ - - - - 📜 - - - - 📄 - - - 📋 - - - - {{ file.fileName }} - - {{ formatSize(file.totalSize) }} - {{ formattedDate(file.createTime) }} - - - - - - 加载更多... - - - - - - - 上传设置 - - - 允许上传的文件格式(用英文逗号分隔,例如 .jpg,.png): - - - - 最大上传大小(MB): - - - - 保存 - 取消 - - - - - - - - - 关于 - 这个人很懒,什么都没有留下,只说自己爱吃炸排骨。。。 - - - - - - - - ✖ - - - - - - - - ✖ - - - - - - - - - - 加载 PDF 中... - - - - ✖ - - - - - - - 存储系统配置 - - - - 存储类型: - - - {{ option.label }} - - - - - - Endpoint: - - - - Access Key: - - - - Secret Key: - - - - Bucket: - - - - - - 保存 - 取消 - - - - - - - - - - \ No newline at end of file diff --git a/upload-file-frontend/src/views/HomeView.vue b/upload-file-frontend/src/views/HomeView.vue deleted file mode 100644 index e8d96d7..0000000 --- a/upload-file-frontend/src/views/HomeView.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - diff --git a/upload-file-frontend/src/views/MainPage.vue b/upload-file-frontend/src/views/MainPage.vue new file mode 100644 index 0000000..5d9c95a --- /dev/null +++ b/upload-file-frontend/src/views/MainPage.vue @@ -0,0 +1,263 @@ + + + + + + ☁️ + 文件上传中心 + + + ☰ + + 上传设置 + 存储配置 + 关于 + + + + + + {{ tab.label }} + + + + + + + + + 🚧 + 功能建设中 + 正在加班加点搬砖中,敬请期待! + 七牛云功能正在被疯狂调教,马上就能和大家见面啦! + + + + + + + + + + + + + \ No newline at end of file
这个人很懒,什么都没有留下,只说自己爱吃炸排骨。。。
加载 PDF 中...
- For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. -
正在加班加点搬砖中,敬请期待!
七牛云功能正在被疯狂调教,马上就能和大家见面啦!