Service.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <div class="news">
  3. <left-nav :navList="navList" :topTitle="'红十字事业'">
  4. <router-view></router-view>
  5. </left-nav>
  6. </div>
  7. </template>
  8. <script>
  9. import LeftNav from '../../components/leftNav/LeftNav.vue';
  10. export default {
  11. components: {
  12. LeftNav
  13. },
  14. data() {
  15. return {
  16. navList: [{
  17. index: 0,
  18. name: '应急救援',
  19. path: '/cause/rescue'
  20. },
  21. {
  22. index: 1,
  23. name: '应急救护',
  24. path: '/cause/emergency'
  25. },
  26. {
  27. index: 2,
  28. name: '人道救助',
  29. path: '/cause/humanity'
  30. },
  31. {
  32. index: 3,
  33. name: '造血干细胞捐献',
  34. path: '/cause/cells'
  35. },
  36. {
  37. index: 4,
  38. name: '无偿献血',
  39. path: '/cause/free'
  40. },
  41. {
  42. index: 5,
  43. name: '遗体和人体器官捐献',
  44. path: '/cause/remains'
  45. },
  46. {
  47. index: 6,
  48. name: '红十字青少年',
  49. path: '/cause/teenagers'
  50. },
  51. {
  52. index: 7,
  53. name: '志愿服务',
  54. path: '/cause/service'
  55. }
  56. ],
  57. };
  58. }
  59. };
  60. </script>
  61. <style>
  62. </style>