tabbarJson.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. export default [
  2. {
  3. name: '导航',
  4. is_show: true,
  5. controlComName: 'widgetNavControl',
  6. show_type: 'nav',
  7. params: {
  8. defaultColor: '#888',
  9. activeColor: '#f0250e',
  10. navList: [
  11. {
  12. pic_url:
  13. require('@/chart-gpt/static/image/tabbar-icon-1.png'),
  14. active_url:
  15. require('@/chart-gpt/static/image/tabbar-icon-1-active.png'),
  16. nav_text: '提问首页',
  17. link: {
  18. name: '提问首页',
  19. link: '/chart-gpt/index/index',
  20. open_type: 'redirectTo',
  21. params: [],
  22. },
  23. },
  24. {
  25. pic_url:
  26. require('@/chart-gpt/static/image/tabbar-icon-2.png'),
  27. active_url:
  28. require('@/chart-gpt/static/image/tabbar-icon-2-active.png'),
  29. nav_text: '提问模版',
  30. link: {
  31. name: '提问模版',
  32. link: '/chart-gpt/moban/moban',
  33. open_type: 'redirectTo',
  34. params: [],
  35. },
  36. },
  37. {
  38. pic_url:
  39. require('@/chart-gpt/static/image/tabbar-icon-3.png'),
  40. active_url:
  41. require('@/chart-gpt/static/image/tabbar-icon-3-active.png'),
  42. nav_text: '每日任务',
  43. link: {
  44. name: '每日任务',
  45. link: '/chart-gpt/task/task',
  46. open_type: 'redirectTo',
  47. params: [],
  48. },
  49. },
  50. {
  51. pic_url:
  52. require('@/chart-gpt/static/image/tabbar-icon-qa.png'),
  53. active_url:
  54. require('@/chart-gpt/static/image/tabbar-icon-qa-active.png'),
  55. nav_text: '问答记录',
  56. link: {
  57. name: '问答记录',
  58. link: '/chart-gpt/qa-list/qa-list',
  59. open_type: 'redirectTo',
  60. params: [],
  61. },
  62. }
  63. ],
  64. },
  65. moduleCss: {
  66. backgroundColor: '#ffffff',
  67. backgroundImage: '',
  68. bgImg: '',
  69. useBackground: true,
  70. backgroundSize: '100% 100%',
  71. backgroundRepeat: 'no-repeat',
  72. },
  73. },
  74. ]