ResultScore.vue 941 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div class="result-box">
  3. <view class="score">
  4. {{ data.userScore }}<span>分</span>
  5. </view>
  6. <view>
  7. {{ data.thanks }}
  8. </view>
  9. <view v-if="data.hasSaq && data.state==1 " style="color: #ff8000; font-weight: 700">
  10. 该试卷还有主观题,主观题分数将在阅卷后累计到总成绩,请知晓!
  11. </view>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: 'ResultThanksScore',
  17. props: {
  18. data: Object
  19. },
  20. data() {
  21. return {
  22. }
  23. },
  24. created() {
  25. },
  26. methods: {
  27. }
  28. }
  29. </script>
  30. <style scoped>
  31. .result-box{
  32. text-align: center;
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. flex-direction: column;
  37. line-height: 50px;
  38. min-height: 50vh;
  39. }
  40. .result-box .score{
  41. font-size: 60px;
  42. font-weight: 700;
  43. color: #0a84ff
  44. }
  45. .result-box .score span{
  46. font-size: 20px
  47. }
  48. /deep/
  49. .main-bg{
  50. background: transparent !important;
  51. }
  52. </style>