success.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.navigateBack({
  36. delta: 1,
  37. fail: () => {
  38. uni.reLaunch({
  39. url: '/pages/index/index'
  40. });
  41. }
  42. });
  43. }
  44. }
  45. }
  46. </script>
  47. <style>
  48. .success-container {
  49. display: flex;
  50. flex-direction: column;
  51. align-items: center;
  52. min-height: 100vh;
  53. background-color: #ffffff;
  54. padding: 30rpx;
  55. }
  56. .avatar-container {
  57. margin-top: 100rpx;
  58. margin-bottom: 40rpx;
  59. }
  60. .avatar-circle {
  61. width: 180rpx;
  62. height: 180rpx;
  63. background-color: #f5f5f5;
  64. border-radius: 50%;
  65. position: relative;
  66. }
  67. .avatar-circle::after {
  68. content: '';
  69. position: absolute;
  70. bottom: -30rpx;
  71. left: 50%;
  72. transform: translateX(-50%);
  73. width: 120rpx;
  74. height: 60rpx;
  75. background-color: #f5f5f5;
  76. border-radius: 60rpx 60rpx 0 0;
  77. }
  78. .interview-status {
  79. margin-top: 60rpx;
  80. margin-bottom: 20rpx;
  81. }
  82. .status-text {
  83. font-size: 36rpx;
  84. color: #007AFF;
  85. font-weight: normal;
  86. }
  87. .tips-container {
  88. padding: 0 60rpx;
  89. text-align: center;
  90. margin-bottom: 60rpx;
  91. }
  92. .tips-text {
  93. font-size: 28rpx;
  94. color: #999999;
  95. line-height: 1.5;
  96. }
  97. .btn-container {
  98. margin-top: 80rpx;
  99. width: 100%;
  100. padding: 0 40rpx;
  101. }
  102. .confirm-btn {
  103. width: 100%;
  104. height: 90rpx;
  105. line-height: 90rpx;
  106. background-color: #ffffff;
  107. color: #333333;
  108. border-radius: 45rpx;
  109. font-size: 32rpx;
  110. border: 1px solid #e0e0e0;
  111. }
  112. </style>