interview-notice.vue 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <template>
  2. <view class="notice-container">
  3. <!-- 标题 -->
  4. <view class="notice-title">面试注意事项</view>
  5. <view class="notice-subtitle">为了保障面试顺利进行,请注意以下事项</view>
  6. <!-- 注意事项列表 -->
  7. <view class="notice-grid">
  8. <!-- 第一行 -->
  9. <view class="notice-item">
  10. <view class="icon-container light">
  11. <text class="iconfont">☀</text>
  12. </view>
  13. <text class="item-text">保持光线良好、干净背景、安静不受打扰</text>
  14. </view>
  15. <view class="notice-item">
  16. <view class="icon-container smile">
  17. <text class="iconfont">☺</text>
  18. </view>
  19. <text class="item-text">保持微笑、声音洪亮、让面试官看清表达</text>
  20. </view>
  21. <!-- 第二行 -->
  22. <view class="notice-item">
  23. <view class="icon-container mic">
  24. <text class="iconfont">🎤</text>
  25. </view>
  26. <text class="item-text">保持声音回传准确、避免使用有线耳机</text>
  27. </view>
  28. <view class="notice-item">
  29. <view class="icon-container wifi">
  30. <text class="iconfont">📶</text>
  31. </view>
  32. <text class="item-text">保持网络通畅、避免网络间歇性断开</text>
  33. </view>
  34. <!-- 第三行 -->
  35. <view class="notice-item">
  36. <view class="icon-container forbidden">
  37. <text class="iconfont">⛔</text>
  38. </view>
  39. <text class="item-text">请勿人脸离开屏幕</text>
  40. </view>
  41. <view class="notice-item">
  42. <view class="icon-container forbidden">
  43. <text class="iconfont">⛔</text>
  44. </view>
  45. <text class="item-text">请勿录屏/截屏</text>
  46. </view>
  47. </view>
  48. <!-- 警告提示 -->
  49. <view class="warning-tip">
  50. <text>建议使用开启声音和视频打开模式,避免采用电话/短信等打断面试</text>
  51. </view>
  52. <!-- 免责声明 -->
  53. <view class="disclaimer">
  54. 本公司保障您的隐私,根据法律法规和监管要求收集必要的面试信息,下载、存储、使用您的面试视频,仅用于面试评估,过程中不会泄露您的个人信息。
  55. </view>
  56. <!-- 同意选项 -->
  57. <view class="agreement">
  58. <checkbox :checked="isAgreed" @tap="toggleAgreement" />
  59. <text class="agreement-text">我同意并知晓</text>
  60. </view>
  61. <!-- 底部按钮 -->
  62. <button class="start-btn" :disabled="!isAgreed" @click="startInterview">开始面试</button>
  63. </view>
  64. </template>
  65. <script>
  66. export default {
  67. data() {
  68. return {
  69. isAgreed: false
  70. }
  71. },
  72. methods: {
  73. toggleAgreement() {
  74. this.isAgreed = !this.isAgreed;
  75. },
  76. startInterview() {
  77. if (!this.isAgreed) {
  78. uni.showToast({
  79. title: '请先同意面试须知',
  80. icon: 'none'
  81. });
  82. return;
  83. }
  84. uni.navigateTo({
  85. url: '/pages/identity-verify/identity-verify',
  86. fail: (err) => {
  87. console.error('页面跳转失败:', err);
  88. uni.showToast({
  89. title: '页面跳转失败',
  90. icon: 'none'
  91. });
  92. }
  93. });
  94. }
  95. }
  96. }
  97. </script>
  98. <style>
  99. .notice-container {
  100. display: flex;
  101. flex-direction: column;
  102. min-height: 100vh;
  103. background-color: #f5f7fa;
  104. padding: 30rpx;
  105. }
  106. .notice-title {
  107. font-size: 36rpx;
  108. font-weight: bold;
  109. margin-top: 20rpx;
  110. margin-bottom: 10rpx;
  111. }
  112. .notice-subtitle {
  113. font-size: 28rpx;
  114. color: #666;
  115. margin-bottom: 40rpx;
  116. }
  117. .notice-grid {
  118. display: flex;
  119. flex-wrap: wrap;
  120. justify-content: space-between;
  121. margin-bottom: 30rpx;
  122. }
  123. .notice-item {
  124. width: 42%;
  125. background-color: #fff;
  126. border-radius: 12rpx;
  127. padding: 20rpx;
  128. margin-bottom: 20rpx;
  129. display: flex;
  130. flex-direction: column;
  131. align-items: center;
  132. text-align: center;
  133. }
  134. .icon-container {
  135. width: 80rpx;
  136. height: 80rpx;
  137. border-radius: 50%;
  138. display: flex;
  139. justify-content: center;
  140. align-items: center;
  141. margin-bottom: 15rpx;
  142. }
  143. .light {
  144. background-color: #f1c40f;
  145. }
  146. .smile {
  147. background-color: #2ecc71;
  148. }
  149. .mic {
  150. background-color: #3498db;
  151. }
  152. .wifi {
  153. background-color: #9b59b6;
  154. }
  155. .forbidden {
  156. background-color: #e74c3c;
  157. }
  158. .iconfont {
  159. font-size: 40rpx;
  160. color: #fff;
  161. }
  162. .item-text {
  163. font-size: 24rpx;
  164. color: #333;
  165. line-height: 1.4;
  166. }
  167. .warning-tip {
  168. background-color: #fff8e1;
  169. border-radius: 12rpx;
  170. padding: 20rpx;
  171. margin-bottom: 30rpx;
  172. border-left: 8rpx solid #ffc107;
  173. }
  174. .warning-tip text {
  175. font-size: 26rpx;
  176. color: #ff9800;
  177. line-height: 1.4;
  178. }
  179. .disclaimer {
  180. font-size: 24rpx;
  181. color: #999;
  182. line-height: 1.5;
  183. margin-bottom: 30rpx;
  184. }
  185. .agreement {
  186. display: flex;
  187. align-items: center;
  188. margin-bottom: 40rpx;
  189. }
  190. .agreement-text {
  191. font-size: 28rpx;
  192. color: #333;
  193. margin-left: 10rpx;
  194. }
  195. .start-btn {
  196. width: 100%;
  197. height: 90rpx;
  198. line-height: 90rpx;
  199. background-color: #6c5ce7;
  200. color: #fff;
  201. border-radius: 45rpx;
  202. font-size: 32rpx;
  203. }
  204. .start-btn[disabled] {
  205. background-color: #b2b2b2;
  206. color: #fff;
  207. }
  208. </style>