diff --git a/src/assets/font/Unitext-BlackItalic.TTF b/src/assets/font/Unitext-BlackItalic.TTF new file mode 100644 index 0000000..5cb1d4d Binary files /dev/null and b/src/assets/font/Unitext-BlackItalic.TTF differ diff --git a/src/assets/images/CompanyJobsPage/btn_icon.png b/src/assets/images/CompanyJobsPage/btn_icon.png index 21fb968..3a3815a 100644 Binary files a/src/assets/images/CompanyJobsPage/btn_icon.png and b/src/assets/images/CompanyJobsPage/btn_icon.png differ diff --git a/src/assets/images/CompanyJobsPage/jobs_page_left_list_item_bg.png b/src/assets/images/CompanyJobsPage/jobs_page_left_list_item_bg.png new file mode 100644 index 0000000..ec42482 Binary files /dev/null and b/src/assets/images/CompanyJobsPage/jobs_page_left_list_item_bg.png differ diff --git a/src/assets/images/CompanyJobsPage/process_wrapper_close_bg.png b/src/assets/images/CompanyJobsPage/process_wrapper_close_bg.png new file mode 100644 index 0000000..d55c004 Binary files /dev/null and b/src/assets/images/CompanyJobsPage/process_wrapper_close_bg.png differ diff --git a/src/assets/images/Dashboard/QuickAccess/quick_access_title_icon.png b/src/assets/images/Dashboard/QuickAccess/quick_access_title_icon.png new file mode 100644 index 0000000..3287535 Binary files /dev/null and b/src/assets/images/Dashboard/QuickAccess/quick_access_title_icon.png differ diff --git a/src/assets/images/Dashboard/StartClass/start_class_bg.png b/src/assets/images/Dashboard/StartClass/start_class_bg.png index 17c24ad..0572b99 100644 Binary files a/src/assets/images/Dashboard/StartClass/start_class_bg.png and b/src/assets/images/Dashboard/StartClass/start_class_bg.png differ diff --git a/src/assets/images/Dashboard/StartClass/start_class_title_icon.png b/src/assets/images/Dashboard/StartClass/start_class_title_icon.png new file mode 100644 index 0000000..cdb6b1c Binary files /dev/null and b/src/assets/images/Dashboard/StartClass/start_class_title_icon.png differ diff --git a/src/assets/images/Dashboard/StudyStatus/study-status_bg.png b/src/assets/images/Dashboard/StudyStatus/study-status_bg.png new file mode 100644 index 0000000..b7bc414 Binary files /dev/null and b/src/assets/images/Dashboard/StudyStatus/study-status_bg.png differ diff --git a/src/assets/images/Dashboard/StudyStatus/study-status_title_icon.png b/src/assets/images/Dashboard/StudyStatus/study-status_title_icon.png new file mode 100644 index 0000000..48de141 Binary files /dev/null and b/src/assets/images/Dashboard/StudyStatus/study-status_title_icon.png differ diff --git a/src/assets/images/Rank/bg.png b/src/assets/images/Rank/bg.png new file mode 100644 index 0000000..b330ca8 Binary files /dev/null and b/src/assets/images/Rank/bg.png differ diff --git a/src/assets/images/Rank/title_icon.png b/src/assets/images/Rank/title_icon.png new file mode 100644 index 0000000..02f0047 Binary files /dev/null and b/src/assets/images/Rank/title_icon.png differ diff --git a/src/assets/images/Sidebar/sidebar_icon.png b/src/assets/images/Sidebar/sidebar_icon.png new file mode 100644 index 0000000..c41ff0e Binary files /dev/null and b/src/assets/images/Sidebar/sidebar_icon.png differ diff --git a/src/assets/images/Sidebar/sidebar_menu_item_active_bg .png b/src/assets/images/Sidebar/sidebar_menu_item_active_bg .png new file mode 100644 index 0000000..153dc29 Binary files /dev/null and b/src/assets/images/Sidebar/sidebar_menu_item_active_bg .png differ diff --git a/src/assets/images/Sidebar/visitor_count_bg.png b/src/assets/images/Sidebar/visitor_count_bg.png new file mode 100644 index 0000000..6a3aa08 Binary files /dev/null and b/src/assets/images/Sidebar/visitor_count_bg.png differ diff --git a/src/assets/images/StageProgress/active_bg.png b/src/assets/images/StageProgress/active_bg.png new file mode 100644 index 0000000..e7d175b Binary files /dev/null and b/src/assets/images/StageProgress/active_bg.png differ diff --git a/src/assets/images/StageProgress/star.png b/src/assets/images/StageProgress/star.png deleted file mode 100644 index 052e6de..0000000 Binary files a/src/assets/images/StageProgress/star.png and /dev/null differ diff --git a/src/assets/images/StageProgress/star_active.png b/src/assets/images/StageProgress/star_active.png deleted file mode 100644 index 326ec6b..0000000 Binary files a/src/assets/images/StageProgress/star_active.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step1.png b/src/assets/images/StageProgress/step1.png deleted file mode 100644 index b238e76..0000000 Binary files a/src/assets/images/StageProgress/step1.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step1_active.png b/src/assets/images/StageProgress/step1_active.png index a70f544..236e007 100644 Binary files a/src/assets/images/StageProgress/step1_active.png and b/src/assets/images/StageProgress/step1_active.png differ diff --git a/src/assets/images/StageProgress/step2.png b/src/assets/images/StageProgress/step2.png deleted file mode 100644 index ca587e9..0000000 Binary files a/src/assets/images/StageProgress/step2.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step2_active.png b/src/assets/images/StageProgress/step2_active.png deleted file mode 100644 index b00c29f..0000000 Binary files a/src/assets/images/StageProgress/step2_active.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step3.png b/src/assets/images/StageProgress/step3.png deleted file mode 100644 index 564eeb5..0000000 Binary files a/src/assets/images/StageProgress/step3.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step3_active.png b/src/assets/images/StageProgress/step3_active.png deleted file mode 100644 index 13bcd9b..0000000 Binary files a/src/assets/images/StageProgress/step3_active.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step4.png b/src/assets/images/StageProgress/step4.png deleted file mode 100644 index daf0ae0..0000000 Binary files a/src/assets/images/StageProgress/step4.png and /dev/null differ diff --git a/src/assets/images/StageProgress/step4_active.png b/src/assets/images/StageProgress/step4_active.png index 43060ab..f1db620 100644 Binary files a/src/assets/images/StageProgress/step4_active.png and b/src/assets/images/StageProgress/step4_active.png differ diff --git a/src/assets/images/StageProgress/step4_default.png b/src/assets/images/StageProgress/step4_default.png new file mode 100644 index 0000000..b3a09c4 Binary files /dev/null and b/src/assets/images/StageProgress/step4_default.png differ diff --git a/src/assets/images/StageProgress/step_active.png b/src/assets/images/StageProgress/step_active.png new file mode 100644 index 0000000..5d61534 Binary files /dev/null and b/src/assets/images/StageProgress/step_active.png differ diff --git a/src/assets/images/StageProgress/step_default.png b/src/assets/images/StageProgress/step_default.png new file mode 100644 index 0000000..c790f38 Binary files /dev/null and b/src/assets/images/StageProgress/step_default.png differ diff --git a/src/components/CoursesVideoPlayer/index.css b/src/components/CoursesVideoPlayer/index.css index ad7f9e8..d0404eb 100644 --- a/src/components/CoursesVideoPlayer/index.css +++ b/src/components/CoursesVideoPlayer/index.css @@ -1,5 +1,5 @@ .courses-video-player-wrapper { - width: 800px; + width: 836px; height: 798px; position: relative; @@ -10,7 +10,7 @@ } .courses-video-player { - width: 800px; + width: 100%; height: 545px; box-sizing: border-box; padding: 16px; @@ -55,7 +55,7 @@ } .courses-video-player-info { margin-top: 20px; - width: 800px; + width: 100%; height: 234px; border: 2px solid #fff; border-radius: 8px; @@ -67,7 +67,7 @@ align-items: center; .courses-video-player-audience-info { - width: 272px; + width: 308px; height: 100%; padding: 0 10px; border-right: 1px solid #f2f3f5; diff --git a/src/components/Rank/index.css b/src/components/Rank/index.css index 92939c4..e64e656 100644 --- a/src/components/Rank/index.css +++ b/src/components/Rank/index.css @@ -1,7 +1,7 @@ .module-class-rank { width: 360px; height: 413px; - background-color: #fff; + background-color: #fff7f1; border-radius: 16px; margin-right: 20px; border: 1px solid #fff; @@ -13,6 +13,18 @@ flex-direction: column; align-items: center; justify-content: flex-start; + position: relative; + + &::after { + content: ""; + width: 180px; + height: 110px; + position: absolute; + right: 0; + top: 0; + background-image: url("@/assets/images/Rank/bg.png"); + background-size: 100% 100%; + } .module-class-rank-title { height: 30px; @@ -21,6 +33,21 @@ font-weight: 500; line-height: 30px; color: #262626; + position: relative; + box-sizing: border-box; + padding-left: 30px; + + &::before { + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 24px; + height: 24px; + content: ""; + background-image: url("@/assets/images/Rank/title_icon.png"); + background-size: 100% 100%; + } } .module-class-rank-spin, @@ -159,7 +186,7 @@ justify-content: flex-start; align-items: center; flex-shrink: 0; - background-color: #fafafa; + background-color: #fff; border-radius: 8px; box-sizing: border-box; padding: 0 10px; diff --git a/src/components/Sidebar/index.css b/src/components/Sidebar/index.css index 0a81c85..6ec14dc 100644 --- a/src/components/Sidebar/index.css +++ b/src/components/Sidebar/index.css @@ -1,5 +1,5 @@ .sidebar-expand-wrapper { - width: 280px; + width: 240px; box-sizing: border-box; position: relative; display: flex; @@ -15,41 +15,77 @@ width: 100%; height: 80px; display: flex; - justify-content: center; + justify-content: flex-start; align-items: center; + box-sizing: border-box; + padding: 20px; > img { - width: 48px; + width: 143px; height: 48px; margin-right: 10px; transition: margin 0.3s ease; } - > p { - color: #262626; - font-size: 20px; - font-weight: 400; - opacity: 1; - transform: translateX(0); - transition: opacity 0.3s ease, transform 0.3s ease; - white-space: nowrap; - } } - .user-info { - width: 100%; - height: 80px; + .user-info-wrapper { + width: 208px; + height: 56px; display: flex; - justify-content: center; + justify-content: flex-start; align-items: center; + border-radius: 8px; + background-color: #f4f7f9; + box-sizing: border-box; + padding: 0 10px; + .user-avatar { - width: 64px; - height: 64px; - border-radius: 12px; + width: 40px; + height: 40px; + border-radius: 6px; + margin-right: 10px; + } + + .user-info { + flex: 1; + display: flex; + justify-content: space-between; + align-items: flex-start; + flex-direction: column; + + > span { + font-weight: 400; + } + + .user-name { + font-size: 16px; + color: #1d2129; + } + .user-id { + font-size: 12px; + color: #86909c; + } } } .visitor-count { - width: 100%; - height: 41px; - text-align: center; + width: 208px; + height: 44px; + border-radius: 8px; + background-color: #e5f1ff; + position: relative; + margin-top: 10px; + box-sizing: border-box; + padding: 0 10px; + + &::after { + content: ""; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-image: url("@/assets/images/Sidebar/visitor_count_bg.png"); + background-size: 100% 100%; + } .arco-statistic-value { font-size: 12px; @@ -70,25 +106,31 @@ .sidebar-menu-item-wrapper { width: 100%; + border-bottom: 1px solid #e4ecf2; + + &:last-child { + border-bottom: none; + } .sidebar-menu-title { width: 100%; - height: 36px; + height: 42px; text-align: left; - line-height: 36px; - color: #bfbfbf; - font-size: 14px; - font-weight: 400; + line-height: 42px; + color: #4e5969; + font-size: 16px; + font-weight: 500; } .sidebar-menu-item-active { - background-color: #e8f3ff; + background-image: url("@/assets/images/Sidebar/sidebar_menu_item_active_bg .png"); + background-size: 100% 100%; .sidebar-menu-icon { - color: #0275f2 !important; + color: #fff !important; } .sidebar-menu-text { - color: #0275f2 !important; + color: #fff !important; } } @@ -124,26 +166,18 @@ left: 50%; transform: translateX(-50%); display: flex; - justify-content: center; + justify-content: flex-start; align-items: center; cursor: pointer; background-color: #fff; + border-top: 1px solid #e4ecf2; + box-sizing: border-box; + padding-left: 20px; > img { width: 22px; height: 22px; } - - .sidebar-btn-text { - margin-left: 10px; - color: #616065; - font-size: 16px; - font-weight: 400; - opacity: 1; - transform: translateX(0); - transition: opacity 0.3s ease, transform 0.3s ease; - white-space: nowrap; - } } } @@ -195,12 +229,7 @@ .sidebar-btn { width: 80px; - .sidebar-btn-text { - opacity: 0; - transform: translateX(-10px); - pointer-events: none; - transition: opacity 0.3s ease, transform 0.3s ease; - width: 0; - } + justify-content: center; + padding: 0; } } diff --git a/src/components/Sidebar/index.jsx b/src/components/Sidebar/index.jsx index e1a1747..f5ebcbb 100644 --- a/src/components/Sidebar/index.jsx +++ b/src/components/Sidebar/index.jsx @@ -2,7 +2,7 @@ import { useNavigate, useLocation } from "react-router-dom"; import { Statistic } from "@arco-design/web-react"; import { useSelector } from "react-redux"; import IconFont from "@/components/IconFont"; -import Logo from "@/assets/images/Sidebar/logo.png"; +import ICON from "@/assets/images/Sidebar/sidebar_icon.png"; import BTNICON from "@/assets/images/Sidebar/btn_icon.png"; import routes from "@/routes"; import "./index.css"; @@ -11,7 +11,7 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => { const navigate = useNavigate(); const location = useLocation(); const studentInfo = useSelector((state) => state.student.studentInfo); - + console.log(studentInfo); const handleNavClick = (path) => { navigate(path); }; @@ -30,15 +30,18 @@ const Sidebar = ({ isCollapsed, setIsCollapsed }) => { }`} >
- logo -

多多畅职教育系统

+ icon
-
+
avatar +
+ {studentInfo?.realName} + 学号:{studentInfo?.id} +
{
btn - 展开/收起
); diff --git a/src/components/StageProgress/index.css b/src/components/StageProgress/index.css index fda97c8..b847a06 100644 --- a/src/components/StageProgress/index.css +++ b/src/components/StageProgress/index.css @@ -1,5 +1,5 @@ .stage-progress-wrapper { - width: 100%; + width: 1200px; height: 96px; display: flex; box-sizing: border-box; @@ -8,98 +8,129 @@ align-items: center; background-color: #fff; - .stage-progress-item { - height: 72px; + .stage-progress-item1 { + display: flex; + justify-content: center; + align-items: center; + flex-shrink: 0; + width: 257px; + height: 64px; background-size: 100% 100%; margin-right: -10px; + background-color: #f4f7f9; + background-image: url("@/assets/images/StageProgress/step1_active.png"); + background-size: 100%; + color: #ffffff; + font-size: 16px; + font-weight: 400; } - .stage-progress-item1 { - width: 204px; - background-image: url("@/assets/images/StageProgress/step1.png"); + .stage-progress-item4 { + display: flex; + justify-content: center; + align-items: center; + flex-shrink: 0; + width: 257px; + height: 64px; + background-image: url("@/assets/images/StageProgress/step4_default.png"); + background-size: 100% 100%; + color: #86909c; + font-size: 16px; + font-weight: 400; } - .stage-progress-item2 { - width: 228px; - background-image: url("@/assets/images/StageProgress/step2.png"); + .stage-progress-item4-active { + color: #ffffff; + font-size: 16px; + font-weight: 400; + background-image: url("@/assets/images/StageProgress/step4_active.png"); } - .stage-progress-star { - position: relative; + .stage-progress-item { + flex-shrink: 0; + width: 257px; + height: 64px; + background-image: url("@/assets/images/StageProgress/step_default.png"); + background-size: 100% 100%; + display: flex; + justify-content: center; + align-items: center; + color: #86909c; + font-size: 16px; + font-weight: 400; + } + + .stage-progress-item-active { + color: #ffffff; + background-image: url("@/assets/images/StageProgress/step_active.png"); + } + + .stage-progress-item-step { + width: 45px; + height: 22px; + box-sizing: border-box; + border-radius: 6px; + background-color: #c9cdd4; + color: #fff; + font-size: 12px; + font-weight: 900; + text-align: center; + font-family: "Unitext"; + } + + .stage-progress-item-step-active { + background-color: #fff !important; + color: #0077ff !important; + } + + .stage-progress-item-text, + .stage-progress-item-icon { + font-size: 16px; + font-weight: 500; + color: #86909c; + margin: 0 5px; + } + + .stage-progress-item-text-active, + .stage-progress-item-icon-active { + color: #fff !important; + } + + .stage-progress-text { cursor: pointer; - width: 108px; + width: 150px; height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column; - margin-right: -10px; - margin-left: 30px; - margin-top: 20px; > span { font-size: 12px; - color: #bfbfbf; - } - .star { - font-size: 20px; - color: #88b4ff; + color: #86909c; position: relative; &::before { content: ""; + width: 24px; + height: 0px; position: absolute; top: 50%; - left: 50%; - transform: translate(50%, -50%); - width: 40px; - height: 0px; - border: 1px dashed #bfbfbf; + left: -20px; + transform: translateX(-50%); + border: 1px dashed #86909c; } + &::after { content: ""; + width: 24px; + height: 0px; position: absolute; top: 50%; - right: 50%; - transform: translate(-50%, -50%); - width: 40px; - height: 0px; - border: 1px dashed #bfbfbf; + right: -45px; + transform: translateX(-50%); + border: 1px dashed #86909c; } } } - - .stage-progress-item3 { - width: 294px; - background-image: url("@/assets/images/StageProgress/step3.png"); - } - - .stage-progress-item4 { - width: 284px; - background-image: url("@/assets/images/StageProgress/step4.png"); - } - - .stage-progress-item1-active { - width: 204px; - background-image: url("@/assets/images/StageProgress/step1_active.png"); - } - - .stage-progress-item2-active { - width: 228px; - background-image: url("@/assets/images/StageProgress/step2_active.png"); - } - - .stage-progress-star-active { - background-image: url("@/assets/images/StageProgress/star_active.png"); - } - - .stage-progress-item3-active { - width: 294px; - background-image: url("@/assets/images/StageProgress/step3_active.png"); - } - - .stage-progress-item4-active { - width: 284px; - background-image: url("@/assets/images/StageProgress/step4_active.png"); - } } diff --git a/src/components/StageProgress/index.jsx b/src/components/StageProgress/index.jsx index a9e8a7d..572737c 100644 --- a/src/components/StageProgress/index.jsx +++ b/src/components/StageProgress/index.jsx @@ -11,16 +11,40 @@ const StageProgress = () => { return ( ); }; diff --git a/src/global.css b/src/global.css index e550dee..b8ec4f4 100644 --- a/src/global.css +++ b/src/global.css @@ -1,3 +1,38 @@ +/* ============================== + 自定义字体定义 + ============================== */ + +/* 定义自定义字体 */ +@font-face { + font-family: "Unitext"; + src: url("./assets/font/Unitext-BlackItalic.TTF") format("truetype"); + font-style: italic; + font-display: swap; /* 优化字体加载性能 */ +} + +/* 如果需要添加更多字体文件,可以继续定义 */ +/* +@font-face { + font-family: 'CustomFont'; + src: url('./assets/font/CustomFont-Regular.woff2') format('woff2'), + url('./assets/font/CustomFont-Regular.woff') format('woff'), + url('./assets/font/CustomFont-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'CustomFont'; + src: url('./assets/font/CustomFont-Bold.woff2') format('woff2'), + url('./assets/font/CustomFont-Bold.woff') format('woff'), + url('./assets/font/CustomFont-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + font-display: swap; +} +*/ + /* ============================== 现代 CSS 重置核心样式 ============================== */ @@ -161,3 +196,41 @@ html { fill: currentcolor; overflow: hidden; } + +/* ============================== + 自定义字体使用示例 + ============================== */ + +/* 全局字体设置 - 可以设置为默认字体 */ +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", + "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, + sans-serif; +} + +/* 使用自定义字体的工具类 */ +.font-unitext { + font-family: "Unitext", sans-serif; +} + +.font-custom { + font-family: "CustomFont", -apple-system, BlinkMacSystemFont, "Segoe UI", + sans-serif; +} + +/* 特定场景的字体应用 */ +.title-custom { + font-family: "Unitext", serif; + font-weight: 900; + font-style: italic; +} + +.text-custom { + font-family: "CustomFont", sans-serif; + font-weight: 400; +} + +.text-custom-bold { + font-family: "CustomFont", sans-serif; + font-weight: 700; +} diff --git a/src/pages/CompanyJobsListPage/index.css b/src/pages/CompanyJobsListPage/index.css index 6210a39..76aadad 100644 --- a/src/pages/CompanyJobsListPage/index.css +++ b/src/pages/CompanyJobsListPage/index.css @@ -3,4 +3,14 @@ height: 100%; box-sizing: border-box; padding: 20px; + + .jobs-list-margin { + > li { + width: 556px; + margin-right: 20px; + .company-jobs-info { + width: 430px; + } + } + } } diff --git a/src/pages/CompanyJobsListPage/index.jsx b/src/pages/CompanyJobsListPage/index.jsx index 1f0787a..3d6bb61 100644 --- a/src/pages/CompanyJobsListPage/index.jsx +++ b/src/pages/CompanyJobsListPage/index.jsx @@ -39,7 +39,7 @@ const CompanyJobsListPage = () => { empty={jobs.length === 0} className="company-jobs-list-page-wrapper" > - + ); }; diff --git a/src/pages/CompanyJobsPage/components/JobInfoModal/index.css b/src/pages/CompanyJobsPage/components/JobInfoModal/index.css index 97e95ee..9921e8c 100644 --- a/src/pages/CompanyJobsPage/components/JobInfoModal/index.css +++ b/src/pages/CompanyJobsPage/components/JobInfoModal/index.css @@ -1,5 +1,5 @@ .job-info-modal-content { - max-height: 648px; + max-height: 720px; width: 844px; position: relative; display: flex; diff --git a/src/pages/CompanyJobsPage/components/JobList/index.css b/src/pages/CompanyJobsPage/components/JobList/index.css index 1ccb78b..fc9f97e 100644 --- a/src/pages/CompanyJobsPage/components/JobList/index.css +++ b/src/pages/CompanyJobsPage/components/JobList/index.css @@ -9,7 +9,7 @@ padding: 5px 0; .company-jobs-page-left-list-item { - width: 496px; + width: 528px; display: flex; justify-content: space-between; align-items: center; @@ -18,10 +18,12 @@ border-radius: 8px; cursor: pointer; margin-bottom: 20px; - margin-right: 20px; flex-shrink: 0; position: relative; border: 1px solid #e5e6eb; + background-color: #e5f1ff; + background-image: url("@/assets/images/CompanyJobsPage/jobs_page_left_list_item_bg.png"); + background-size: 100% 100%; .icon { position: absolute; @@ -40,7 +42,7 @@ } .company-jobs-info { - width: 300px; + width: 400px; height: 100%; display: flex; justify-content: flex-start; @@ -64,11 +66,11 @@ margin-top: 5px; .company-jobs-info-tag { - background-color: #e5e6eb; + background-color: #fff; box-sizing: border-box; margin-bottom: 5px; padding: 1px 8px; - color: #1d2129; + color: #4e5969; font-size: 12px; font-weight: 600; border-radius: 2px; @@ -78,14 +80,14 @@ .company-jobs-info-position-count { width: 100%; text-align: left; - color: #ff7d00; + color: #ff3f43; margin-top: 5px; font-size: 14px; font-weight: 400; } } .company-jobs-btn-wrapper { - width: 120px; + flex: 1; height: 60px; display: flex; justify-content: center; @@ -95,21 +97,21 @@ .company-jobs-info-position-salary { width: 100%; text-align: center; - color: #ff7d00; - font-size: 14px; - font-weight: 600; + color: #ff9a2d; + font-size: 16px; + font-weight: 700; } .company-jobs-btn { cursor: pointer; width: 64px; height: 28px; - border-radius: 2px; + border-radius: 4px; text-align: center; - color: #2c7aff; + color: #fff; font-size: 12px; font-weight: 600; - border: 1px solid #2c7aff; + background-color: #0077ff; display: flex; justify-content: center; align-items: center; diff --git a/src/pages/CompanyJobsPage/components/JobList/index.jsx b/src/pages/CompanyJobsPage/components/JobList/index.jsx index 88939f9..b7725c7 100644 --- a/src/pages/CompanyJobsPage/components/JobList/index.jsx +++ b/src/pages/CompanyJobsPage/components/JobList/index.jsx @@ -5,7 +5,7 @@ import { getJobsDetail } from "@/services"; import { mapJob } from "@/utils/dataMapper"; import "./index.css"; -export default ({ className = "", data = [], backgroundColor = "#FFFFFF" }) => { +export default ({ className = "", data = [], backgroundColor }) => { const [jobInfoData, setJobInfoData] = useState(undefined); const [jobInfoModalVisible, setJobInfoModalVisible] = useState(false); @@ -40,7 +40,10 @@ export default ({ className = "", data = [], backgroundColor = "#FFFFFF" }) => {

{item?.position}