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.

136 lines
2.8 KiB

2 weeks ago
2 weeks ago
2 weeks ago
  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="flex-c">
  7. <gaugeChart/>
  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">精选500道</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 setup>
  42. import gaugeChart from '@/components/columnChart/gaugeChart.vue'
  43. </script>
  44. <style lang="scss" scoped>
  45. .content {
  46. background: linear-gradient(0deg, rgba(55,118,255,0) 0%, #3776FF 100%) no-repeat #F6F7FA;
  47. background-size: 100% 720rpx;
  48. width: 100%;
  49. min-height: 100vh;
  50. .card {
  51. width: 100%;
  52. background: #FFFFFF;
  53. border-radius: 20rpx;
  54. padding: 30rpx;
  55. margin-top: 30rpx;
  56. .echartBox {
  57. width: 100%;
  58. min-height: 230rpx;
  59. }
  60. .huiBg {
  61. width: 100%;
  62. height: 144rpx;
  63. background: #F4F4F4;
  64. border-radius: 20rpx;
  65. display: flex;
  66. justify-content: space-between;
  67. align-items: center;
  68. text-align: center;
  69. .li {
  70. flex: 1;
  71. .num {
  72. font-family: DIN;
  73. font-weight: bold;
  74. font-size: 48rpx;
  75. }
  76. .lab {
  77. font-size: 24rpx;
  78. margin-top: 10rpx;
  79. color: #999999;
  80. }
  81. }
  82. }
  83. .btn_row {
  84. padding-top: 40rpx;
  85. display: flex;
  86. justify-content: space-between;
  87. .btn {
  88. height: 77rpx;
  89. background: linear-gradient(90deg, #FAE0A2 0%, #F6C86F 100%);
  90. border-radius: 39rpx;
  91. color: #6B4229;
  92. font-weight: 500;
  93. font-size: 28rpx;
  94. text-align: center;
  95. line-height: 77rpx;
  96. width: 48%;
  97. &.lastBtn {
  98. background: #3776FF;
  99. color: #fff;
  100. }
  101. }
  102. }
  103. }
  104. }
  105. .card {
  106. .leftTxt {
  107. flex: 1;
  108. .text {
  109. font-weight: 500;
  110. font-size: 28rpx;
  111. }
  112. .tps {
  113. font-weight: 500;
  114. font-size: 24rpx;
  115. color: #666666;
  116. margin-top: 10rpx;
  117. }
  118. }
  119. .lianxi {
  120. .lx {
  121. font-weight: 500;
  122. font-size: 24rpx;
  123. color: #3776FF;
  124. }
  125. }
  126. }
  127. </style>