[go: nahoru, domu]

Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
ouhaiping_vendor committed Jun 7, 2021
1 parent 5a85026 commit e2b2e1d
Show file tree
Hide file tree
Showing 58 changed files with 2,397 additions and 130 deletions.
34 changes: 19 additions & 15 deletions config/home.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var home = {}
// HeaderMenu
export const headerMenuConfig = {
logoText: 'Oria',
home.headerMenuConfig = {
logoText: '1111',
menuLists: [
{
path: "/neverx",
Expand Down Expand Up @@ -42,13 +43,13 @@ export const headerMenuConfig = {
}

// Banner
export const bannerConfig = {
home.bannerConfig = {
bannerText: "From research to production?", // 正常
bannerTextSmall: "NeverX is X-Lab Deep Reinforcement Learning Framework System,……", // 小号
}

// 核心能力
export const coreAbilityConfig = {
home.coreAbilityConfig = {
title: "核心能力",
coreAbilityLists: [
{
Expand Down Expand Up @@ -77,32 +78,32 @@ export const coreAbilityConfig = {
}

// 场景案例
export const sceneCaseConfig = {
home.sceneCaseConfig = {
title: "场景案例",
caseLists: [
{
imgUrl: require('@/assets/images/home/sceneCase/case_image_01.png'),
imgUrl: './static/images/home/sceneCase/case_image_01.png',
desc: '星际……'
},
{
imgUrl: require('@/assets/images/home/sceneCase/case_image_02.png'),
imgUrl: './static/images/home/sceneCase/case_image_02.png',
desc: '自动驾驶……'
}
],

}

// 最新消息
export const newsConfig = {
home.newsConfig = {
title: "最新消息",
// 左侧轮播图
carouselLists: [
{
imgUrl: require('@/assets/images/home/news/news_image_01.png'),
imgUrl: ('./static/images/home/news/news_image_01.png'),
desc: '星际……'
},
{
imgUrl: require('@/assets/images/home/news/news_image_02.png'),
imgUrl: ('./static/images/home/news/news_image_02.png'),
desc: '自动驾驶……'
}
],
Expand Down Expand Up @@ -136,7 +137,7 @@ export const newsConfig = {
}

// 社区信息
export const communityConfig = {
home.communityConfig = {
title: "社区信息",
communityLists: [
{
Expand Down Expand Up @@ -166,7 +167,7 @@ export const communityConfig = {
}

// 教学视频
export const teachingVideoConfig = {
home.teachingVideoConfig = {
title: "教学视频",
teachingVideoLists: [
{
Expand All @@ -184,7 +185,7 @@ export const teachingVideoConfig = {


// Footer
export const footerConfig = {
home.footerConfig = {
footerInfoLists: [
{
title: '相关资源',
Expand Down Expand Up @@ -240,11 +241,14 @@ export const footerConfig = {
],
qrcodeLists: [
{
imgUrl: require('@/assets/images/home/footer/qrcode_image_01.png')
imgUrl: ('./static/images/home/footer/qrcode_image_01.png')
},
{
imgUrl: require('@/assets/images/home/footer/qrcode_image_02.png')
imgUrl: ('./static/images/home/footer/qrcode_image_02.png')
}
]
}

window['homeConfig'] = home

console.log('home111111111111111', home);
23 changes: 18 additions & 5 deletions config/neverx.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
let neverx={}

// HeaderMenu
export const headerMenuConfig = {
neverx.headerMenuConfig = {
logoText: 'Neverx',
menuLists: [
{
Expand All @@ -25,12 +27,12 @@ export const headerMenuConfig = {
}

// Banner
export const bannerConfig = {
neverx.bannerConfig = {
bannerTextSmall: "NeverX is X-Lab Deep Reinforcement Learning Framework System,you can ……", // 小号
}

// 安装
export const installInfoConfig = {
neverx.installInfoConfig = {
title: '安装',

formConfig: [
Expand Down Expand Up @@ -152,13 +154,24 @@ export const installInfoConfig = {


// 文档
export const documentInfoConfig = {
neverx.documentInfoConfig = {
title: "文档",
content: "open-xlab.pages.gitlab.bj.sensetime.com/cell/nerveX/guide/index.html"
}

// 算法
export const algorithmInfoConfig = {
neverx.algorithmInfoConfig = {
title: "算法",
content: "open-xlab.pages.gitlab.bj.sensetime.com/cell/nerveX/guide/index.html"
}

// default{
// headerMenuConfig,
// bannerConfig,
// installInfoConfig,
// documentInfoConfig,
// algorithmInfoConfig

// }

window['neverxConfig']=neverx
24 changes: 16 additions & 8 deletions config/ss.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
let ss={}

// HeaderMenu
export const headerMenuConfig = {
ss.headerMenuConfig = {
logoText: 'ss',
menuLists: [
{
Expand Down Expand Up @@ -33,14 +34,14 @@ export const headerMenuConfig = {
}

// Banner
export const bannerConfig = {
ss.bannerConfig = {
bannerText: "SS", // 正常
bannerTextSmall: "SS is X-Lab Deep Reinforcement Learning《星际争霸2》是一款RTS(即时战略)游戏,说白了就是造农民采矿、造建筑、造兵、攀科技,最后派兵拆光对手的建筑 System", // 小号
}


// 安装
export const installInfoConfig = {
ss.installInfoConfig = {
title: '安装',

formConfig: [
Expand Down Expand Up @@ -159,13 +160,13 @@ export const installInfoConfig = {
}
}
// 文档
export const documentInfoConfig = {
ss.documentInfoConfig = {
title: "文档",
content: "open-xlab.pages.gitlab.bj.sensetime.com/cell/nerveX/guide/index.html"
}

// 数据 dataDetail: 数据详情介绍 dataFormat:数据格式 dataBenchmark:数据评测 dataDownload:数据下载
export const dataInfoConfig = {
ss.dataInfoConfig = {
title: "数据",
replay: {
title: "replay",
Expand All @@ -179,11 +180,18 @@ export const dataInfoConfig = {
video: {
title: "视频",
videoLink: '//vjs.zencdn.net/v/oceans.mp4',
vedeoImg: require('@/assets/images/ss/video/video_image_01.png'), //视频展示的封面

vedeoImg: './static/images/ss/video/video_image_01.png', //视频展示的封面
},


}


// default{
// headerMenuConfig,
// bannerConfig,
// installInfoConfig,
// documentInfoConfig,
// dataInfoConfig

// }
window['ssConfig']=ss
23 changes: 16 additions & 7 deletions config/xad.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

let xad={}
// HeaderMenu
export const headerMenuConfig = {
xad.headerMenuConfig = {
logoText: 'XAD',
menuLists: [
{
Expand Down Expand Up @@ -33,7 +33,7 @@ export const headerMenuConfig = {
}

// 安装
export const installInfoConfig = {
xad.installInfoConfig = {
title: '安装',

formConfig: [
Expand Down Expand Up @@ -135,13 +135,13 @@ export const installInfoConfig = {
}

// 文档
export const documentInfoConfig = {
xad.documentInfoConfig = {
title: "文档",
content: "open-xlab.pages.gitlab.bj.sensetime.com/cell/nerveX/guide/index.html"
}

// 数据 dataDetail: 数据详情介绍 dataFormat:数据格式 dataBenchmark:数据评测 dataDownload:数据下载
export const dataInfoConfig = {
xad.dataInfoConfig = {
title: "数据",
dataDetail: {
title: "数据详情介绍",
Expand All @@ -150,12 +150,12 @@ export const dataInfoConfig = {
tableData: [
{
name: '路口前障碍物停车测试',
picture: require('@/assets/images/xad/dataInfo/data_image_01.png'),
picture: './static/images/xad/dataInfo/data_image_01.png',
desc: 'test test',
},
{
name: '路口中不overtake测试',
picture: require('@/assets/images/xad/dataInfo/data_image_02.png'),
picture: ('./static/images/xad/dataInfo/data_image_02.png'),
desc: '路口中不overtake测试',
},
],
Expand Down Expand Up @@ -252,3 +252,12 @@ export const dataInfoConfig = {


}
// default{
// headerMenuConfig,
// installInfoConfig,
// documentInfoConfig,
// dataInfoConfig,

// }

window['xadConfig']=xad
Loading

0 comments on commit e2b2e1d

Please sign in to comment.