success.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <view class="success-container">
  3. <!-- 用户头像 -->
  4. <view class="avatar-container">
  5. <view class="avatar-circle"></view>
  6. </view>
  7. <!-- 面试结束提示 -->
  8. <view class="interview-status">
  9. <text class="status-text">AI面试已结束</text>
  10. </view>
  11. <!-- 提示信息 -->
  12. <view class="tips-container">
  13. <text class="tips-text">本次面试的全部环节已结束,非常感谢您的参与</text>
  14. </view>
  15. <!-- 底部按钮 -->
  16. <view class="btn-container">
  17. <button class="confirm-btn" @click="goBack">我知道了</button>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. interviewInfo: {
  26. position: '前端岗位',
  27. startTime: '2024/06/28 14:48',
  28. endTime: '2024/06/28 16:47',
  29. company: '敏龙科技集团有限公司'
  30. }
  31. }
  32. },
  33. methods: {
  34. goBack() {
  35. uni.switchTab({
  36. url: '/pages/index/index'
  37. });
  38. }
  39. }
  40. }
  41. </script>
  42. <style>
  43. .success-container {
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. min-height: 100vh;
  48. background-color: #ffffff;
  49. padding: 30rpx;
  50. }
  51. .avatar-container {
  52. margin-top: 100rpx;
  53. margin-bottom: 40rpx;
  54. }
  55. .avatar-circle {
  56. width: 180rpx;
  57. height: 180rpx;
  58. background-color: #f5f5f5;
  59. border-radius: 50%;
  60. position: relative;
  61. }
  62. .avatar-circle::after {
  63. content: '';
  64. position: absolute;
  65. bottom: -30rpx;
  66. left: 50%;
  67. transform: translateX(-50%);
  68. width: 120rpx;
  69. height: 60rpx;
  70. background-color: #f5f5f5;
  71. border-radius: 60rpx 60rpx 0 0;
  72. }
  73. .interview-status {
  74. margin-top: 60rpx;
  75. margin-bottom: 20rpx;
  76. }
  77. .status-text {
  78. font-size: 36rpx;
  79. color: #007AFF;
  80. font-weight: normal;
  81. }
  82. .tips-container {
  83. padding: 0 60rpx;
  84. text-align: center;
  85. margin-bottom: 60rpx;
  86. }
  87. .tips-text {
  88. font-size: 28rpx;
  89. color: #999999;
  90. line-height: 1.5;
  91. }
  92. .btn-container {
  93. margin-top: 80rpx;
  94. width: 100%;
  95. padding: 0 40rpx;
  96. }
  97. .confirm-btn {
  98. width: 100%;
  99. height: 90rpx;
  100. line-height: 90rpx;
  101. background-color: #ffffff;
  102. color: #333333;
  103. border-radius: 45rpx;
  104. font-size: 32rpx;
  105. border: 1px solid #e0e0e0;
  106. }
  107. </style>