index.vue 513 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view>
  3. 练习
  4. </view>
  5. </template>
  6. <script setup>
  7. import scrollListCardLianxi from "@/components/score-lianxi-card-lianxi/score-lianxi-card-lianxi.vue"
  8. import {
  9. getLianxiList,
  10. } from "@/api/lianxi.js";
  11. import {
  12. ref
  13. } from "vue";
  14. const tabData = [{
  15. label: "开始练习",
  16. value: 1,
  17. },
  18. {
  19. label: "已结束",
  20. value: 2,
  21. }
  22. ]
  23. function handleClick(data) {
  24. uni.redirectTo({
  25. url: `/pages/lianxi/lianxi?lxId=${data.lxId}`
  26. })
  27. }
  28. </script>
  29. <style lang="scss">
  30. </style>