From 4e10e1db04449d7eed59d82be8e24951a2590b75 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Tue, 29 Jul 2025 12:00:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=86=85=E5=AE=B9=E7=A8=BF=E4=BB=B6?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E3=80=81=E6=95=B4=E7=90=86=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/Basic.vue | 3 +- src/layouts/Page.vue | 5 +- .../modules/creativeGenerationWorkshop.ts | 41 +- src/router/typeings.d.ts | 1 + src/stores/modules/side-bar/constants.ts | 10 +- src/styles/lib/variable.scss | 3 + .../components/filter-block/index.vue | 0 .../manuscript-check-table/constants.ts | 0 .../delete-manuscript-modal.vue | 0 .../manuscript-check-table/index.vue | 0 .../manuscript-check-table/style.scss | 0 .../{manuscript-check => check}/constants.ts | 0 .../{manuscript-check => check}/index.vue | 0 .../{manuscript-check => check}/style.scss | 0 .../manuscript/detail/index.vue | 5 + .../manuscript/detail/style.scss | 3 + .../manuscript/edit/index.vue | 248 ++++++++++++ .../manuscript/edit/style.scss | 61 +++ .../components/filter-block/index.vue | 0 .../components/manuscript-table/constants.ts | 2 +- .../delete-manuscript-modal.vue | 0 .../components/manuscript-table/index.vue | 17 +- .../components/manuscript-table/style.scss | 0 .../upload-manascript-modal/index.vue | 352 ++++++++++++++++++ .../upload-manascript-modal/style.scss | 0 .../{manuscript-list => list}/constants.ts | 0 .../{manuscript-list => list}/index.vue | 2 +- .../{manuscript-list => list}/style.scss | 0 .../upload-manascript-modal/index.vue | 320 ---------------- 29 files changed, 730 insertions(+), 343 deletions(-) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/components/filter-block/index.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/components/manuscript-check-table/constants.ts (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/components/manuscript-check-table/delete-manuscript-modal.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/components/manuscript-check-table/index.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/components/manuscript-check-table/style.scss (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/constants.ts (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/index.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-check => check}/style.scss (100%) create mode 100644 src/views/creative-generation-workshop/manuscript/detail/index.vue create mode 100644 src/views/creative-generation-workshop/manuscript/detail/style.scss create mode 100644 src/views/creative-generation-workshop/manuscript/edit/index.vue create mode 100644 src/views/creative-generation-workshop/manuscript/edit/style.scss rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/filter-block/index.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/manuscript-table/constants.ts (98%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/manuscript-table/delete-manuscript-modal.vue (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/manuscript-table/index.vue (88%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/manuscript-table/style.scss (100%) create mode 100644 src/views/creative-generation-workshop/manuscript/list/components/upload-manascript-modal/index.vue rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/components/upload-manascript-modal/style.scss (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/constants.ts (100%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/index.vue (98%) rename src/views/creative-generation-workshop/manuscript/{manuscript-list => list}/style.scss (100%) delete mode 100644 src/views/creative-generation-workshop/manuscript/manuscript-list/components/upload-manascript-modal/index.vue diff --git a/src/layouts/Basic.vue b/src/layouts/Basic.vue index 8f3f10d..4dbdd0d 100644 --- a/src/layouts/Basic.vue +++ b/src/layouts/Basic.vue @@ -108,7 +108,6 @@ provide('toggleDrawerMenu', () => { diff --git a/src/views/creative-generation-workshop/manuscript/edit/style.scss b/src/views/creative-generation-workshop/manuscript/edit/style.scss new file mode 100644 index 0000000..1e7a19e --- /dev/null +++ b/src/views/creative-generation-workshop/manuscript/edit/style.scss @@ -0,0 +1,61 @@ +$footer-height: 68px; +.manuscript-edit-wrap { + height: calc(100% - 72px); + .cts { + color: #939499; + font-family: $font-family-regular; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 22px; + &.bold { + font-family: $font-family-medium; + } + } + .left { + .upload-box { + display: flex; + width: 100px; + height: 100px; + padding: 24px 16px; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 8px; + border: 1px dashed var(--Border-1, #d7d7d9); + background: var(--BG-200, #f2f3f5); + } + } + .right { + border-left: 1px solid var(--Border-2, #e6e6e8); + width: 320px; + flex-shrink: 0; + } + + .upload-box { + display: flex; + height: 120px; + padding: 0 16px; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 8px; + border: 1px dashed var(--Border-1, #d7d7d9); + background: var(--BG-200, #f2f3f5); + cursor: pointer; + transition: all 0.3s ease; + + &:hover { + border-color: var(--Primary-6, #6D4CFE); + background: var(--Primary-1, #f0f0ff); + } + } +} +.footer-row { + position: fixed; + bottom: 0; + left: $sidebar-width; + width: calc(100% - $sidebar-width); + border-top: 1px solid #e6e6e8; + height: $footer-height; +} diff --git a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue similarity index 100% rename from src/views/creative-generation-workshop/manuscript/manuscript-list/components/filter-block/index.vue rename to src/views/creative-generation-workshop/manuscript/list/components/filter-block/index.vue diff --git a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/constants.ts b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts similarity index 98% rename from src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/constants.ts rename to src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts index dd2cdc4..bcd236d 100644 --- a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/constants.ts +++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts @@ -62,7 +62,7 @@ export const TABLE_COLUMNS = [ { title: '操作', dataIndex: 'operation', - width: 160, + width: 180, fixed: 'right' }, ]; diff --git a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue similarity index 100% rename from src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/delete-manuscript-modal.vue rename to src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/delete-manuscript-modal.vue diff --git a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue similarity index 88% rename from src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/index.vue rename to src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue index 7e30b4c..866537e 100644 --- a/src/views/creative-generation-workshop/manuscript/manuscript-list/components/manuscript-table/index.vue +++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue @@ -56,10 +56,17 @@