interview-notice.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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 light">
  10. <view class="icon-container">
  11. <text class="iconfont">☀</text>
  12. </view>
  13. <text class="item-text">保持光线良好、干净背景、安静不受打扰</text>
  14. </view>
  15. <view class="notice-item smile">
  16. <view class="icon-container">
  17. <text class="iconfont">☺</text>
  18. </view>
  19. <text class="item-text">保持微笑、声音洪亮、正面直视摄像头</text>
  20. </view>
  21. <!-- 第二行 -->
  22. <view class="notice-item headphone">
  23. <view class="icon-container">
  24. <text class="iconfont">🎧</text>
  25. </view>
  26. <text class="item-text">保持声音回音接收正常、建议使用耳机</text>
  27. </view>
  28. <view class="notice-item wifi">
  29. <view class="icon-container">
  30. <text class="iconfont">📶</text>
  31. </view>
  32. <text class="item-text">保持网络通畅、面试期间勿断出</text>
  33. </view>
  34. <!-- 第三行 -->
  35. <view class="notice-item forbidden">
  36. <view class="icon-container">
  37. <text class="iconfont">✖</text>
  38. </view>
  39. <text class="item-text">请勿人脸离开屏幕</text>
  40. </view>
  41. <view class="notice-item forbidden">
  42. <view class="icon-container">
  43. <text class="iconfont">✖</text>
  44. </view>
  45. <text class="item-text">请勿录屏、截屏</text>
  46. </view>
  47. </view>
  48. <!-- 警告提示 -->
  49. <view class="warning-tip">
  50. * 建议开启免提模式,避免采用\短信等打断面试
  51. </view>
  52. <!-- 免责声明 -->
  53. <!-- <view class="disclaimer">
  54. 本公司保障您的隐私,根据法律法规和监管要求收集必要的面试信息,下载、存储、使用您的面试视频,仅用于面试评估,过程中不会泄露您的个人信息。
  55. </view> -->
  56. <!-- 同意选项 -->
  57. <view class="agreement">
  58. <radio :checked="isAgreed" @tap="toggleAgreement" />
  59. <text class="agreement-text">我同意并知晓</text>
  60. </view>
  61. <!-- 底部按钮 -->
  62. <button class="next-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/preview/preview',///pages/face-photo/face-photo
  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: #ffffff;
  104. padding: 30rpx;
  105. }
  106. .notice-title {
  107. font-size: 36rpx;
  108. font-weight: bold;
  109. margin-top: 20rpx;
  110. margin-bottom: 10rpx;
  111. color: #333;
  112. }
  113. .notice-subtitle {
  114. font-size: 26rpx;
  115. color: #999;
  116. margin-bottom: 30rpx;
  117. }
  118. .notice-grid {
  119. display: flex;
  120. flex-wrap: wrap;
  121. justify-content: space-between;
  122. margin-bottom: 30rpx;
  123. }
  124. .notice-item {
  125. width: 47%;
  126. height: 180rpx;
  127. border-radius: 8rpx;
  128. padding: 20rpx;
  129. margin-bottom: 20rpx;
  130. display: flex;
  131. flex-direction: column;
  132. align-items: center;
  133. justify-content: center;
  134. text-align: center;
  135. box-sizing: border-box;
  136. }
  137. .light {
  138. background-color: #f0f9eb;
  139. }
  140. .smile {
  141. background-color: #f0f9eb;
  142. }
  143. .headphone {
  144. background-color: #f0f9eb;
  145. }
  146. .wifi {
  147. background-color: #f0f9eb;
  148. }
  149. .forbidden {
  150. background-color: #fff8e6;
  151. }
  152. .icon-container {
  153. width: 40rpx;
  154. height: 40rpx;
  155. border-radius: 50%;
  156. display: flex;
  157. justify-content: center;
  158. align-items: center;
  159. margin-bottom: 15rpx;
  160. }
  161. .iconfont {
  162. font-size: 40rpx;
  163. color: #333;
  164. }
  165. .item-text {
  166. font-size: 24rpx;
  167. color: #333;
  168. line-height: 1.4;
  169. display: -webkit-box;
  170. -webkit-line-clamp: 3;
  171. -webkit-box-orient: vertical;
  172. overflow: hidden;
  173. }
  174. .warning-tip {
  175. color: #ff9800;
  176. font-size: 24rpx;
  177. margin-bottom: 60rpx;
  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. justify-content: center;
  189. margin-bottom: 40rpx;
  190. }
  191. .agreement-text {
  192. font-size: 28rpx;
  193. color: #333;
  194. margin-left: 10rpx;
  195. }
  196. .next-btn {
  197. width: 100%;
  198. height: 90rpx;
  199. line-height: 90rpx;
  200. background-color: #0039b3;
  201. color: #fff;
  202. border-radius: 8rpx;
  203. font-size: 32rpx;
  204. text-align: center;
  205. }
  206. .next-btn[disabled] {
  207. background-color: #b2b2b2;
  208. color: #fff;
  209. }
  210. </style>