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.

49 lines
844 B

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