topCard.vue 712 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="score-page-title">
  3. <view class="title-types"><text>{{name}}</text> <text>{{zyLevelName}}</text></view>
  4. <view>
  5. <text>{{userScore}}/{{Score}}</text>
  6. <!-- <text @click="handleOpenCard"><i></i> {{count}}/{{total}}</text> -->
  7. </view>
  8. </view>
  9. </template>
  10. <script setup>
  11. defineProps({
  12. name: {
  13. type: String
  14. },
  15. zyLevelName: {
  16. type: String
  17. },
  18. userScore: {
  19. type: [String,Number]
  20. },
  21. Score: {
  22. type: [String,Number]
  23. },
  24. // count: {
  25. // type: [String,Number]
  26. // },
  27. // total: {
  28. // type: [String,Number]
  29. // },
  30. })
  31. // const emits = defineEmits(['openCard'])
  32. // function handleOpenCard (){
  33. // emits('openCard')
  34. // }
  35. </script>
  36. <style>
  37. </style>