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.

133 lines
3.4 KiB

4 months ago
4 months ago
4 months ago
4 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. console.log('返回吧')
  44. uni.navigateBack()
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. image {
  49. display: block;
  50. width: 100%;
  51. height: 100%;
  52. }
  53. #beforeExam {
  54. .topBg {
  55. width: 100%;
  56. height: 146rpx;
  57. background: url('../../../static/images/beforeExamebg.png') no-repeat;
  58. background-size: 100% 100%;
  59. position: relative;
  60. .backIcon {
  61. position: absolute;
  62. left: 30rpx;
  63. top: 50%;
  64. transform: translateY(-50%);
  65. width: 40rpx;
  66. height: 40rpx;
  67. }
  68. .txt {
  69. font-weight: 500;
  70. font-size: 48rpx;
  71. color: #4298F3;
  72. text-stroke: 2rpx #FFFFFF;
  73. font-style: italic;
  74. -webkit-text-stroke: 2rpx #FFFFFF;
  75. text-align: center;
  76. line-height: 146rpx;
  77. }
  78. }
  79. .con {
  80. padding: 30rpx;
  81. }
  82. .conBg {
  83. background: #F7FBFE;
  84. border-radius: 12rpx;
  85. border: 1rpx solid #F0F0F0;
  86. .box {
  87. flex: 1;
  88. padding: 40rpx;
  89. &:last-child {
  90. border-left: 1px solid #F0F0F0;
  91. }
  92. .h6 {
  93. font-size: 32rpx;
  94. color: #333;
  95. font-weight: bold;
  96. margin-bottom: 24rpx;
  97. }
  98. .redt {
  99. font-size: 28rpx;
  100. color: #FA2C2C;
  101. margin-bottom: 28rpx;
  102. }
  103. .btn {
  104. width: 300rpx;
  105. height: 60rpx;
  106. background: #3776FF;
  107. border-radius: 30rpx;
  108. font-size: 28rpx;
  109. color: #fff;
  110. text-align: center;
  111. line-height: 60rpx;
  112. margin: 30rpx auto;
  113. }
  114. .text {
  115. font-size: 22rpx;
  116. color: #666;
  117. .txt {
  118. font-size: 24rpx;
  119. color: #333;
  120. margin: 4rpx 0;
  121. }
  122. }
  123. }
  124. }
  125. }
  126. </style>