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.

130 lines
3.2 KiB

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