From 9b5d5066d435bc81e01e80bbfa396b351e1b3039 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Sun, 18 Feb 2024 10:18:25 +0800 Subject: [PATCH] style: pnpm lint:format --- src/api/bpm/processInstance/index.ts | 20 ++++++------ .../Descriptions/src/Descriptions.vue | 4 +-- .../mobile/FloatingActionButton/index.vue | 4 +-- .../components/HotZoneEditDialog/index.vue | 26 ++++++++-------- .../components/mobile/HotZone/index.vue | 12 +++---- .../components/mobile/HotZone/property.vue | 10 +++--- .../components/mobile/MenuSwiper/index.vue | 3 ++ src/components/DiyEditor/index.vue | 5 +-- src/components/InputWithColor/index.vue | 1 + src/components/MagicCubeEditor/index.vue | 31 ++++++++++--------- .../components/UserInfo/src/UserInfo.vue | 3 +- src/views/Profile/components/BasicInfo.vue | 2 +- src/views/Profile/components/UserAvatar.vue | 2 -- src/views/bpm/task/todo/index.vue | 2 +- src/views/crm/clue/ClueForm.vue | 12 +++---- .../promotion/rewardActivity/RewardForm.vue | 2 +- src/views/report/ureport/UReportDataForm.vue | 8 ++--- src/views/report/ureport/index2.vue | 9 ++---- 18 files changed, 76 insertions(+), 80 deletions(-) diff --git a/src/api/bpm/processInstance/index.ts b/src/api/bpm/processInstance/index.ts index a937eae23..0390829f0 100644 --- a/src/api/bpm/processInstance/index.ts +++ b/src/api/bpm/processInstance/index.ts @@ -21,13 +21,13 @@ export type ProcessInstanceVO = { } export type ProcessInstanceCCVO = { - type: number, - taskName: string, - taskKey: string, - processInstanceName: string, - processInstanceKey: string, - startUserId: string, - options:string [], + type: number + taskName: string + taskKey: string + processInstanceName: string + processInstanceKey: string + startUserId: string + options: string[] reason: string } @@ -62,9 +62,9 @@ export const createProcessInstanceCC = async (data) => { /** * 抄送列表 - * @param params - * @returns + * @param params + * @returns */ export const getProcessInstanceCCPage = async (params) => { return await request.get({ url: '/bpm/process-instance/cc/my-page', params }) -} \ No newline at end of file +} diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index 184d95c4f..ad9711c44 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -130,9 +130,7 @@ const toggleClick = () => { - {{ - item.mappedField ? data[item.mappedField] : data[item.field] - }} + {{ item.mappedField ? data[item.mappedField] : data[item.field] }} diff --git a/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue b/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue index 19e42cb67..68b0217cc 100644 --- a/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue +++ b/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue @@ -55,12 +55,12 @@ const handleToggleFab = () => { /* 模态背景 */ .modal-bg { position: absolute; - left: calc(50% - 375px / 2); top: 0; + left: calc(50% - 375px / 2); z-index: 11; width: 375px; height: 100%; - background-color: rgba(#000000, 0.4); + background-color: rgba(#000, 0.4); } .fab-icon { diff --git a/src/components/DiyEditor/components/mobile/HotZone/components/HotZoneEditDialog/index.vue b/src/components/DiyEditor/components/mobile/HotZone/components/HotZoneEditDialog/index.vue index 39250572e..a9fc75c8c 100644 --- a/src/components/DiyEditor/components/mobile/HotZone/components/HotZoneEditDialog/index.vue +++ b/src/components/DiyEditor/components/mobile/HotZone/components/HotZoneEditDialog/index.vue @@ -192,39 +192,39 @@ const handleAppLinkChange = (appLink: AppLink) => { diff --git a/src/components/DiyEditor/components/mobile/HotZone/property.vue b/src/components/DiyEditor/components/mobile/HotZone/property.vue index 495cbdce4..4f6c3b643 100644 --- a/src/components/DiyEditor/components/mobile/HotZone/property.vue +++ b/src/components/DiyEditor/components/mobile/HotZone/property.vue @@ -42,22 +42,22 @@ const handleOpenEditDialog = () => { diff --git a/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue b/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue index f8e2bbc64..c2319daf2 100644 --- a/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue +++ b/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue @@ -103,13 +103,16 @@ watch( .el-carousel__indicator { padding-top: 0; padding-bottom: 0; + .el-carousel__button { --el-carousel-indicator-height: 6px; --el-carousel-indicator-width: 6px; --el-carousel-indicator-out-color: #ff6000; + border-radius: 6px; } } + .el-carousel__indicator.is-active { .el-carousel__button { --el-carousel-indicator-width: 12px; diff --git a/src/components/DiyEditor/index.vue b/src/components/DiyEditor/index.vue index 700d32bd5..355ff156d 100644 --- a/src/components/DiyEditor/index.vue +++ b/src/components/DiyEditor/index.vue @@ -545,11 +545,12 @@ $toolbar-height: 42px; gap: 8px; :deep(.el-tag) { - box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1); border: none; + box-shadow: 0 2px 8px 0 rgb(0 0 0 / 10%); + .el-tag__content { - width: 100%; display: flex; + width: 100%; align-items: center; justify-content: flex-start; diff --git a/src/components/InputWithColor/index.vue b/src/components/InputWithColor/index.vue index 2bc531727..e494bcb37 100644 --- a/src/components/InputWithColor/index.vue +++ b/src/components/InputWithColor/index.vue @@ -50,6 +50,7 @@ watch(