communicationRecords.vue 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. <template>
  2. <view class="page">
  3. <!-- Custom Navbar -->
  4. <view class="custom-navbar">
  5. <view class="navbar-content">
  6. <view class="navbar-left" @click="goBack">
  7. <u-icon name="arrow-leftward" color="color: rgba(51, 51, 51, 1);" size="36"></u-icon>
  8. </view>
  9. <view class="navbar-title">沟通记录</view>
  10. <view class="navbar-right"></view>
  11. </view>
  12. </view>
  13. <view class="tab-section-bg">
  14. <text class="title-text">沟通记录</text>
  15. <text class="interview-manage" @click="goToInterviewManage">面试管理</text>
  16. </view>
  17. <!-- Tab Navigation -->
  18. <view class="tab-section">
  19. <u-tabs
  20. :list="tabs"
  21. :current="activeTab"
  22. @change="switchTab"
  23. :is-scroll="false"
  24. :height="88"
  25. :font-size="24"
  26. active-color="rgba(1, 107, 246, 1)"
  27. inactive-color="rgba(102, 102, 102, 1)"
  28. :bar-width="80"
  29. :bar-height="4"
  30. :gutter="40"
  31. bg-color="#ffffff"
  32. :bar-style="{
  33. borderRadius: '2rpx'
  34. }"
  35. ></u-tabs>
  36. </view>
  37. <!-- Content Section -->
  38. <view class="content-section">
  39. <!-- Communication Records List -->
  40. <view class="communication-list" v-if="activeTab === 0">
  41. <!-- 有数据时显示列表 -->
  42. <view v-if="communicationRecords.length > 0">
  43. <!-- Date Group -->
  44. <view class="date-group" v-for="(group, groupIndex) in groupedRecords" :key="groupIndex">
  45. <view class="date-header">
  46. <text class="date-text">{{ group.date }}</text>
  47. </view>
  48. <!-- Records for this date -->
  49. <view
  50. class="talent-card"
  51. v-for="(record, recordIndex) in group.records"
  52. :key="recordIndex"
  53. @click="goToResumeDetail(record)"
  54. >
  55. <view class="talent-content">
  56. <!-- 头像和基本信息 -->
  57. <view class="talent-header">
  58. <image :src="record.userAvatar" class="talent-avatar" mode="aspectFill"></image>
  59. <view class="talent-info">
  60. <view class="talent-name-section">
  61. <view class="talent-name">{{ record.userName }}</view>
  62. <view class="talent-tags">
  63. <view class="status-tag online" v-if="record.isOnline">在线</view>
  64. <view class="status-tag hot" v-if="record.isHot">热门搜索</view>
  65. <view class="status-tag active" v-if="record.lastActive">{{ record.lastActive }}</view>
  66. </view>
  67. </view>
  68. <!-- 经验和薪资 -->
  69. <view class="talent-experience">
  70. <text class="experience-text">{{ record.resumesWorkExperience }}年</text>
  71. <text class="education-salary">{{ record.degree }} {{ record.minSalary }}-{{record.maxSalary}}</text>
  72. <text class="status-text">{{ record.resumesStatus==1?'在职&考虑机会':"离职" }}</text>
  73. </view>
  74. </view>
  75. </view>
  76. <!-- 当前职位 -->
  77. <view class="current-job" v-if="record.companyName">
  78. <image src="../../static/images/aixin.svg" class="job-icon" mode="aspectFit"></image>
  79. <text class="job-text">{{ record.companyName }}</text>
  80. <text class="work-period">
  81. <span v-if="getYearMonthInterval(record.lastWorkStartTime, record.lastWorkEndTime)[0] > 0">{{ getYearMonthInterval(record.lastWorkStartTime, record.lastWorkEndTime)[0] }}年</span>
  82. {{ getYearMonthInterval(record.lastWorkStartTime, record.lastWorkEndTime)[1] }}个月</text>
  83. </view>
  84. <!-- 求职期望 -->
  85. <view class="job-expectation">
  86. <image src="../../static/images/xiangzi.svg" class="job-icon" mode="aspectFit"></image>
  87. <text class="expectation-text">求职期望: {{ record.expectedPosition }}</text>
  88. </view>
  89. <!-- 技能标签 -->
  90. <view class="skill-tags">
  91. <view
  92. class="skill-tag"
  93. v-for="(skill, skillIndex) in record.skillName.split(',')"
  94. :key="skillIndex"
  95. >
  96. {{ skill }}
  97. </view>
  98. </view>
  99. <!-- 工作描述 -->
  100. <view class="job-description">
  101. <text class="description-text">{{ record.workContent }}</text>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 空状态显示 -->
  108. <view class="empty-state" v-else>
  109. <view class="empty-illustration">
  110. <image src="../../static/images/index/Hrempty.svg" class="empty-image" mode="aspectFit" />
  111. </view>
  112. </view>
  113. </view>
  114. <!-- Interview Records List -->
  115. <view class="interview-list" v-if="activeTab === 1">
  116. <!-- Date Selector -->
  117. <view class="date-selector">
  118. <view class="week-days">
  119. <text class="day-name" v-for="day in currentWeekDays" :key="day.name">{{ day.name }}</text>
  120. </view>
  121. <view class="week-dates">
  122. <view
  123. class="date-item"
  124. :class="{ active: date.isSelected }"
  125. v-for="date in currentWeekDates"
  126. :key="date.value"
  127. @click="selectDate(date)"
  128. >
  129. <text class="date-value">{{ date.value }}</text>
  130. </view>
  131. </view>
  132. </view>
  133. <!-- Interview Records -->
  134. <view class="interview-records">
  135. <!-- 有数据时显示列表 -->
  136. <view v-if="interviewRecords.length > 0">
  137. <view
  138. class="interview-record"
  139. :class="{ 'today': formatDate(record.interviewDateTime,'YYYY-MM-DD') === formatDate(selectDate,'YYYY-MM-DD') }"
  140. v-for="(record, index) in interviewRecords"
  141. :key="index"
  142. @click="goToInterviewDetail(record)"
  143. >
  144. <view class="record-content">
  145. <view class="record-left">
  146. <text class="date-label">{{ checkDate(record.interviewDateTime) === 1 ? '今天' : checkDate(record.interviewDateTime) === 2 ? '明天' : record.interviewDateTime.substring(5, 10) }}</text>
  147. <text class="time-label">{{ record.detailTime? record.detailTime : record.interviewDateTime.substring(11, 16) }}</text>
  148. </view>
  149. <view class="record-divider"></view>
  150. <view class="record-right">
  151. <text class="candidate-name">{{ record.resumesListDto[0].userName }}</text>
  152. <text class="candidate-details">{{ record.resumesListDto[0].resumesWorkExperience }}年 {{ record.resumesListDto[0].degree }} {{ record.resumesListDto[0].minSalary }}-{{ record.resumesListDto[0].maxSalary }}</text>
  153. </view>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 空状态显示 -->
  158. <view class="empty-state" v-else>
  159. <view class="empty-illustration">
  160. <image src="../../static/images/index/Hrempty.svg" class="empty-image" mode="aspectFit" />
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <!-- 收藏标签页 -->
  166. <view class="favorite-list" v-if="activeTab === 2">
  167. <!-- 有数据时显示列表 -->
  168. <view v-if="favoriteRecords.length > 0">
  169. <!-- 收藏记录列表内容 -->
  170. <view class="qyList flex justify-center">
  171. <view class="qyList-box">
  172. <view
  173. class="qyList-box-item flex justify-center"
  174. v-for="(item, index) in favoriteRecords"
  175. :key="index"
  176. @click="goNav(`/pages/talentSearch/resumeDetail?resumesId=${item.resumesId}&postPushId=${item.postPushId}`)"
  177. >
  178. <view class="qyList-box-item-box">
  179. <view class="qyList-box-item-info flex justify-between align-center">
  180. <view class="qyList-box-item-info-l">
  181. <view
  182. class=""
  183. style="color: #212121; font-size: 38rpx; font-weight: 800"
  184. >
  185. {{ item.resumesListDto[0].userName }}
  186. </view>
  187. <view
  188. class="flex align-center flex-wrap"
  189. style="color: #999999; font-size: 26rpx; margin-top: 10rpx"
  190. >
  191. <text>{{ item.resumesListDto[0].userAge }}岁</text>
  192. <text style="margin-left: 20rpx; margin-right: 20rpx">|</text>
  193. <text>{{ item.resumesListDto[0].resumesWorkExperience }}年</text>
  194. <text style="margin-left: 20rpx; margin-right: 20rpx">|</text>
  195. <text>{{ item.resumesListDto[0].school }}</text>
  196. <text style="margin-left: 20rpx; margin-right: 20rpx">|</text>
  197. <text>期望 {{ item.resumesListDto[0].minSalary }}-{{ item.resumesListDto[0].maxSalary }}</text>
  198. </view>
  199. </view>
  200. <view class="qyList-box-item-info-r">
  201. <image
  202. :src="item.resumesListDto[0].userAvatar ? item.resumesListDto[0].userAvatar : '../../static/logo.png'"
  203. style="width: 95rpx; height: 95rpx; border-radius: 50%"
  204. mode=""
  205. ></image>
  206. </view>
  207. </view>
  208. <view class="qyList-box-item-job flex align-center">
  209. <u-icon
  210. name="heart-fill"
  211. color="#016BF6"
  212. size="30"
  213. style="margin-right: 16rpx"
  214. >
  215. </u-icon>
  216. 期望岗位:{{ item.resumesListDto[0].expectedPosition }}
  217. </view>
  218. <view
  219. class="qyList-box-item-job flex align-center"
  220. >
  221. <image
  222. src="../../static/images/qi.png"
  223. style="width: 30rpx; height: 32rpx; margin-right: 16rpx"
  224. mode=""
  225. ></image>
  226. {{ item.resumesListDto[0].companyName }} /
  227. {{ item.resumesListDto[0].lastWorkPosition }}
  228. </view>
  229. <view class="qyList-box-item-rem" v-if="item.resumesDetails">
  230. 优势:{{ item.resumesListDto[0].workContent }}
  231. </view>
  232. </view>
  233. </view>
  234. </view>
  235. </view>
  236. </view>
  237. <!-- 空状态显示 -->
  238. <view class="empty-state" v-else>
  239. <view class="empty-illustration">
  240. <image src="../../static/images/index/Hrempty.svg" class="empty-image" mode="aspectFit" />
  241. </view>
  242. </view>
  243. </view>
  244. <!-- 收藏职位标签页 -->
  245. <view class="favorite-jobs-list" v-if="activeTab === 3">
  246. <!-- 有数据时显示列表 -->
  247. <view v-if="favoriteJobs.length > 0">
  248. <!-- 收藏职位列表内容 -->
  249. </view>
  250. <!-- 空状态显示 -->
  251. <view class="empty-state" v-else>
  252. <view class="empty-illustration">
  253. <image src="../../static/images/index/Hrempty.svg" class="empty-image" mode="aspectFit" />
  254. </view>
  255. </view>
  256. </view>
  257. </view>
  258. </view>
  259. </template>
  260. <script>
  261. export default {
  262. data() {
  263. return {
  264. statusBarHeight: 0,
  265. activeTab: 0,
  266. tabs: [
  267. { name: '沟通过' },
  268. { name: '面试' },
  269. { name: '收藏简历' },
  270. // { name: '收藏职位' }
  271. ],
  272. communicationRecords: [],
  273. // 面试相关数据
  274. selectedDate: null, // 当前选中的日期
  275. // 收藏相关数据
  276. favoriteRecords: [], // 收藏记录(空数组,显示空状态)
  277. favoriteJobs: [], // 收藏职位(空数组,显示空状态)
  278. interviewRecords: [
  279. ]
  280. }
  281. },
  282. computed: {
  283. groupedRecords() {
  284. const groups = {}
  285. this.communicationRecords.forEach(record => {
  286. const date = record.lastTime.substring(0, 10)
  287. if (!groups[date]) {
  288. groups[date] = {
  289. date: date,
  290. records: []
  291. }
  292. }
  293. groups[date].records.push(record)
  294. })
  295. return Object.values(groups)
  296. },
  297. // 当前周的星期名称
  298. currentWeekDays() {
  299. const weekDays = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  300. return weekDays.map(name => ({ name }))
  301. },
  302. // 当前周的日期
  303. currentWeekDates() {
  304. const today = new Date()
  305. const currentDay = today.getDay() // 0-6,0是周日
  306. // 获取本周一的日期(周一开始)
  307. const monday = new Date(today)
  308. // 如果今天是周日(0),则往前推6天到周一
  309. // 如果今天是周一(1),则往前推0天
  310. // 如果今天是周二(2),则往前推1天
  311. const daysToMonday = currentDay === 0 ? 6 : currentDay - 1
  312. monday.setDate(today.getDate() - daysToMonday)
  313. // 生成本周7天的日期
  314. const weekDates = []
  315. for (let i = 0; i < 7; i++) {
  316. const date = new Date(monday)
  317. date.setDate(monday.getDate() + i)
  318. const isToday = date.toDateString() === today.toDateString()
  319. const isSelected = this.selectedDate ?
  320. date.toDateString() === this.selectedDate.toDateString() : isToday
  321. weekDates.push({
  322. value: date.getDate().toString(),
  323. date: date,
  324. isSelected: isSelected
  325. })
  326. }
  327. return weekDates
  328. }
  329. },
  330. onLoad(options) {
  331. console.log(options);
  332. this.activeTab = options.tab ? parseInt(options.tab) : 0
  333. const systemInfo = uni.getSystemInfoSync()
  334. this.statusBarHeight = systemInfo.statusBarHeight || 0
  335. this.getData()
  336. this.getInterviewRecords()
  337. this.getFavoriteRecords()
  338. },
  339. methods: {
  340. getFavoriteRecords(){
  341. this.$Request.getT("/app/myCollection/getCompanyCollectionList").then(res=>{
  342. console.log(res);
  343. this.favoriteRecords = res.data.records //收藏记录
  344. })
  345. },
  346. checkDate(targetDate) {
  347. const today = new Date();
  348. const tomorrow = new Date();
  349. tomorrow.setDate(today.getDate() + 1);
  350. const inputDate = new Date(targetDate);
  351. // 重置时间为 00:00:00 进行比较
  352. today.setHours(0, 0, 0, 0);
  353. tomorrow.setHours(0, 0, 0, 0);
  354. inputDate.setHours(0, 0, 0, 0);
  355. if (inputDate.getTime() === today.getTime()) {
  356. return 1; // 今天
  357. } else if (inputDate.getTime() === tomorrow.getTime()) {
  358. return 2; // 明天
  359. } else {
  360. return 0; // 其他日期
  361. }
  362. },
  363. formatDate(date, format = 'YYYY-MM-DD HH:mm:ss') {
  364. const d = new Date(date);
  365. const padZero = (num) => String(num).padStart(2, '0');
  366. const replacements = {
  367. 'YYYY': d.getFullYear(),
  368. 'MM': padZero(d.getMonth() + 1),
  369. 'DD': padZero(d.getDate()),
  370. 'HH': padZero(d.getHours()),
  371. 'mm': padZero(d.getMinutes()),
  372. 'ss': padZero(d.getSeconds()),
  373. 'SSS': padZero(d.getMilliseconds()).padStart(3, '0'),
  374. 'M': d.getMonth() + 1,
  375. 'D': d.getDate(),
  376. 'H': d.getHours(),
  377. 'm': d.getMinutes(),
  378. 's': d.getSeconds()
  379. };
  380. return format.replace(/YYYY|MM|DD|HH|mm|ss|SSS|M|D|H|m|s/g, match => replacements[match]);
  381. },
  382. getInterviewRecords(){
  383. this.$Request.getT("/app/interviewRecord/getHrInterviewList").then(res=>{
  384. console.log(res);
  385. this.interviewRecords = res.data.records //沟通记录
  386. })
  387. },
  388. getYearMonthInterval(startDate, endDate) {
  389. // 确保传入的是 Date 对象
  390. const start = new Date(startDate);
  391. const end = new Date(endDate);
  392. // 确保结束日期在开始日期之后
  393. if (end < start) {
  394. throw new Error('结束日期必须在开始日期之后');
  395. }
  396. // 计算年份差异
  397. let yearDiff = end.getFullYear() - start.getFullYear();
  398. // 计算月份差异
  399. let monthDiff = end.getMonth() - start.getMonth();
  400. // 如果结束日期的月份小于开始日期的月份,需要借年
  401. if (monthDiff < 0) {
  402. yearDiff--;
  403. monthDiff += 12;
  404. }
  405. // 如果月份相同,但结束日期的日期小于开始日期的日期,也需要借月
  406. if (monthDiff === 0 && end.getDate() < start.getDate()) {
  407. yearDiff--;
  408. monthDiff = 11;
  409. } else if (end.getDate() < start.getDate()) {
  410. monthDiff--;
  411. }
  412. return [yearDiff, monthDiff];
  413. },
  414. goBack() {
  415. uni.navigateBack()
  416. },
  417. switchTab(index) {
  418. this.activeTab = index
  419. },
  420. goToResumeDetail(record) {
  421. console.log('查看简历详情:', record)
  422. uni.navigateTo({
  423. url: `/pages/talentSearch/resumeDetail?resumeId=${record.id}`
  424. })
  425. },
  426. selectDate(date) {
  427. // 选中当前点击的日期
  428. this.selectedDate = date.date
  429. console.log('选中日期:', date.date)
  430. },
  431. goToInterviewDetail(record) {
  432. console.log('查看面试详情:', record)
  433. uni.navigateTo({
  434. url: `/my/jilu/bossMianshiDetail?recordId=${record.recordId}`
  435. })
  436. },
  437. goToInterviewManage() {
  438. console.log('跳转到面试管理')
  439. uni.navigateTo({
  440. url: '/pages/recruitmentData/interviewManage'
  441. })
  442. },
  443. getData(){
  444. this.$Request.getT("/app/chat/chatUser").then(res=>{
  445. console.log(res);
  446. this.communicationRecords = res.records //沟通记录
  447. })
  448. },
  449. goNav(url){
  450. uni.navigateTo({
  451. url: url
  452. })
  453. }
  454. }
  455. }
  456. </script>
  457. <style lang="scss" scoped>
  458. .page {
  459. height: 100vh;
  460. overflow: hidden;
  461. }
  462. .tab-section-bg {
  463. position: fixed;
  464. top: 150rpx;
  465. left: 0;
  466. right: 0;
  467. z-index: 1000;
  468. background-color: #ffffff;
  469. padding: 32rpx;
  470. display: flex;
  471. justify-content: space-between;
  472. align-items: center;
  473. .title-text {
  474. color: rgba(51, 51, 51, 1);
  475. font-family: DM Sans;
  476. font-size: 48rpx;
  477. font-weight: 700;
  478. line-height: 60rpx;
  479. letter-spacing: 0px;
  480. }
  481. .interview-manage {
  482. color: rgba(1, 107, 246, 1);
  483. font-family: DM Sans;
  484. font-size: 28rpx;
  485. font-weight: 400;
  486. line-height: 60rpx;
  487. letter-spacing: 0px;
  488. text-align: left;
  489. }
  490. }
  491. /* Custom Navbar */
  492. .custom-navbar {
  493. position: fixed;
  494. top: 0;
  495. left: 0;
  496. right: 0;
  497. z-index: 1000;
  498. background-color: #ffffff;
  499. padding-top: 80rpx;
  500. }
  501. .navbar-content {
  502. display: flex;
  503. align-items: center;
  504. justify-content: space-between;
  505. height: 44px;
  506. padding: 20rpx;
  507. }
  508. .navbar-left {
  509. width: 44px;
  510. height: 44px;
  511. display: flex;
  512. align-items: center;
  513. justify-content: center;
  514. }
  515. .navbar-title {
  516. color: rgba(51, 51, 51, 1);
  517. font-family: DM Sans;
  518. font-size: 30rpx;
  519. font-weight: 700;
  520. line-height: 52rpx;
  521. letter-spacing: 0.5%;
  522. text-align: center;
  523. }
  524. .navbar-right {
  525. width: 44px;
  526. }
  527. /* Tab Section */
  528. .tab-section {
  529. position: fixed;
  530. top: 250rpx;
  531. left: 0;
  532. right: 0;
  533. background: white;
  534. z-index: 99;
  535. }
  536. /* Content Section */
  537. .content-section {
  538. margin-top: 330rpx;
  539. padding: 20rpx;
  540. height: calc(100vh - 330rpx) !important;
  541. overflow-y: auto;
  542. }
  543. /* Date Group */
  544. .date-group {
  545. margin-bottom: 20rpx;
  546. }
  547. .date-header {
  548. margin-bottom: 16rpx;
  549. }
  550. .date-text {
  551. color: rgba(153, 153, 153, 1);
  552. font-family: DM Sans;
  553. font-size: 24rpx;
  554. font-weight: 400;
  555. line-height: 32rpx;
  556. margin-left: 32rpx;
  557. }
  558. /* Talent Card */
  559. .talent-card {
  560. background-color: #ffffff;
  561. border-radius: 16rpx;
  562. margin-bottom: 20rpx;
  563. padding: 30rpx;
  564. // box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  565. }
  566. .talent-content {
  567. .talent-header {
  568. display: flex;
  569. align-items: flex-start;
  570. .talent-avatar {
  571. width: 80rpx;
  572. height: 80rpx;
  573. border-radius: 50%;
  574. margin-right: 20rpx;
  575. }
  576. .talent-info {
  577. flex: 1;
  578. .talent-name-section {
  579. display: flex;
  580. align-items: center;
  581. justify-content: flex-start;
  582. width: 100%;
  583. margin-bottom: 6rpx;
  584. }
  585. .talent-name {
  586. color: rgba(51, 51, 51, 1);
  587. font-family: DM Sans;
  588. font-size: 28rpx;
  589. font-weight: 500;
  590. line-height: 36rpx;
  591. letter-spacing: 0.5%;
  592. text-align: left;
  593. margin-right: 16rpx;
  594. }
  595. .talent-tags {
  596. display: flex;
  597. flex-wrap: wrap;
  598. gap: 10rpx;
  599. .status-tag {
  600. padding: 8rpx;
  601. border-radius: 12rpx;
  602. font-size: 18rpx;
  603. font-family: DM Sans;
  604. font-weight: 400;
  605. line-height: 20rpx;
  606. letter-spacing: -0.5px;
  607. text-align: left;
  608. &.online {
  609. background: rgba(213, 255, 231, 1);
  610. color: rgba(29, 209, 104, 1);
  611. }
  612. &.hot {
  613. background: rgba(252, 233, 220, 1);
  614. color: rgba(1, 107, 246, 1);
  615. }
  616. &.active {
  617. color: rgba(153, 153, 153, 1);
  618. }
  619. }
  620. }
  621. }
  622. }
  623. .talent-experience {
  624. display: flex;
  625. align-items: center;
  626. margin-bottom: 12rpx;
  627. gap: 16rpx;
  628. color: rgba(156, 164, 171, 1);
  629. font-family: DM Sans;
  630. font-size: 24rpx;
  631. font-weight: 400;
  632. line-height: 32rpx;
  633. letter-spacing: 0.5%;
  634. text-align: left;
  635. }
  636. .current-job {
  637. display: flex;
  638. align-items: center;
  639. margin-bottom: 12rpx;
  640. .job-icon {
  641. width: 40rpx;
  642. height: 40rpx;
  643. margin-right: 8rpx;
  644. }
  645. .job-text {
  646. color: rgba(156, 164, 171, 1);
  647. font-family: DM Sans;
  648. font-size: 24rpx;
  649. font-weight: 400;
  650. line-height: 40rpx;
  651. letter-spacing: 0.5%;
  652. text-align: left;
  653. flex: 1;
  654. }
  655. .work-period {
  656. color: rgba(153, 153, 153, 1);
  657. font-family: DM Sans;
  658. font-size: 22rpx;
  659. font-weight: 400;
  660. line-height: 28rpx;
  661. }
  662. }
  663. .job-expectation {
  664. display: flex;
  665. align-items: center;
  666. margin-bottom: 16rpx;
  667. .job-icon {
  668. width: 40rpx;
  669. height: 40rpx;
  670. margin-right: 8rpx;
  671. }
  672. .expectation-text {
  673. color: rgba(156, 164, 171, 1);
  674. font-family: DM Sans;
  675. font-size: 24rpx;
  676. font-weight: 400;
  677. line-height: 40rpx;
  678. letter-spacing: 0.5%;
  679. text-align: left;
  680. }
  681. }
  682. .skill-tags {
  683. display: flex;
  684. flex-wrap: wrap;
  685. gap: 10rpx;
  686. margin-bottom: 16rpx;
  687. .skill-tag {
  688. padding: 8rpx;
  689. background: rgba(198, 198, 198, 0.1);
  690. border-radius: 12rpx;
  691. color: rgba(153, 153, 153, 1);
  692. font-family: DM Sans;
  693. font-size: 20rpx;
  694. font-weight: 400;
  695. line-height: 20rpx;
  696. letter-spacing: -0.5px;
  697. text-align: left;
  698. }
  699. }
  700. .job-description {
  701. margin-bottom: 12rpx;
  702. .description-text {
  703. color: rgba(97, 110, 124, 1);
  704. font-family: DM Sans;
  705. font-size: 24rpx;
  706. font-weight: 400;
  707. line-height: 32rpx;
  708. letter-spacing: 0px;
  709. text-align: left;
  710. }
  711. }
  712. }
  713. /* Interview List Styles */
  714. .interview-list {
  715. padding: 0 20rpx;
  716. }
  717. /* Date Selector */
  718. .date-selector {
  719. background: #ffffff;
  720. border-radius: 12rpx;
  721. padding: 24rpx 0;
  722. // margin-bottom: 20rpx;
  723. // border: 0.5px solid rgba(227, 231, 236, 1);
  724. }
  725. .week-days {
  726. display: flex;
  727. justify-content: space-between;
  728. margin-bottom: 16rpx;
  729. }
  730. .day-name {
  731. color: rgba(153, 153, 153, 1);
  732. font-family: DM Sans;
  733. font-size: 24rpx;
  734. font-weight: 400;
  735. line-height: 32rpx;
  736. text-align: center;
  737. flex: 1;
  738. }
  739. .week-dates {
  740. display: flex;
  741. justify-content: space-between;
  742. }
  743. .date-item {
  744. flex: 1;
  745. display: flex;
  746. justify-content: center;
  747. align-items: center;
  748. height: 60rpx;
  749. border-radius: 50%;
  750. cursor: pointer;
  751. min-width: 60rpx;
  752. max-width: 60rpx;
  753. }
  754. .date-item.active {
  755. background: rgba(1, 107, 246, 1);
  756. }
  757. .date-value {
  758. color: rgba(51, 51, 51, 1);
  759. font-family: DM Sans;
  760. font-size: 28rpx;
  761. font-weight: 400;
  762. line-height: 36rpx;
  763. text-align: center;
  764. }
  765. .date-item.active .date-value {
  766. color: #ffffff;
  767. }
  768. /* Interview Records */
  769. .interview-records {
  770. background: #ffffff;
  771. border-radius: 12rpx;
  772. padding: 24rpx 0;
  773. // border: 0.5px solid rgba(227, 231, 236, 1);
  774. }
  775. .interview-record {
  776. display: flex;
  777. position: relative;
  778. border-radius: 8rpx;
  779. margin-bottom: 16rpx;
  780. }
  781. .interview-record.today {
  782. background: rgba(250, 187, 143, 1);
  783. }
  784. .interview-record:not(.today) {
  785. background: rgba(221, 221, 221, 1);
  786. }
  787. .interview-record:last-child {
  788. margin-bottom: 0;
  789. }
  790. /* Record Content */
  791. .record-content {
  792. flex: 1;
  793. display: flex;
  794. align-items: center;
  795. gap: 24rpx;
  796. }
  797. .record-left {
  798. display: flex;
  799. flex-direction: column;
  800. min-width: 80rpx;
  801. padding: 32rpx;
  802. }
  803. .record-divider {
  804. width: 10rpx;
  805. height: 100%;
  806. background: rgba(1, 107, 246, 1);
  807. }
  808. .record-right {
  809. flex: 1;
  810. display: flex;
  811. flex-direction: column;
  812. gap: 8rpx;
  813. }
  814. .date-label {
  815. color: rgba(106, 106, 106, 1);
  816. font-family: DM Sans;
  817. font-size: 16rpx;
  818. font-weight: 400;
  819. line-height: 40rpx;
  820. letter-spacing: 0.5%;
  821. text-align: right;
  822. }
  823. .time-label {
  824. color: rgba(106, 106, 106, 1);
  825. font-family: DM Sans;
  826. font-size: 24rpx;
  827. font-weight: 400;
  828. line-height: 32rpx;
  829. letter-spacing: 0.5%;
  830. text-align: left;
  831. }
  832. .candidate-name {
  833. color: rgba(51, 51, 51, 1);
  834. font-family: DM Sans;
  835. font-size: 32rpx;
  836. font-weight: 600;
  837. line-height: 40rpx;
  838. }
  839. .candidate-details {
  840. color: rgba(102, 102, 102, 1);
  841. font-family: DM Sans;
  842. font-size: 24rpx;
  843. font-weight: 400;
  844. line-height: 32rpx;
  845. }
  846. /* Empty State - 与jobManagement页面保持一致 */
  847. .empty-state {
  848. display: flex;
  849. align-items: center;
  850. justify-content: center;
  851. padding: 40rpx;
  852. .empty-illustration {
  853. margin-bottom: 40rpx;
  854. .empty-image {
  855. width: 700rpx;
  856. height: 800rpx;
  857. }
  858. }
  859. .empty-text {
  860. color: rgba(120, 130, 138, 1);
  861. font-family: DM Sans;
  862. font-size: 28rpx;
  863. font-weight: 400;
  864. line-height: 36rpx;
  865. letter-spacing: 0.5%;
  866. text-align: center;
  867. }
  868. }
  869. .qyList {
  870. width: 100%;
  871. height: auto;
  872. margin-top: 20rpx;
  873. .qyList-box {
  874. width: 686rpx;
  875. height: 100%;
  876. .qyList-box-item {
  877. width: 100%;
  878. // height: 400rpx;
  879. padding-bottom: 40rpx;
  880. background-color: #ffffff;
  881. border-radius: 24rpx;
  882. margin-bottom: 20rpx;
  883. .qyList-box-item-box {
  884. width: 626rpx;
  885. height: 100%;
  886. }
  887. .qyList-box-item-info {
  888. margin-top: 40rpx;
  889. }
  890. .qyList-box-item-job {
  891. color: #121212;
  892. font-size: 28rpx;
  893. font-weight: 500;
  894. margin-top: 20rpx;
  895. }
  896. .qyList-box-item-rem {
  897. color: #999999;
  898. font-size: 26rpx;
  899. margin-top: 20rpx;
  900. }
  901. }
  902. }
  903. }
  904. </style>