From 4a393878658bd2e167b51da2433e906f8734d816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Wed, 23 Jul 2025 14:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=AE=A2=E6=88=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .husky/commit-msg | 1 - .husky/pre-commit | 1 - src/views/crmpc/customer/Edit.vue | 307 +++++++++-------- src/views/crmpc/customer/index.vue | 528 ++++++++++++++++------------- 5 files changed, 457 insertions(+), 381 deletions(-) delete mode 100644 .husky/commit-msg delete mode 100644 .husky/pre-commit diff --git a/.gitignore b/.gitignore index fe01022..559e693 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules dist dist-ssr *.local +*.env .cursorrules src/types/components.d.ts src/types/auto-imports.d.ts diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 09d2b14..0000000 --- a/.husky/commit-msg +++ /dev/null @@ -1 +0,0 @@ -pnpm dlx commitlint --edit $1 \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 22c0347..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -pnpm run lint:lint-staged \ No newline at end of file diff --git a/src/views/crmpc/customer/Edit.vue b/src/views/crmpc/customer/Edit.vue index 312ffa8..fc57507 100644 --- a/src/views/crmpc/customer/Edit.vue +++ b/src/views/crmpc/customer/Edit.vue @@ -1,8 +1,8 @@ \ No newline at end of file + .customer-form { + width: 600px; + background: #fff; + padding: 10px 24px 16px 24px; + } + .el-form-item { + margin-bottom: 18px; + } + .el-form-item__label { + color: #222; + font-weight: 500; + } + \ No newline at end of file diff --git a/src/views/crmpc/customer/index.vue b/src/views/crmpc/customer/index.vue index 8894f12..21d630c 100644 --- a/src/views/crmpc/customer/index.vue +++ b/src/views/crmpc/customer/index.vue @@ -2,18 +2,16 @@
- 添加 + + + 添加 +
- - - - - + + + + +
@@ -21,7 +19,7 @@
- {{item.name}} + {{ item.name }}
- {{item.name}} + {{ item.name }}
- + - - - - + + + + - + - - +
-
- \ No newline at end of file + + .customer-tabs { + margin-bottom: 8px; + } + + .status-following { + color: #00a43f; + font-weight: bold; + } + + .status-dealed { + color: #3471ff; + font-weight: bold; + } + + .status-lost { + color: #ff0000; + font-weight: bold; + } + + .customer-table { + background: var(--art-main-bg-color); + border-radius: 8px; + margin-top: 0; + } + + .filter-more-btn { + text-align: center; + margin-top: 8px; + } + + .fade-enter-active, + .fade-leave-active { + transition: opacity 0.2s; + } + + .fade-enter-from, + .fade-leave-to { + opacity: 0; + } + + .tag-item { + cursor: pointer; + border-radius: 4px; + padding: 2px 10px; + margin-right: 8px; + transition: background 0.2s; + min-width: 100px; + display: inline-block; + } + + .tag-active { + background: #3471ff; + color: #fff; + } +