personalCenter.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. <template>
  2. <view class="personal-center">
  3. <!-- 头部用户信息区域 -->
  4. <view class="header-section">
  5. <!-- 设置和通知图标 -->
  6. <view class="header-icons">
  7. <image src="../../static/images/index/Myset.svg" style="width: 32rpx;height: 32rpx;" mode="aspectFill"></image>
  8. <image src="../../static/images/index/setting.svg" style="width: 32rpx;height: 32rpx;" mode="aspectFill"></image>
  9. </view>
  10. <!-- 用户信息 -->
  11. <view class="user-info">
  12. <view class="avatar-container">
  13. <image src="../../static/logo.png" class="user-avatar" mode="aspectFill"></image>
  14. </view>
  15. <view class="user-details">
  16. <view class="user-name">罗维靖</view>
  17. <view class="resume-info">
  18. <text class="resume-text">在线简历</text>
  19. <image class="edit-icon" src="../../static/images/index/myEdit.svg"></image>
  20. </view>
  21. </view>
  22. <u-icon name="arrow-right" color="rgba(255, 255, 255, 1)" size="32"></u-icon>
  23. </view>
  24. </view>
  25. <!-- 统计数据栏 -->
  26. <view class="stats-bar">
  27. <view class="stat-item">
  28. <text class="stat-number">34</text>
  29. <text class="stat-label">沟通通过</text>
  30. </view>
  31. <view class="stat-item">
  32. <text class="stat-number">56</text>
  33. <text class="stat-label">已投简历</text>
  34. </view>
  35. <view class="stat-item">
  36. <text class="stat-number">666</text>
  37. <text class="stat-label">待面试</text>
  38. </view>
  39. <view class="stat-item">
  40. <text class="stat-number">6</text>
  41. <text class="stat-label">收藏</text>
  42. </view>
  43. </view>
  44. <!-- 推广横幅 -->
  45. <view class="promo-banner">
  46. <view class="banner-content">
  47. <view class="banner-text">
  48. <text class="banner-title">牛人找资金</text>
  49. <text class="banner-subtitle">带上你的超级项目,这里有无限的可能</text>
  50. </view>
  51. <view class="banner-button">
  52. <text class="button-text">立即参与</text>
  53. </view>
  54. </view>
  55. </view>
  56. <!-- 快速功能区域 -->
  57. <view class="quick-functions">
  58. <view class="function-item">
  59. <image src="../../static/images/index/qwzn.svg" class="function-icon"></image>
  60. <text class="function-text">在线简历</text>
  61. </view>
  62. <view class="function-item">
  63. <image src="../../static/images/index/cpbk.svg" class="function-icon"></image>
  64. <text class="function-text">附件简历</text>
  65. </view>
  66. <view class="function-item">
  67. <image src="../../static/images/index/fwzx.svg" class="function-icon"></image>
  68. <text class="function-text">求职意向</text>
  69. </view>
  70. <view class="function-item">
  71. <image src="../../static/images/index/rmhd.svg" class="function-icon"></image>
  72. <text class="function-text">项目中心</text>
  73. </view>
  74. </view>
  75. <!-- 更多功能区域 -->
  76. <view class="more-functions">
  77. <text class="section-title">更多功能</text>
  78. <view class="function-grid">
  79. <view class="function-item">
  80. <image src="../../static/images/index/moreSkill1.svg" class="function-icon"></image>
  81. <text class="function-text">猎头服务</text>
  82. </view>
  83. <view class="function-item">
  84. <image src="../../static/images/index/moreSkill2.svg" class="function-icon"></image>
  85. <text class="function-text">精选公司</text>
  86. </view>
  87. <view class="function-item">
  88. <image src="../../static/images/index/moreSkill3.svg" class="function-icon"></image>
  89. <text class="function-text">规则中心</text>
  90. </view>
  91. <view class="function-item">
  92. <image src="../../static/images/index/moreSkill4.svg" class="function-icon"></image>
  93. <text class="function-text">联系客服</text>
  94. </view>
  95. </view>
  96. </view>
  97. <!-- 联系信息 -->
  98. <view class="contact-info">
  99. <text class="contact-text">客服电话 400-000-0100 工作时间08:00-22:00</text>
  100. <text class="legal-text">人力资源服务许可证 营业执照 深圳市人社局监督电话</text>
  101. <text class="icp-text">粤ICP备231231311231号-23A 粤ICP证12313131号</text>
  102. </view>
  103. </view>
  104. </template>
  105. <script>
  106. export default {
  107. data() {
  108. return {
  109. }
  110. },
  111. methods: {
  112. }
  113. }
  114. </script>
  115. <style lang="scss" scoped>
  116. .personal-center {
  117. min-height: 100vh;
  118. background: url('../../static/images/index/myBc.png') no-repeat;
  119. background-size: 100% 40%;
  120. background-position: top center;
  121. padding-top: 80rpx;
  122. }
  123. // 顶部状态栏
  124. .status-bar {
  125. display: flex;
  126. justify-content: space-between;
  127. align-items: center;
  128. padding: 20rpx 40rpx;
  129. background-color: #fff;
  130. .time {
  131. color: #000;
  132. font-size: 32rpx;
  133. font-weight: 600;
  134. }
  135. .status-icons {
  136. display: flex;
  137. gap: 16rpx;
  138. .signal-icon, .wifi-icon, .battery-icon {
  139. width: 24rpx;
  140. height: 24rpx;
  141. background-color: #000;
  142. border-radius: 4rpx;
  143. }
  144. }
  145. }
  146. // 头部用户信息区域
  147. .header-section {
  148. // background: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  149. padding: 40rpx 32rpx;
  150. position: relative;
  151. .header-icons {
  152. display: flex;
  153. justify-content: flex-end;
  154. gap: 32rpx;
  155. margin-bottom: 40rpx;
  156. .notification-icon, .settings-icon {
  157. width: 48rpx;
  158. height: 48rpx;
  159. background-color: rgba(255, 255, 255, 0.2);
  160. border-radius: 50%;
  161. }
  162. }
  163. .user-info {
  164. display: flex;
  165. align-items: center;
  166. gap: 32rpx;
  167. .avatar-container {
  168. .user-avatar {
  169. width: 128rpx;
  170. height: 128rpx;
  171. border-radius: 50%;
  172. }
  173. }
  174. .user-details {
  175. flex: 1;
  176. .user-name {
  177. color: rgba(255, 255, 255, 1);
  178. font-family: DM Sans;
  179. font-size: 48rpx;
  180. font-weight: 400;
  181. line-height: 72rpx;
  182. letter-spacing: 0.5%;
  183. text-align: left;
  184. }
  185. .resume-info {
  186. display: flex;
  187. align-items: center;
  188. gap: 16rpx;
  189. .resume-text {
  190. color: rgba(255, 255, 255, 1);
  191. font-family: DM Sans;
  192. font-size: 24rpx;
  193. font-weight: 400;
  194. line-height: 32rpx;
  195. letter-spacing: 0%;
  196. text-align: left;
  197. }
  198. .edit-icon {
  199. width: 32rpx;
  200. height: 32rpx;
  201. border-radius: 8rpx;
  202. }
  203. }
  204. }
  205. }
  206. }
  207. // 统计数据栏
  208. .stats-bar {
  209. border-radius: 24rpx;
  210. display: flex;
  211. justify-content: space-around;
  212. .stat-item {
  213. display: flex;
  214. flex-direction: column;
  215. align-items: center;
  216. gap: 8rpx;
  217. .stat-number {
  218. color: rgba(255, 255, 255, 1);
  219. font-family: DM Sans;
  220. font-size: 36rpx;
  221. font-weight: 400;
  222. line-height: 26px;
  223. letter-spacing: 0%;
  224. text-align: center;
  225. }
  226. .stat-label {
  227. color: rgba(255, 255, 255, 1);
  228. font-family: DM Sans;
  229. font-size: 28rpx;
  230. font-weight: 400;
  231. line-height: 20px;
  232. letter-spacing: 0%;
  233. text-align: center;
  234. }
  235. }
  236. }
  237. // 推广横幅
  238. .promo-banner {
  239. margin: 40rpx;
  240. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  241. border-radius: 24rpx;
  242. padding: 16rpx 40rpx;
  243. .banner-content {
  244. display: flex;
  245. justify-content: space-between;
  246. align-items: center;
  247. .banner-text {
  248. flex: 1;
  249. .banner-title {
  250. color: rgba(255, 255, 255, 1);
  251. font-family: HarmonyOS Sans SC;
  252. font-size: 32rpx;
  253. font-weight: 900;
  254. line-height: 48rpx;
  255. letter-spacing: 0%;
  256. text-align: left;
  257. display: block;
  258. margin-bottom: 8rpx;
  259. transform: skew(-10deg);
  260. }
  261. .banner-subtitle {
  262. color: rgba(255, 255, 255, 0.7);
  263. font-family: HarmonyOS Sans SC;
  264. font-size: 26rpx;
  265. font-weight: 400;
  266. line-height: 36rpx;
  267. letter-spacing: 0%;
  268. text-align: left;
  269. display: block;
  270. }
  271. }
  272. .banner-button {
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. width: 138rpx;
  277. height: 48rpx;
  278. border-radius: 26px;
  279. background: #FFFFFF;
  280. .button-text {
  281. background: var(--线性渐变, linear-gradient(90.00deg, rgba(13, 39, 247, 1),rgba(19, 193, 234, 1) 100%));
  282. -webkit-background-clip:text;
  283. -webkit-text-fill-color:transparent;
  284. background-clip:text;
  285. text-fill-color:transparent;
  286. font-family: HarmonyOS Sans SC;
  287. font-size: 26rpx;
  288. font-weight: 500;
  289. line-height: 18px;
  290. letter-spacing: 0%;
  291. text-align: left;
  292. }
  293. }
  294. }
  295. }
  296. // 快速功能区域
  297. .quick-functions {
  298. margin: 0 32rpx;
  299. border-radius: 24rpx;
  300. padding: 48rpx;
  301. display: flex;
  302. justify-content: space-between;
  303. .function-item {
  304. display: flex;
  305. flex-direction: column;
  306. align-items: center;
  307. gap: 16rpx;
  308. .function-icon {
  309. width: 64rpx;
  310. height: 64rpx;
  311. }
  312. .function-text {
  313. color: rgba(56, 58, 63, 1);
  314. font-family: DM Sans;
  315. font-size: 24rpx;
  316. font-weight: 400;
  317. line-height: 18px;
  318. letter-spacing: 0%;
  319. text-align: center;
  320. }
  321. }
  322. }
  323. // 更多功能区域
  324. .more-functions {
  325. margin: 0 32rpx;
  326. padding: 24rpx 48rpx 48rpx 48rpx;
  327. background: #fff;
  328. border-radius: 24rpx;
  329. .section-title {
  330. color: rgba(29, 33, 41, 1);
  331. font-family: DM Sans;
  332. font-size: 28rpx;
  333. font-weight: 500;
  334. line-height: 44rpx;
  335. letter-spacing: 0%;
  336. text-align: left;
  337. }
  338. .function-grid {
  339. margin-top: 24rpx;
  340. display: flex;
  341. justify-content: space-between;
  342. border-top: 0.5px solid rgba(238, 238, 238, 1);
  343. padding-top: 16rpx;
  344. .function-item {
  345. display: flex;
  346. flex-direction: column;
  347. align-items: center;
  348. gap: 16rpx;
  349. .function-icon {
  350. width: 48rpx;
  351. height: 48rpx;
  352. }
  353. .function-text {
  354. color: #333;
  355. font-size: 24rpx;
  356. font-weight: 500;
  357. }
  358. }
  359. }
  360. }
  361. // 联系信息
  362. .contact-info {
  363. margin: 0 40rpx 120rpx 40rpx;
  364. padding: 40rpx;
  365. .contact-text, .legal-text, .icp-text {
  366. display: block;
  367. color: rgba(153, 153, 153, 1);
  368. font-family: DM Sans;
  369. font-size: 18rpx;
  370. font-weight: 400;
  371. line-height: 1.6;
  372. letter-spacing: 0%;
  373. text-align: center;
  374. margin-bottom: 8rpx;
  375. }
  376. }
  377. // 底部导航栏
  378. .bottom-nav {
  379. position: fixed;
  380. bottom: 0;
  381. left: 0;
  382. right: 0;
  383. background: #fff;
  384. border-top: 1rpx solid #f0f0f0;
  385. padding: 20rpx 0;
  386. display: flex;
  387. justify-content: space-around;
  388. .nav-item {
  389. display: flex;
  390. flex-direction: column;
  391. align-items: center;
  392. gap: 8rpx;
  393. .nav-icon {
  394. width: 48rpx;
  395. height: 48rpx;
  396. border-radius: 12rpx;
  397. background-color: #ccc;
  398. &.home-icon, &.urgent-icon, &.message-icon {
  399. background-color: #ccc;
  400. }
  401. &.personal-icon {
  402. background-color: #007AFF;
  403. }
  404. }
  405. .nav-text {
  406. font-size: 20rpx;
  407. color: #999;
  408. .active & {
  409. color: #007AFF;
  410. }
  411. }
  412. &.active .nav-text {
  413. color: #007AFF;
  414. }
  415. }
  416. }
  417. </style>