diff --git a/src/components/_base/navbar/components/download-center-modal/constants.ts b/src/components/_base/navbar/components/download-center-modal/components/export-task/constants.ts similarity index 100% rename from src/components/_base/navbar/components/download-center-modal/constants.ts rename to src/components/_base/navbar/components/download-center-modal/components/export-task/constants.ts diff --git a/src/components/_base/navbar/components/download-center-modal/delete-task-modal.vue b/src/components/_base/navbar/components/download-center-modal/components/export-task/delete-task-modal.vue similarity index 100% rename from src/components/_base/navbar/components/download-center-modal/delete-task-modal.vue rename to src/components/_base/navbar/components/download-center-modal/components/export-task/delete-task-modal.vue diff --git a/src/components/_base/navbar/components/download-center-modal/components/export-task/index.vue b/src/components/_base/navbar/components/download-center-modal/components/export-task/index.vue new file mode 100644 index 0000000..55aec92 --- /dev/null +++ b/src/components/_base/navbar/components/download-center-modal/components/export-task/index.vue @@ -0,0 +1,314 @@ + + + + + diff --git a/src/components/_base/navbar/components/download-center-modal/components/export-task/style.scss b/src/components/_base/navbar/components/download-center-modal/components/export-task/style.scss new file mode 100644 index 0000000..180bfb0 --- /dev/null +++ b/src/components/_base/navbar/components/download-center-modal/components/export-task/style.scss @@ -0,0 +1,50 @@ +.export-task-wrap { + .tip-row { + border-radius: 2px; + background: #f0edff; + .label { + font-family: $font-family-medium; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 22px; + } + &.normal { + background: #ebf7f2; + .label { + color: #211f24; + } + } + &.abnormal { + background: #ffe7e4; + .label { + color: #211f24; + } + } + .err-btn { + background-color: #f64b31 !important; + color: var(--BG-white, #fff); + font-family: 'PingFang SC'; + font-size: 12px; + font-style: normal; + font-weight: 400; + line-height: 20px; + } + .operation-btn { + padding: 0; + cursor: pointer; + color: var(--Brand-Brand-6, #6d4cfe); + font-family: $font-family-regular; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 22px; + &:not(:last-child) { + margin-right: 16px; + } + &.red { + color: #f64b31; + } + } + } +} diff --git a/src/components/_base/navbar/components/download-center-modal/index.vue b/src/components/_base/navbar/components/download-center-modal/index.vue index 1b82ad6..f4046b4 100644 --- a/src/components/_base/navbar/components/download-center-modal/index.vue +++ b/src/components/_base/navbar/components/download-center-modal/index.vue @@ -1,271 +1,29 @@ diff --git a/src/components/_base/navbar/components/download-center-modal/style.scss b/src/components/_base/navbar/components/download-center-modal/style.scss index d2e5be6..c6e9698 100644 --- a/src/components/_base/navbar/components/download-center-modal/style.scss +++ b/src/components/_base/navbar/components/download-center-modal/style.scss @@ -1,18 +1,4 @@ .download-center-modal { - .arco-input-wrapper, - .arco-select-view-single, - .arco-select-view-multiple { - border-radius: 4px; - border-color: #d7d7d9; - background-color: #fff; - &:focus-within, - &.arco-input-focus, - &.arco-textarea-focus { - background-color: var(--color-bg-2); - border-color: rgb(var(--primary-6)); - box-shadow: 0 0 0 0 var(--color-primary-light-2); - } - } .arco-modal-header { .arco-modal-title { color: var(--Text-1, #211f24); @@ -25,84 +11,35 @@ } .arco-modal-body { height: 536px; - padding: 24px 20px 40px; - .filter-row { - .filter-row-item { - &:not(:last-child) { - margin-right: 24px; - } - .label { - margin-right: 12px; - color: #211f24; - font-family: 'PuHuiTi-Regular'; - font-size: 14px; - font-style: normal; - font-weight: 400; - flex-shrink: 0; - line-height: 22px; /* 157.143% */ - } - :deep(.arco-space-item) { - width: 100%; - } + display: flex; + flex-direction: column; + } + .filter-row { + .filter-row-item { + &:not(:last-child) { + margin-right: 24px; } - } - .tip-row { - border-radius: 2px; - background: #f0edff; .label { - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; - } - &.normal { - background: #ebf7f2; - .label { - color: #211f24; - } - } - &.abnormal { - background: #ffe7e4; - .label { - color: #211f24; - } - } - .err-btn { - background-color: #f64b31 !important; - color: var(--BG-white, #fff); - font-family: 'PingFang SC'; - font-size: 12px; - font-style: normal; - font-weight: 400; - line-height: 20px; /* 166.667% */ - } - .operation-btn { - padding: 0; - cursor: pointer; - color: var(--Brand-Brand-6, #6d4cfe); - font-family: $font-family-regular; + margin-right: 12px; + color: #211f24; + font-family: 'PuHuiTi-Regular'; font-size: 14px; font-style: normal; font-weight: 400; + flex-shrink: 0; line-height: 22px; /* 157.143% */ - &:not(:last-child) { - margin-right: 16px; - } - &.red { - color: #F64B31; - } } - } - .file-table { - .cts { - color: var(--Text-1, #211f24); - font-family: $font-family-medium; - font-size: 14px; - font-style: normal; - font-weight: 400; - line-height: 22px; + :deep(.arco-space-item) { + width: 100%; } } } + .cts { + color: var(--Text-1, #211f24); + font-family: $font-family-medium; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 22px; + } } diff --git a/src/hooks/useTableSelectionWithPagination.ts b/src/hooks/useTableSelectionWithPagination.ts index ac13d17..b51a7a0 100644 --- a/src/hooks/useTableSelectionWithPagination.ts +++ b/src/hooks/useTableSelectionWithPagination.ts @@ -71,6 +71,7 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa const rowSelection = computed(() => ({ type: 'checkbox', showCheckedAll: true, + width: 48, })); return { diff --git a/src/views/property-marketing/put-account/account-manage/components/select-sub-account-modal/index.vue b/src/views/property-marketing/put-account/account-manage/components/select-sub-account-modal/index.vue index 032f9d4..e3762c9 100644 --- a/src/views/property-marketing/put-account/account-manage/components/select-sub-account-modal/index.vue +++ b/src/views/property-marketing/put-account/account-manage/components/select-sub-account-modal/index.vue @@ -100,7 +100,7 @@