You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.3 KiB

3 months ago
3 months ago
3 months ago
3 months ago
  1. <template>
  2. <view class="content" id="beforeExam">
  3. <view class="topBg">
  4. <view class="backIcon" @click="goBack">
  5. <image src="@/static/images/backIcon.png" mode="aspectFill"></image>
  6. </view>
  7. <view class="txt">驾驶人科目一考试系统</view>
  8. </view>
  9. <view class="con">
  10. <view class="conBg flex">
  11. <view class="box">
  12. <view class="h6">考试须知</view>
  13. <view class="text">
  14. <view class="txt">1.遵守考场纪律服从监考人员指挥</view>
  15. <view class="txt">2.进入考场手机关机禁止抽烟禁止吃零食</view>
  16. <view class="txt">3.未经工作人员允许考生禁止随意出入考场</view>
  17. <view class="txt">4.考场内禁止大声喧哗禁止随意走动</view>
  18. <view class="txt">5.考试中认真答题不准交头接耳</view>
  19. <view class="txt">6.考试中不准冒名顶替不准弄虚作假</view>
  20. <view class="txt">7.注意考场卫生禁止随地吐痰禁止乱扔纸屑</view>
  21. <view class="txt">8.爱护公物及考试设备</view>
  22. </view>
  23. </view>
  24. <view class="box">
  25. <view class="h6">理论考试01号考台</view>
  26. <view class="redt">身份证号123456789123456789</view>
  27. <view class="redt">考生姓名驾考学员</view>
  28. <view class="btn" @click="$goPage('/pages/exercises/exam/exam')">开始考试</view>
  29. <view class="redt">点击确认按钮开始考试!</view>
  30. <view class="text">操作提示每题考试答案确定后点击下一题电脑立即判定所选答案如选择错误系统将提示正确答案提示后不允许修改答案</view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script setup>
  37. import { detectOrient } from '@/utils/utils.js'
  38. import { ref, onMounted, nextTick } from 'vue'
  39. onMounted(()=>{
  40. detectOrient('#beforeExam')
  41. })
  42. function goBack() {
  43. uni.navigateBack()
  44. }
  45. </script>
  46. <style lang="scss" scoped>
  47. image {
  48. display: block;
  49. width: 100%;
  50. height: 100%;
  51. }
  52. #beforeExam {
  53. .topBg {
  54. width: 100%;
  55. height: 146rpx;
  56. background: url('../../../static/images/beforeExamebg.png') no-repeat;
  57. background-size: 100% 100%;
  58. position: relative;
  59. .backIcon {
  60. position: absolute;
  61. left: 30rpx;
  62. top: 50%;
  63. transform: translateY(-50%);
  64. width: 40rpx;
  65. height: 40rpx;
  66. }
  67. .txt {
  68. font-weight: 500;
  69. font-size: 48rpx;
  70. color: #4298F3;
  71. text-stroke: 2rpx #FFFFFF;
  72. font-style: italic;
  73. -webkit-text-stroke: 2rpx #FFFFFF;
  74. text-align: center;
  75. line-height: 146rpx;
  76. }
  77. }
  78. .con {
  79. padding: 30rpx;
  80. }
  81. .conBg {
  82. background: #F7FBFE;
  83. border-radius: 12rpx;
  84. border: 1rpx solid #F0F0F0;
  85. .box {
  86. flex: 1;
  87. padding: 40rpx;
  88. &:last-child {
  89. border-left: 1px solid #F0F0F0;
  90. }
  91. .h6 {
  92. font-size: 32rpx;
  93. color: #333;
  94. font-weight: bold;
  95. margin-bottom: 24rpx;
  96. }
  97. .redt {
  98. font-size: 28rpx;
  99. color: #FA2C2C;
  100. margin-bottom: 28rpx;
  101. }
  102. .btn {
  103. width: 300rpx;
  104. height: 60rpx;
  105. background: #3776FF;
  106. border-radius: 30rpx;
  107. font-size: 28rpx;
  108. color: #fff;
  109. text-align: center;
  110. line-height: 60rpx;
  111. margin: 30rpx auto;
  112. }
  113. .text {
  114. font-size: 22rpx;
  115. color: #666;
  116. .txt {
  117. font-size: 24rpx;
  118. color: #333;
  119. margin: 4rpx 0;
  120. }
  121. }
  122. }
  123. }
  124. }
  125. </style>