diff --git a/bs-ui/src/api/system/file.js b/bs-ui/src/api/system/file.js index e69de29..8fca007 100644 --- a/bs-ui/src/api/system/file.js +++ b/bs-ui/src/api/system/file.js @@ -0,0 +1,18 @@ +import request from '@/utils/request' + +// 编辑 +export function update(data) { + return request({ + url: '/common/editFile', + method: 'put', + data + }) +} + +export function fileDownload(attachId) { + return request({ + url: `/file/download/${attachId}`, + method: "get", + responseType: "blob", + }); +} \ No newline at end of file diff --git a/bs-ui/src/assets/logo/logo.png b/bs-ui/src/assets/logo/logo.png index e263760..a58da9b 100644 Binary files a/bs-ui/src/assets/logo/logo.png and b/bs-ui/src/assets/logo/logo.png differ diff --git a/bs-ui/src/components/FileGroupUpload/index.vue b/bs-ui/src/components/FileGroupUpload/index.vue new file mode 100644 index 0000000..0b9cf60 --- /dev/null +++ b/bs-ui/src/components/FileGroupUpload/index.vue @@ -0,0 +1,320 @@ + + + + + diff --git a/bs-ui/src/components/MyImageViewer/index.vue b/bs-ui/src/components/MyImageViewer/index.vue index b100002..fd7c0b4 100644 --- a/bs-ui/src/components/MyImageViewer/index.vue +++ b/bs-ui/src/components/MyImageViewer/index.vue @@ -4,7 +4,7 @@ @@ -35,12 +62,18 @@ export default { .info-title { font-size: 18px; + margin-top: 5px; + } + + .info-subtitle { + font-size: 14px; + color: #999999; } .info-date { margin-top: 2px; font-size: 15px; - color: #666666; + color: #999999; } diff --git a/bs-ui/src/views/gallery/list/index.vue b/bs-ui/src/views/gallery/list/index.vue index 9ae1205..ff3078c 100644 --- a/bs-ui/src/views/gallery/list/index.vue +++ b/bs-ui/src/views/gallery/list/index.vue @@ -1,10 +1,15 @@ \ No newline at end of file diff --git a/bs-ui/src/views/index.vue b/bs-ui/src/views/index.vue index 7fe35dd..cc03819 100644 --- a/bs-ui/src/views/index.vue +++ b/bs-ui/src/views/index.vue @@ -1,29 +1,142 @@ @@ -32,6 +145,42 @@ export default { .app-container { display: flex; + .index-flex { + display: flex; + padding: 5px; + height: 50%; + } + + .cata-name { + display: flex; + align-items: center; + justify-content: center; + font-size: 20px; + font-weight: 500; + height: 100%; + width: 120px; + padding: 10px; + } + + .image-border { + border-radius: 6px; + overflow: hidden; + } + + .single-image { + flex: 1; + height: 100%; + background: #f5f5f5; + object-fit: cover; + } + + .double-image { + flex: 1; + height: 100%; + background: #f5f5f5; + object-fit: cover; + } + .left-container { width: 400px; diff --git a/bs-ui/src/views/index_v1.vue b/bs-ui/src/views/index_v1.vue new file mode 100644 index 0000000..b9d16bf --- /dev/null +++ b/bs-ui/src/views/index_v1.vue @@ -0,0 +1,98 @@ + + + + +