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.

46 lines
809 B

9 months ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title="学员退款"></topNavbar>
  4. <view class="pad">
  5. <view class="navBox">
  6. <cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"/>
  7. </view>
  8. <view class="list">
  9. <view class="card">
  10. <refundItem/>
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. import refundItem from './comp/item'
  18. export default {
  19. components: { refundItem },
  20. data() {
  21. return {
  22. currentNav: 1,
  23. navData: [
  24. {text: '待审核', id: 1},
  25. {text: '已审核', id: 2}
  26. ]
  27. }
  28. },
  29. methods: {
  30. changeNav(val) {
  31. this.currentNav = val
  32. console.log(val)
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .navBox {
  39. padding: 0 0 24rpx 0;
  40. }
  41. .card {
  42. padding: 0 28rpx;
  43. margin-bottom: 24rpx;
  44. }
  45. </style>