|
@@ -1,131 +1,135 @@
|
|
|
-//配置homeSlice展示的标题,副标题
|
|
|
-export const title = '信创产业 领引国产新未来';
|
|
|
-export const subtitle = '共/建/信/创/生/态/共/推/产/业/发/展';
|
|
|
-//配置logo标题
|
|
|
-export const logoTitle = '群智众测平台';
|
|
|
-//配置logo src(img方式的图片地址)
|
|
|
-//这里的地址写的是 src/assets/image 下的图片地址
|
|
|
-export const logo_transparent = 'logo-transparent.png';//searchNav logo
|
|
|
-export const logo_background = 'logo-background.png';//login card
|
|
|
-export const logo_white = 'logo-white.png';//footer logo
|
|
|
-
|
|
|
-//home页配置(导航数据 + 组件展示)
|
|
|
-//home_searchTypeArr
|
|
|
-export const home_searchTypeArr = [
|
|
|
- {
|
|
|
- "name": "全部",
|
|
|
- "value": "all"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "项目",
|
|
|
- "value": "0"
|
|
|
- },
|
|
|
- // {
|
|
|
- // "name": "机构",
|
|
|
- // "value": "1"
|
|
|
- // },
|
|
|
- // {
|
|
|
- // "name": "资源",
|
|
|
- // "value": "2"
|
|
|
- // },
|
|
|
- // {
|
|
|
- // "name": "专家",
|
|
|
- // "value": "3"
|
|
|
- // }
|
|
|
-];
|
|
|
-//home_searchType
|
|
|
-export const home_searchType = '0';
|
|
|
-//home_homeTabArr_default
|
|
|
-export const home_homeTabArr_left = [
|
|
|
- //注意:这里的第一个元素的name是"homepage"
|
|
|
- {label: "首页", name: "homepage", linkTo: '/home'},
|
|
|
- {label: "众测广场", name: "square", linkTo: '/square'},
|
|
|
- // {label: "众测技术", name: "technology", linkTo: 'technology'}
|
|
|
-];
|
|
|
-
|
|
|
-//home_homeTabArr_right
|
|
|
-export const home_homeTabArr_right = [
|
|
|
- // {label: "找机构", name: "findInstitution", linkTo: '/agency/list/show'},
|
|
|
- // {label: "找专家", name: "findExpert", linkTo: '/expert/list'},
|
|
|
-];
|
|
|
-//home_homeTabArr_default,注意这里的值一定要和一个home_homeTabArr_*中的name值对应
|
|
|
-export const home_homeTabArr_default = "homepage";
|
|
|
-//home页container组件展示
|
|
|
-export const HOME_DISPLAY = {
|
|
|
- test_menu: true,
|
|
|
- test_card: true,
|
|
|
- // resource_and_tool: true,
|
|
|
- // brand_card: true,
|
|
|
- // institution_card: false,
|
|
|
- login_card: true,
|
|
|
- hot_crowd: true,
|
|
|
- // hot_agency: true,
|
|
|
- // hot_user: true,
|
|
|
- hot_contest: true
|
|
|
+// //配置homeSlice展示的标题,副标题
|
|
|
+// export let title = '信创产业 领引国产新未来';
|
|
|
+// export const subtitle = '共/建/信/创/生/态/共/推/产/业/发/展';
|
|
|
+// //配置logo标题
|
|
|
+// export const logoTitle = '群智众测平台';
|
|
|
+// //配置logo src(img方式的图片地址)
|
|
|
+// //这里的地址写的是 src/assets/image 下的图片地址
|
|
|
+// export const logo_transparent = 'logo-transparent.png';//searchNav logo
|
|
|
+// export const logo_background = 'logo-background.png';//login card
|
|
|
+// export const logo_white = 'logo-white.png';//footer logo
|
|
|
+//
|
|
|
+// //home页配置(导航数据 + 组件展示)
|
|
|
+// //home_searchTypeArr
|
|
|
+// export const home_searchTypeArr = [
|
|
|
+// {
|
|
|
+// "name": "全部",
|
|
|
+// "value": "all"
|
|
|
+// },
|
|
|
+// {
|
|
|
+// "name": "项目",
|
|
|
+// "value": "0"
|
|
|
+// },
|
|
|
+// // {
|
|
|
+// // "name": "机构",
|
|
|
+// // "value": "1"
|
|
|
+// // },
|
|
|
+// // {
|
|
|
+// // "name": "资源",
|
|
|
+// // "value": "2"
|
|
|
+// // },
|
|
|
+// // {
|
|
|
+// // "name": "专家",
|
|
|
+// // "value": "3"
|
|
|
+// // }
|
|
|
+// ];
|
|
|
+// //home_searchType
|
|
|
+// export const home_searchType = '0';
|
|
|
+// //home_homeTabArr_default
|
|
|
+// export const home_homeTabArr_left = [
|
|
|
+// //注意:这里的第一个元素的name是"homepage"
|
|
|
+// {label: "首页", name: "homepage", linkTo: '/home'},
|
|
|
+// {label: "众测广场", name: "square", linkTo: '/square'},
|
|
|
+// // {label: "众测技术", name: "technology", linkTo: 'technology'}
|
|
|
+// ];
|
|
|
+//
|
|
|
+// //home_homeTabArr_right
|
|
|
+// export const home_homeTabArr_right = [
|
|
|
+// // {label: "找机构", name: "findInstitution", linkTo: '/agency/list/show'},
|
|
|
+// // {label: "找专家", name: "findExpert", linkTo: '/expert/list'},
|
|
|
+// ];
|
|
|
+// //home_homeTabArr_default,注意这里的值一定要和一个home_homeTabArr_*中的name值对应
|
|
|
+// export const home_homeTabArr_default = "homepage";
|
|
|
+// //home页container组件展示
|
|
|
+// export const HOME_DISPLAY = {
|
|
|
+// test_menu: true,
|
|
|
+// test_card: true,
|
|
|
+// // resource_and_tool: true,
|
|
|
+// // brand_card: true,
|
|
|
+// // institution_card: false,
|
|
|
+// login_card: true,
|
|
|
+// hot_crowd: true,
|
|
|
+// // hot_agency: true,
|
|
|
+// // hot_user: true,
|
|
|
+// hot_contest: true
|
|
|
+// }
|
|
|
+//
|
|
|
+// //technology页配置(导航数据 + 组件展示)
|
|
|
+// //technology_searchTypeArr
|
|
|
+// export const technology_searchTypeArr = [
|
|
|
+// {
|
|
|
+// "name": "众测工具",
|
|
|
+// "value": "2",
|
|
|
+// "label": '工具'
|
|
|
+// },
|
|
|
+// {
|
|
|
+// "name": "众测案例",
|
|
|
+// "value": "3",
|
|
|
+// "label": '案例'
|
|
|
+// },
|
|
|
+// {
|
|
|
+// "name": "技术文章",
|
|
|
+// "value": "0",
|
|
|
+// "label": '文章'
|
|
|
+// },
|
|
|
+// {
|
|
|
+// "name": "论文专著",
|
|
|
+// "value": "1",
|
|
|
+// "label": '专著'
|
|
|
+// }
|
|
|
+// ];
|
|
|
+// //technology_searchType
|
|
|
+// export const technology_searchType = '2';
|
|
|
+// //technology页container组件展示
|
|
|
+// export const TECHNOLOGY_DISPLAY = {
|
|
|
+// hot_article: true
|
|
|
+// }
|
|
|
+//
|
|
|
+// //square页配置(导航数据 + 组件展示)
|
|
|
+// //square_searchTypeArr
|
|
|
+// export const square_searchTabArr = [
|
|
|
+// {label: "项目", name: "project"},
|
|
|
+// {label: "任务", name: "task"}
|
|
|
+// ];
|
|
|
+// export const square_menuArr = [
|
|
|
+// {label: "首页", name: "squareHome"},
|
|
|
+// {label: "测试项目", name: "project"},
|
|
|
+// {label: "测试任务", name: "task"}
|
|
|
+// ];
|
|
|
+// export const square_searchType = 'project';
|
|
|
+// export const square_currTab = 'squareHome';
|
|
|
+// export const SQUARE_DISPLAY = {
|
|
|
+// popular_project: true,
|
|
|
+// popular_task: true,
|
|
|
+// }
|
|
|
+//
|
|
|
+// //user—center侧边目录配置
|
|
|
+// //个人信息
|
|
|
+// export const user_info = [
|
|
|
+// {label: '基本信息', linkTo: '/personal/mine'},
|
|
|
+// {label: '我的资质', linkTo: '/personal/qualification'},
|
|
|
+// {label: '我的银行卡', linkTo: '/personal/bankCard'}
|
|
|
+// ];
|
|
|
+// //账号安全
|
|
|
+// export const account_security = [
|
|
|
+// {label: '修改登录密码', linkTo: '/personal/modifyPsw'},
|
|
|
+// // {label:'手机绑定',linkTo:'/personal/phoneBinding'},
|
|
|
+// // {label:'邮箱绑定',linkTo:'/personal/mailBinding'},
|
|
|
+// {label: '身份认证', linkTo: '/personal/authentication'},
|
|
|
+// ]
|
|
|
+//
|
|
|
+//
|
|
|
+export let CONFIG = {};
|
|
|
+export const setConfig = (conf) => {
|
|
|
+ CONFIG = conf;
|
|
|
}
|
|
|
-
|
|
|
-//technology页配置(导航数据 + 组件展示)
|
|
|
-//technology_searchTypeArr
|
|
|
-export const technology_searchTypeArr = [
|
|
|
- {
|
|
|
- "name": "众测工具",
|
|
|
- "value": "2",
|
|
|
- "label": '工具'
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "众测案例",
|
|
|
- "value": "3",
|
|
|
- "label": '案例'
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "技术文章",
|
|
|
- "value": "0",
|
|
|
- "label": '文章'
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "论文专著",
|
|
|
- "value": "1",
|
|
|
- "label": '专著'
|
|
|
- }
|
|
|
-];
|
|
|
-//technology_searchType
|
|
|
-export const technology_searchType = '2';
|
|
|
-//technology页container组件展示
|
|
|
-export const TECHNOLOGY_DISPLAY = {
|
|
|
- hot_article: true
|
|
|
-}
|
|
|
-
|
|
|
-//square页配置(导航数据 + 组件展示)
|
|
|
-//square_searchTypeArr
|
|
|
-export const square_searchTabArr = [
|
|
|
- {label: "项目", name: "project"},
|
|
|
- {label: "任务", name: "task"}
|
|
|
-];
|
|
|
-export const square_menuArr = [
|
|
|
- {label: "首页", name: "squareHome"},
|
|
|
- {label: "测试项目", name: "project"},
|
|
|
- {label: "测试任务", name: "task"}
|
|
|
-];
|
|
|
-export const square_searchType = 'project';
|
|
|
-export const square_currTab = 'squareHome';
|
|
|
-export const SQUARE_DISPLAY = {
|
|
|
- popular_project: true,
|
|
|
- popular_task: true,
|
|
|
-}
|
|
|
-
|
|
|
-//user—center侧边目录配置
|
|
|
-//个人信息
|
|
|
-export const user_info = [
|
|
|
- {label: '基本信息', linkTo: '/personal/mine'},
|
|
|
- {label: '我的资质', linkTo: '/personal/qualification'},
|
|
|
- {label: '我的银行卡', linkTo: '/personal/bankCard'}
|
|
|
-];
|
|
|
-//账号安全
|
|
|
-export const account_security = [
|
|
|
- {label: '修改登录密码', linkTo: '/personal/modifyPsw'},
|
|
|
- // {label:'手机绑定',linkTo:'/personal/phoneBinding'},
|
|
|
- // {label:'邮箱绑定',linkTo:'/personal/mailBinding'},
|
|
|
- {label: '身份认证', linkTo: '/personal/authentication'},
|
|
|
-]
|
|
|
-
|
|
|
-
|