success.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <template>
  2. <view class="success-container">
  3. <!-- 成功图标 -->
  4. <view class="success-icon">
  5. <view class="icon-circle">
  6. <text class="iconfont icon-check">✓</text>
  7. </view>
  8. <text class="success-text">面试报名成功</text>
  9. </view>
  10. <!-- 面试信息 -->
  11. <view class="interview-info">
  12. <view class="info-title">面试信息</view>
  13. <view class="info-item">
  14. <text class="label">面试时间:</text>
  15. <text class="value">2024/06/28 14:48</text>
  16. </view>
  17. <view class="info-item time-end">
  18. <text class="value">2024/06/28 16:47</text>
  19. </view>
  20. <view class="info-item">
  21. <text class="label">面试公司:</text>
  22. <text class="value">敏龙科技集团有限公司</text>
  23. </view>
  24. </view>
  25. <!-- 底部按钮 -->
  26. <view class="btn-container">
  27. <button class="start-btn" @click="startInterview">开始面试</button>
  28. </view>
  29. <!-- 底部提示 -->
  30. <view class="bottom-tips">
  31. <text>本次面试将在约定时间内有效,请按时参加面试</text>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. interviewInfo: {
  40. position: '前端岗位',
  41. startTime: '2024/06/28 14:48',
  42. endTime: '2024/06/28 16:47',
  43. company: '敏龙科技集团有限公司'
  44. }
  45. }
  46. },
  47. methods: {
  48. startInterview() {
  49. uni.navigateTo({
  50. url: '/pages/interview-notice/interview-notice',
  51. fail: (err) => {
  52. console.error('页面跳转失败:', err);
  53. uni.showToast({
  54. title: '页面跳转失败',
  55. icon: 'none'
  56. });
  57. }
  58. });
  59. }
  60. }
  61. }
  62. </script>
  63. <style>
  64. .success-container {
  65. display: flex;
  66. flex-direction: column;
  67. min-height: 100vh;
  68. background-color: #f5f7fa;
  69. padding: 30rpx;
  70. }
  71. .success-icon {
  72. display: flex;
  73. flex-direction: column;
  74. align-items: center;
  75. margin: 60rpx 0;
  76. }
  77. .icon-circle {
  78. width: 120rpx;
  79. height: 120rpx;
  80. background-color: #4cd137;
  81. border-radius: 50%;
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. margin-bottom: 20rpx;
  86. }
  87. .icon-check {
  88. color: white;
  89. font-size: 60rpx;
  90. font-weight: bold;
  91. }
  92. .success-text {
  93. font-size: 36rpx;
  94. font-weight: bold;
  95. color: #333;
  96. }
  97. .interview-info {
  98. background-color: #fff;
  99. border-radius: 12rpx;
  100. padding: 30rpx;
  101. margin-bottom: 40rpx;
  102. }
  103. .info-title {
  104. font-size: 32rpx;
  105. font-weight: bold;
  106. margin-bottom: 20rpx;
  107. }
  108. .info-item {
  109. display: flex;
  110. margin: 15rpx 0;
  111. font-size: 28rpx;
  112. color: #333;
  113. }
  114. .time-end {
  115. margin-top: -10rpx;
  116. padding-left: 120rpx;
  117. }
  118. .label {
  119. color: #666;
  120. width: 120rpx;
  121. }
  122. .btn-container {
  123. margin: 40rpx 0;
  124. }
  125. .start-btn {
  126. width: 100%;
  127. height: 90rpx;
  128. line-height: 90rpx;
  129. background-color: #6c5ce7;
  130. color: #fff;
  131. border-radius: 45rpx;
  132. font-size: 32rpx;
  133. }
  134. .bottom-tips {
  135. text-align: center;
  136. font-size: 24rpx;
  137. color: #999;
  138. margin-top: 20rpx;
  139. }
  140. </style>