diff --git a/.gitignore b/.gitignore index a547bf3..eee7d15 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ dist-ssr *.njsproj *.sln *.sw? +#lock-package +pnpm-lock.yaml \ No newline at end of file diff --git a/package.json b/package.json index 3b1ee87..dfcbedc 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint": "^9.13.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-vue": "^9.29.1", - "husky": "^9.1.6", + "husky": "^9.1.7", "lint-staged": "^15.2.10", "sass-embedded": "^1.80.3", "shadcn-vue": "^0.11.0", diff --git a/src/assets/styles/recruitment.scss b/src/assets/styles/recruitment.scss index 79c1900..89341b3 100644 --- a/src/assets/styles/recruitment.scss +++ b/src/assets/styles/recruitment.scss @@ -6,7 +6,11 @@ $undertone: #647499;//浅灰 设置为非强调色 +*{ + margin: 0; + padding: 0; +} // 复选框样式 .checkbox { position: relative; @@ -36,10 +40,8 @@ .btn-style { width: 100px; height: 40px; - background-color: var(--primary); cursor: pointer; border: var(--border) 1px solid; - &:hover, &:active { color: var(--primary-foreground); @@ -48,11 +50,18 @@ } +// 长虚线边框样式 +.long-dashed-border { + border-radius: var(--radius); + border: 1px solid transparent; + background: linear-gradient(white,white) padding-box, + repeating-linear-gradient(-45deg,var(--border) 0,var(--border) 0.5em,white 0,white 0.75em); +} + //后台样式 .content { padding: 20px; - width: 100%; background-color: var(--background); position: relative; } @@ -65,11 +74,19 @@ align-items: center; position: relative; gap: 20px; - + min-width: 920px; .search-input { - position: absolute; - right: 0; + position: relative; + display: inline-flex; + align-items: center; + gap: 10px; + width: 300px; + height: 40px; + @media screen and (max-width: 1300px) { + display: none; + } } + } .reset { @@ -90,7 +107,6 @@ justify-content: flex-start; align-items: center; gap: 20px; - .toggle-button { width: 100px; height: 40px; @@ -99,22 +115,13 @@ .handle-btns { position: absolute; - right: 0; + right: 20px; display: flex; gap: 20px; - - .handle-btn { - width: 100px; - height: 40px; - background-color: var(--primary); - cursor: pointer; - border: var(--border) 1px solid; - - &:hover, - &:active { - color: var(--primary-foreground); - border: var(--primary-foreground) 1px solid; - } + @media screen and (max-width: 1300px) { + position: relative; + right: 0; + margin-left: 40px; } } } @@ -129,6 +136,7 @@ //卡片展示 .main-content-show{ display: flex; + padding: 20px; flex-direction: column; justify-content: flex-start; align-items: flex-start; @@ -139,21 +147,23 @@ position: relative; top: 20px; gap: 20px; - + @extend .long-dashed-border; } + + //滚动条样式 /* 定义滚动条的轨道样式 */ ::-webkit-scrollbar { - width: 2px; /* 滚动条轨道的宽度 */ + width: 1px; /* 滚动条轨道的宽度 */ } /* 定义滚动条的滑块样式 */ ::-webkit-scrollbar-thumb { - background-color:var(--accent); /* 滑块的颜色 */ + background-color:skyblue; /* 滑块的颜色 */ border-radius: 2px; /* 滑块的圆角 */ } /* 定义滚动条的轨道样式(当滑块处于悬停状态时) */ ::-webkit-scrollbar-track { - background: #f1f1f1; /* 轨道的颜色 */ + background: var(--background); /* 轨道的颜色 */ } diff --git a/src/components/recruitment/MessageCard.vue b/src/components/recruitment/MessageCard.vue index 8bfbff2..fa41311 100644 --- a/src/components/recruitment/MessageCard.vue +++ b/src/components/recruitment/MessageCard.vue @@ -11,32 +11,46 @@ import { Button } from '@/components/ui/button'
- 2024-11-22 12:00-13:00 + + 2024-11-22 + + + 12:00-13:00 +
- - 地点:零号楼609 + + 面试地点: + + + 零号楼609
- - 面试轮次:二面 + + 面试轮次: + + + 二面
- + 王科林
- - 面试官:贝利亚 贝利亚 贝利亚 + + 面试官: + + + 贝利亚 贝利亚 贝利亚
- + 已淘汰
@@ -51,35 +65,46 @@ import { Button } from '@/components/ui/button' \ No newline at end of file diff --git a/src/components/recruitment/ToggleShow.vue b/src/components/recruitment/ToggleShow.vue index 717820f..f27eb25 100644 --- a/src/components/recruitment/ToggleShow.vue +++ b/src/components/recruitment/ToggleShow.vue @@ -28,7 +28,7 @@ function toggleActive(index: number) { \ No newline at end of file diff --git a/src/features/admin/pages/recruitment/index.vue b/src/features/admin/pages/recruitment/index.vue index ba7283f..361b758 100644 --- a/src/features/admin/pages/recruitment/index.vue +++ b/src/features/admin/pages/recruitment/index.vue @@ -1,22 +1,12 @@ diff --git a/src/features/admin/pages/recruitment/interview.vue b/src/features/admin/pages/recruitment/interview.vue index a73b52c..7eeca47 100644 --- a/src/features/admin/pages/recruitment/interview.vue +++ b/src/features/admin/pages/recruitment/interview.vue @@ -186,7 +186,8 @@ const resetCondition = () => {
+ style="width: 400px;height: 40px;" + >
@@ -201,5 +202,5 @@ const resetCondition = () => { \ No newline at end of file diff --git a/src/features/admin/pages/recruitment/recruitmentRecord.vue b/src/features/admin/pages/recruitment/recruitmentRecord.vue index 13b43b8..3e192fd 100644 --- a/src/features/admin/pages/recruitment/recruitmentRecord.vue +++ b/src/features/admin/pages/recruitment/recruitmentRecord.vue @@ -131,39 +131,40 @@ const isReset = ref(false); -
- -
+
+ +
+ \ No newline at end of file