index.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. // //配置homeSlice展示的标题,副标题
  2. // export let title = '信创产业 领引国产新未来';
  3. // export const subtitle = '共/建/信/创/生/态/共/推/产/业/发/展';
  4. // //配置logo标题
  5. // export const logoTitle = '群智众测平台';
  6. // //配置logo src(img方式的图片地址)
  7. // //这里的地址写的是 src/assets/image 下的图片地址
  8. // export const logo_transparent = 'logo-transparent.png';//searchNav logo
  9. // export const logo_background = 'logo-background.png';//login card
  10. // export const logo_white = 'logo-white.png';//footer logo
  11. //
  12. // //home页配置(导航数据 + 组件展示)
  13. // //home_searchTypeArr
  14. // export const home_searchTypeArr = [
  15. // {
  16. // "name": "全部",
  17. // "value": "all"
  18. // },
  19. // {
  20. // "name": "项目",
  21. // "value": "0"
  22. // },
  23. // // {
  24. // // "name": "机构",
  25. // // "value": "1"
  26. // // },
  27. // // {
  28. // // "name": "资源",
  29. // // "value": "2"
  30. // // },
  31. // // {
  32. // // "name": "专家",
  33. // // "value": "3"
  34. // // }
  35. // ];
  36. // //home_searchType
  37. // export const home_searchType = '0';
  38. // //home_homeTabArr_default
  39. // export const home_homeTabArr_left = [
  40. // //注意:这里的第一个元素的name是"homepage"
  41. // {label: "首页", name: "homepage", linkTo: '/home'},
  42. // {label: "众测广场", name: "square", linkTo: '/square'},
  43. // // {label: "众测技术", name: "technology", linkTo: 'technology'}
  44. // ];
  45. //
  46. // //home_homeTabArr_right
  47. // export const home_homeTabArr_right = [
  48. // // {label: "找机构", name: "findInstitution", linkTo: '/agency/list/show'},
  49. // // {label: "找专家", name: "findExpert", linkTo: '/expert/list'},
  50. // ];
  51. // //home_homeTabArr_default,注意这里的值一定要和一个home_homeTabArr_*中的name值对应
  52. // export const home_homeTabArr_default = "homepage";
  53. // //home页container组件展示
  54. // export const HOME_DISPLAY = {
  55. // test_menu: true,
  56. // test_card: true,
  57. // // resource_and_tool: true,
  58. // // brand_card: true,
  59. // // institution_card: false,
  60. // login_card: true,
  61. // hot_crowd: true,
  62. // // hot_agency: true,
  63. // // hot_user: true,
  64. // hot_contest: true
  65. // }
  66. //
  67. // //technology页配置(导航数据 + 组件展示)
  68. // //technology_searchTypeArr
  69. // export const technology_searchTypeArr = [
  70. // {
  71. // "name": "众测工具",
  72. // "value": "2",
  73. // "label": '工具'
  74. // },
  75. // {
  76. // "name": "众测案例",
  77. // "value": "3",
  78. // "label": '案例'
  79. // },
  80. // {
  81. // "name": "技术文章",
  82. // "value": "0",
  83. // "label": '文章'
  84. // },
  85. // {
  86. // "name": "论文专著",
  87. // "value": "1",
  88. // "label": '专著'
  89. // }
  90. // ];
  91. // //technology_searchType
  92. // export const technology_searchType = '2';
  93. // //technology页container组件展示
  94. // export const TECHNOLOGY_DISPLAY = {
  95. // hot_article: true
  96. // }
  97. //
  98. // //square页配置(导航数据 + 组件展示)
  99. // //square_searchTypeArr
  100. // export const square_searchTabArr = [
  101. // {label: "项目", name: "project"},
  102. // {label: "任务", name: "task"}
  103. // ];
  104. // export const square_menuArr = [
  105. // {label: "首页", name: "squareHome"},
  106. // {label: "测试项目", name: "project"},
  107. // {label: "测试任务", name: "task"}
  108. // ];
  109. // export const square_searchType = 'project';
  110. // export const square_currTab = 'squareHome';
  111. // export const SQUARE_DISPLAY = {
  112. // popular_project: true,
  113. // popular_task: true,
  114. // }
  115. //
  116. // //user—center侧边目录配置
  117. // //个人信息
  118. // export const user_info = [
  119. // {label: '基本信息', linkTo: '/personal/mine'},
  120. // {label: '我的资质', linkTo: '/personal/qualification'},
  121. // {label: '我的银行卡', linkTo: '/personal/bankCard'}
  122. // ];
  123. // //账号安全
  124. // export const account_security = [
  125. // {label: '修改登录密码', linkTo: '/personal/modifyPsw'},
  126. // // {label:'手机绑定',linkTo:'/personal/phoneBinding'},
  127. // // {label:'邮箱绑定',linkTo:'/personal/mailBinding'},
  128. // {label: '身份认证', linkTo: '/personal/authentication'},
  129. // ]
  130. //
  131. //
  132. export let CONFIG = {};
  133. export const setConfig = (conf) => {
  134. CONFIG = conf;
  135. }
  136. export const login_url = 'http://user.mooctest.net:8081/page/login?redirect=http%3a%2f%2fcrowd.dev.mooctest.net%2f%23%2fhome'
  137. export const register_url = 'http://user.mooctest.net:8081/page/register'
  138. // 线上环境
  139. // export const login_url = 'http://user.cofortest.com:8081/page/login?redirect=http%3a%2f%2fwww.cofortest.com%2f%23%2fhome'
  140. // export const register_url = 'http://user.cofortest.com:8081/page/register'
  141. // export const login_url = 'http://59.42.10.53/page/login?redirect=http%3a%2f%2fwww.cofortest.com%2f%23%2fhome'
  142. // export const register_url = 'http://59.42.10.53/page/register'