diff --git a/src/main.ts b/src/main.ts index a34ec51..7528cf6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -24,6 +24,7 @@ const app = createApp(App); app.component('NoData', NoData); app.component('SvgIcon', SvgIcon); +(Object.keys(directives) as Array).forEach((k) => app.use(directives[k])); // 注册指令 app.use(store); app.use(router); diff --git a/src/styles/components/table.scss b/src/styles/components/table.scss index 9c53cc5..fed1e7f 100644 --- a/src/styles/components/table.scss +++ b/src/styles/components/table.scss @@ -22,6 +22,18 @@ @include table-cell-text; font-family: 'PingFangSC-Medium'; } + .arco-table-sorter { + .arco-table-sorter-icon { + .arco-icon { + color: #939499; + } + &-active { + .arco-icon { + color: $color-primary; + } + } + } + } } } } @@ -40,5 +52,15 @@ } } } + .arco-scrollbar { + display: flex; + flex-direction: column; + .arco-table-element { + height: 100%; + } + .arco-scrollbar-container{ + flex: 1; + } + } } } diff --git a/src/utils/tools.ts b/src/utils/tools.ts index bf1c356..5fb92f7 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -516,4 +516,4 @@ function medianCut(data: Uint8ClampedArray, levels: number): any[] { } return colorGroups; -} \ No newline at end of file +} diff --git a/src/views/agent/work-flow/components/DynamicForm.vue b/src/views/agent/work-flow/components/DynamicForm.vue index f1fd9fe..6b6d239 100644 --- a/src/views/agent/work-flow/components/DynamicForm.vue +++ b/src/views/agent/work-flow/components/DynamicForm.vue @@ -21,9 +21,7 @@ v-model="formData[field.props.name]" :placeholder="field?.props?.placeholder" /> - + {{ diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/style.scss b/src/views/creative-generation-workshop/manuscript-writer/list/style.scss index 64d8310..fbb2fb8 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/list/style.scss +++ b/src/views/creative-generation-workshop/manuscript-writer/list/style.scss @@ -1,5 +1,5 @@ .manuscript-list-wrap { - height: 100%; + // height: 100%; display: flex; flex-direction: column; .filter-wrap { @@ -21,7 +21,7 @@ .pagination-box { display: flex; width: 100%; - padding: 16px 24px; + padding: 16px 24px 0; justify-content: flex-end; align-items: center; } diff --git a/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue b/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue index ec9e755..0eb6ae1 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue +++ b/src/views/creative-generation-workshop/manuscript-writer/upload/index.vue @@ -277,7 +277,7 @@ export default { onClick={(e) => onDelete(e, item, index)} /> diff --git a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts b/src/views/creative-generation-workshop/manuscript/check-list/constants.ts index 4d61416..e21d395 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts +++ b/src/views/creative-generation-workshop/manuscript/check-list/constants.ts @@ -21,12 +21,12 @@ export const TABLE_COLUMNS1 = [ { title: '客户意见', dataIndex: 'customer_opinion', - width: 220, + width: 120, }, { title: '稿件类型', dataIndex: 'type', - width: 180, + width: 120, }, { title: '上传时间', @@ -84,7 +84,7 @@ export const TABLE_COLUMNS2 = [ { title: '客户意见', dataIndex: 'customer_opinion', - width: 220, + width: 120, }, { title: '审核平台', @@ -100,7 +100,7 @@ export const TABLE_COLUMNS2 = [ { title: '稿件类型', dataIndex: 'type', - width: 180, + width: 120, }, { title: '审核时间', @@ -153,7 +153,7 @@ export const TABLE_COLUMNS3 = [ { title: '客户意见', dataIndex: 'customer_opinion', - width: 200, + width: 120, }, { title: '审核平台', @@ -163,7 +163,7 @@ export const TABLE_COLUMNS3 = [ { title: '稿件类型', dataIndex: 'type', - width: 180, + width: 120, }, { title: '通过时间', diff --git a/src/views/creative-generation-workshop/manuscript/check-list/style.scss b/src/views/creative-generation-workshop/manuscript/check-list/style.scss index a2c29f0..b819185 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/style.scss +++ b/src/views/creative-generation-workshop/manuscript/check-list/style.scss @@ -34,7 +34,7 @@ .pagination-box { display: flex; width: 100%; - padding: 16px 24px; + padding: 16px 24px 0; justify-content: flex-end; align-items: center; } diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue index ffa1247..3c22d41 100644 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue +++ b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue @@ -206,7 +206,7 @@ export default { v-slots={{ title: () => (
- {column.title} + {column.title} {column.tooltip && ( diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss index d3dc205..7d5b641 100644 --- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss +++ b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/style.scss @@ -6,7 +6,7 @@ font-weight: 400; line-height: 20px; &.bold { - font-family: $font-family-medium; + font-family: $font-family-medium; } } .filter-row-item { diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts index f75ddb8..859b8fe 100644 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts +++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts @@ -21,7 +21,7 @@ export const TABLE_COLUMNS = [ { title: '客户意见', dataIndex: 'customer_opinion', - width: 220, + width: 120, }, // { // title: '所属项目', @@ -31,12 +31,12 @@ export const TABLE_COLUMNS = [ { title: '稿件类型', dataIndex: 'type', - width: 180, + width: 120, }, { title: '审核状态', dataIndex: 'audit_status', - width: 180, + width: 120, }, { title: '上传时间', diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue index d24630b..378eb48 100644 --- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue +++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue @@ -1,6 +1,6 @@