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.

135 lines
2.7 KiB

  1. <template>
  2. <view class="content">
  3. <u-navbar leftText=" " title="顺序练习成绩" :safeAreaInsetTop="true" :autoBack="true" :fixed="false" :leftIconColor="'#fff'" :bgColor="'transparent'" :titleStyle="{color: '#fff'}"></u-navbar>
  4. <view class="padding">
  5. <view class="card">
  6. <view class="echartBox">
  7. 这里是图表
  8. </view>
  9. <view class="huiBg">
  10. <view class="li">
  11. <view class="num">10:22</view>
  12. <view class="lab">测试时长</view>
  13. </view>
  14. <view class="li">
  15. <view class="num">10</view>
  16. <view class="lab">已做题</view>
  17. </view>
  18. <view class="li">
  19. <view class="num">14</view>
  20. <view class="lab">答错题</view>
  21. </view>
  22. </view>
  23. <view class="btn_row">
  24. <view class="btn">查看全部错题</view>
  25. <view class="btn lastBtn">继续答题</view>
  26. </view>
  27. </view>
  28. <view class="card flex-b">
  29. <view class="leftTxt">
  30. <view class="text">查看全部错题</view>
  31. <view class="tps">继续答题</view>
  32. </view>
  33. <view class="lianxi flex">
  34. <view class="lx">去练习</view>
  35. <u-icon name="arrow-right" color="#666" size="14"></u-icon>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. </script>
  43. <style lang="scss" scoped>
  44. .content {
  45. background: linear-gradient(0deg, rgba(55,118,255,0) 0%, #3776FF 100%) no-repeat #F6F7FA;
  46. background-size: 100% 720rpx;
  47. width: 100%;
  48. min-height: 100vh;
  49. .card {
  50. width: 100%;
  51. background: #FFFFFF;
  52. border-radius: 20rpx;
  53. padding: 30rpx;
  54. margin-top: 30rpx;
  55. .echartBox {
  56. width: 100%;
  57. min-height: 230rpx;
  58. }
  59. .huiBg {
  60. width: 100%;
  61. height: 144rpx;
  62. background: #F4F4F4;
  63. border-radius: 20rpx;
  64. display: flex;
  65. justify-content: space-between;
  66. align-items: center;
  67. text-align: center;
  68. .li {
  69. flex: 1;
  70. .num {
  71. font-family: DIN;
  72. font-weight: bold;
  73. font-size: 48rpx;
  74. }
  75. .lab {
  76. font-size: 24rpx;
  77. margin-top: 10rpx;
  78. color: #999999;
  79. }
  80. }
  81. }
  82. .btn_row {
  83. padding-top: 40rpx;
  84. display: flex;
  85. justify-content: space-between;
  86. .btn {
  87. height: 77rpx;
  88. background: linear-gradient(90deg, #FAE0A2 0%, #F6C86F 100%);
  89. border-radius: 39rpx;
  90. color: #6B4229;
  91. font-weight: 500;
  92. font-size: 28rpx;
  93. text-align: center;
  94. line-height: 77rpx;
  95. width: 48%;
  96. &.lastBtn {
  97. background: #3776FF;
  98. color: #fff;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. .card {
  105. .leftTxt {
  106. flex: 1;
  107. .text {
  108. font-weight: 500;
  109. font-size: 28rpx;
  110. }
  111. .tps {
  112. font-weight: 500;
  113. font-size: 24rpx;
  114. color: #666666;
  115. margin-top: 10rpx;
  116. }
  117. }
  118. .lianxi {
  119. .lx {
  120. font-weight: 500;
  121. font-size: 24rpx;
  122. color: #3776FF;
  123. }
  124. }
  125. }
  126. </style>