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.

111 lines
2.4 KiB

  1. <template>
  2. <view class="content">
  3. <up-navbar leftText=" " :leftIconColor="'#fff'" :safeAreaInsetTop="true" :autoBack="true" title="我的学习"
  4. :bgColor="'transparent'" :titleStyle="{color: '#fff'}">
  5. <template #right>
  6. <view class="cjd" @click="$goPage('/pages/exercises/examSubjiect1/examResultsOne')">
  7. 成绩单
  8. </view>
  9. </template>
  10. </up-navbar>
  11. <view class="padding">
  12. <view class="useInfo flex">
  13. <view class="avatar">
  14. <image src="" mode=""></image>
  15. </view>
  16. <view class="rightBox">
  17. <view class="name">用户名</view>
  18. <view class="p">
  19. <text>最高分数85</text>
  20. <text>用时0030</text>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="card">
  25. <view class="text">考试车型小车C1</view>
  26. <view class="text">考试时间45分钟100</view>
  27. <view class="text">合格标准90分及格满分100分</view>
  28. <view class="text">出题规则根据公安部规定出题规则组卷</view>
  29. <view class="text">计分规则模拟考试下不能修改答案每错1题扣2分累计错题超过5道考试不通过系统自动提醒交卷</view>
  30. </view>
  31. <view class="btnBox">
  32. <oneBtn text="开始模拟考试"></oneBtn>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. </script>
  39. <style lang="scss" scoped>
  40. .content {
  41. width: 100%;
  42. min-height: 100vh;
  43. padding: 100rpx 0rpx 30rpx 0rpx;
  44. background: url('../../../static/images/topbg.png') #F6F7FA no-repeat;
  45. background-size: 100% 410rpx;
  46. .cjd {
  47. color: #fff;
  48. }
  49. .useInfo {
  50. padding: 30rpx 0;
  51. .avatar {
  52. width: 140rpx;
  53. height: 140rpx;
  54. overflow: hidden;
  55. border-radius: 50%;
  56. background: url('../../../static/images/avatarbg.png') no-repeat;
  57. background-size: 100% 100%;
  58. image {
  59. display: block;
  60. width: 100%;
  61. height: 100%;
  62. }
  63. }
  64. .rightBox {
  65. flex: 1;
  66. width: 0;
  67. padding-left: 30rpx;
  68. .name {
  69. font-size: 36rpx;
  70. color: #FFFFFF;
  71. font-weight: 500;
  72. }
  73. .p {
  74. padding-top: 30rpx;
  75. text {
  76. font-weight: 500;
  77. font-size: 28rpx;
  78. color: #FFFFFF;
  79. margin-right: 40rpx;
  80. }
  81. }
  82. }
  83. }
  84. .card {
  85. background: #FFFFFF;
  86. border-radius: 20rpx;
  87. padding: 20rpx 30rpx;
  88. .text {
  89. padding: 10rpx 0;
  90. font-weight: 500;
  91. font-size: 28rpx;
  92. color: #333333;
  93. }
  94. }
  95. .btnBox {
  96. padding: 100rpx 50rpx;
  97. width: 100%;
  98. }
  99. }
  100. </style>