category.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //master 环境
  2. const navMaster: number[] = [
  3. 759,//1
  4. 747,//2
  5. 760,//3
  6. 2039,//4 689
  7. 690,//5
  8. 759,//6
  9. 762,//7
  10. 691,//8
  11. 692,//9
  12. 686,//10
  13. 18,//11 687
  14. // 固定的一级栏目
  15. 768,//12
  16. 771,//13
  17. 773,//14
  18. 760,//15
  19. // 首页二级栏目
  20. 1931,//16
  21. // 频道页一级栏目
  22. 691,//17
  23. 768,//18
  24. 762,//19
  25. // 频道页二级栏目
  26. 787,//20
  27. 786,//21
  28. 788,//22
  29. 789,//23
  30. 1724 //24招贤纳士
  31. ]
  32. const navPre: number[] = [
  33. 552,
  34. 548,
  35. 554,
  36. 545,
  37. 561,
  38. 552,
  39. 539,
  40. 546,
  41. 547,
  42. 558,
  43. 18,
  44. // 固定的一级栏目
  45. 555,
  46. 556,
  47. 557,
  48. 554,
  49. // 二级栏目
  50. 588,
  51. // 频道页一级栏目
  52. 546,
  53. 555,
  54. 539,
  55. // 频道页二级栏目
  56. 568,
  57. 570,
  58. 571,
  59. 580,
  60. 587 //招贤纳士
  61. ]
  62. export default defineNuxtPlugin((nuxtApp) => {
  63. //master 环境
  64. nuxtApp.provide('pageNav', navMaster)
  65. //pre 环境
  66. // nuxtApp.provide('pageNav', navPre)
  67. })