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; + } +