interview_success.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <template>
  2. <view class="success-container">
  3. <view class="success-icon">
  4. <image src="/static/images/success-icon.png" mode="aspectFit"></image>
  5. </view>
  6. <view class="success-title">恭喜完成全部检测</view>
  7. <view class="check-list">
  8. <view class="check-item" v-for="(item, index) in checkItems" :key="index">
  9. <view class="check-index">{{index + 1}}</view>
  10. <view class="check-name">{{item.name}}</view>
  11. <view class="check-status">{{item.status}}</view>
  12. </view>
  13. </view>
  14. <view class="button-group">
  15. <button class="btn-retake" @click="retake">重拍</button>
  16. <button class="btn-next" @click="goNext">下一步</button>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. checkItems: [
  25. { name: '左手手心', status: '动作检测成功' },
  26. { name: '左手手背', status: '动作检测成功' },
  27. { name: '左手握拳', status: '动作检测成功' },
  28. { name: '右手手心', status: '动作检测成功' },
  29. { name: '右手手背', status: '动作检测成功' },
  30. { name: '右手握拳', status: '动作检测成功' }
  31. ]
  32. }
  33. },
  34. methods: {
  35. retake() {
  36. // 返回到拍照页面
  37. uni.navigateBack();
  38. },
  39. goNext() {
  40. // 进入下一步
  41. uni.navigateTo({
  42. url: '/pages/interview-notice/interview-notice'
  43. });
  44. }
  45. }
  46. }
  47. </script>
  48. <style>
  49. .success-container {
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. padding: 40rpx 30rpx;
  54. }
  55. .success-icon {
  56. margin-top: 60rpx;
  57. width: 160rpx;
  58. height: 160rpx;
  59. }
  60. .success-icon image {
  61. width: 100%;
  62. height: 100%;
  63. }
  64. .success-title {
  65. font-size: 36rpx;
  66. font-weight: bold;
  67. margin: 30rpx 0 50rpx;
  68. }
  69. .check-list {
  70. width: 100%;
  71. margin-bottom: 60rpx;
  72. }
  73. .check-item {
  74. display: flex;
  75. align-items: center;
  76. margin-bottom: 20rpx;
  77. }
  78. .check-index {
  79. width: 40rpx;
  80. height: 40rpx;
  81. border-radius: 50%;
  82. background-color: #f0f0f0;
  83. color: #999;
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. font-size: 24rpx;
  88. margin-right: 20rpx;
  89. }
  90. .check-name {
  91. flex: 1;
  92. font-size: 28rpx;
  93. color: #333;
  94. }
  95. .check-status {
  96. font-size: 28rpx;
  97. color: #67c23a;
  98. }
  99. .button-group {
  100. display: flex;
  101. width: 100%;
  102. justify-content: space-between;
  103. margin-top: 40rpx;
  104. }
  105. .btn-retake, .btn-next {
  106. width: 45%;
  107. height: 80rpx;
  108. line-height: 80rpx;
  109. text-align: center;
  110. border-radius: 8rpx;
  111. }
  112. .btn-retake {
  113. background-color: #f5f5f5;
  114. color: #333;
  115. border: 1px solid #ddd;
  116. }
  117. .btn-next {
  118. background-color: #003399;
  119. color: #fff;
  120. }
  121. </style>