|
@@ -26,19 +26,19 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="18" class="right">
|
|
<el-col :span="18" class="right">
|
|
- <span v-if="columnName == '资源介绍'">
|
|
|
|
|
|
+ <span v-if="columnName == '吉林超算'">
|
|
<resources :columnName="columnName"></resources>
|
|
<resources :columnName="columnName"></resources>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="columnName == '账号申请'">
|
|
|
|
|
|
+ <span v-else-if="columnName == '超算应用'">
|
|
<apply :columnName="columnName"></apply>
|
|
<apply :columnName="columnName"></apply>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="columnName == '计算登录'">
|
|
|
|
|
|
+ <span v-else-if="columnName == '运行动态'">
|
|
<sign :columnName="columnName"></sign>
|
|
<sign :columnName="columnName"></sign>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="columnName == '应用领域'">
|
|
|
|
|
|
+ <span v-else-if="columnName == '超算课堂'">
|
|
<application :columnName="columnName"></application>
|
|
<application :columnName="columnName"></application>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="columnName == '应用案例'">
|
|
|
|
|
|
+ <!-- <span v-else-if="columnName == 'AI社区'">
|
|
<cases :columnName="columnName"></cases>
|
|
<cases :columnName="columnName"></cases>
|
|
</span>
|
|
</span>
|
|
<span v-else-if="columnName == '运行动态'">
|
|
<span v-else-if="columnName == '运行动态'">
|
|
@@ -46,7 +46,7 @@
|
|
</span>
|
|
</span>
|
|
<span v-else-if="columnName == '超算讲堂'">
|
|
<span v-else-if="columnName == '超算讲堂'">
|
|
<forum :columnName="columnName"></forum>
|
|
<forum :columnName="columnName"></forum>
|
|
- </span>
|
|
|
|
|
|
+ </span> -->
|
|
<span v-else-if="columnName == 'AI社区'">
|
|
<span v-else-if="columnName == 'AI社区'">
|
|
<community :columnName="columnName"></community>
|
|
<community :columnName="columnName"></community>
|
|
</span>
|
|
</span>
|
|
@@ -84,30 +84,22 @@ export default {
|
|
top,
|
|
top,
|
|
menus,
|
|
menus,
|
|
foot,
|
|
foot,
|
|
- resources, //资源介绍
|
|
|
|
- apply, //账号申请
|
|
|
|
- sign, //计算登录
|
|
|
|
- application, //应用领域
|
|
|
|
- cases, //应用案例
|
|
|
|
- funct, //运行动态
|
|
|
|
- forum, //超算讲堂
|
|
|
|
|
|
+ resources, //吉林超算
|
|
|
|
+ apply, //超算应用
|
|
|
|
+ sign, //运行动态
|
|
|
|
+ application, //超算课堂
|
|
|
|
+ // cases, //应用案例
|
|
|
|
+ // funct, //运行动态
|
|
|
|
+ // forum, //超算讲堂
|
|
community, //AI社区
|
|
community, //AI社区
|
|
},
|
|
},
|
|
data: function() {
|
|
data: function() {
|
|
return {
|
|
return {
|
|
- menuList: [
|
|
|
|
- { name: '资源介绍' },
|
|
|
|
- { name: '账号申请' },
|
|
|
|
- { name: '计算登录' },
|
|
|
|
- { name: '应用领域' },
|
|
|
|
- { name: '应用案例' },
|
|
|
|
- { name: '运行动态' },
|
|
|
|
- { name: '超算讲堂' },
|
|
|
|
- { name: 'AI社区' },
|
|
|
|
- ],
|
|
|
|
|
|
+ menuList: [{ name: '吉林超算' }, { name: '超算应用' }, { name: '运行动态' }, { name: '超算课堂' }, { name: 'AI社区' }],
|
|
menuColor: 'rgb(5,73,130)',
|
|
menuColor: 'rgb(5,73,130)',
|
|
menuIndex: '0',
|
|
menuIndex: '0',
|
|
columnName: '',
|
|
columnName: '',
|
|
|
|
+ //吉林超算
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -116,36 +108,24 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 选择栏目
|
|
// 选择栏目
|
|
changeColumn() {
|
|
changeColumn() {
|
|
- if (this.col_name == '资源介绍') {
|
|
|
|
|
|
+ if (this.col_name == '吉林超算') {
|
|
this.menuIndex = 0;
|
|
this.menuIndex = 0;
|
|
this.columnName = this.col_name;
|
|
this.columnName = this.col_name;
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
- } else if (this.col_name == '账号申请') {
|
|
|
|
|
|
+ } else if (this.col_name == '超算应用') {
|
|
this.menuIndex = 1;
|
|
this.menuIndex = 1;
|
|
this.columnName = this.col_name;
|
|
this.columnName = this.col_name;
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
- } else if (this.col_name == '计算登录') {
|
|
|
|
|
|
+ } else if (this.col_name == '运行动态') {
|
|
this.menuIndex = 2;
|
|
this.menuIndex = 2;
|
|
this.columnName = this.col_name;
|
|
this.columnName = this.col_name;
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
- } else if (this.col_name == '应用领域') {
|
|
|
|
|
|
+ } else if (this.col_name == '超算课堂') {
|
|
this.menuIndex = 3;
|
|
this.menuIndex = 3;
|
|
this.columnName = this.col_name;
|
|
this.columnName = this.col_name;
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
- } else if (this.col_name == '应用案例') {
|
|
|
|
- this.menuIndex = 4;
|
|
|
|
- this.columnName = this.col_name;
|
|
|
|
- this.menuColor = 'rgb(5,73,130)';
|
|
|
|
- } else if (this.col_name == '运行动态') {
|
|
|
|
- this.menuIndex = 5;
|
|
|
|
- this.columnName = this.col_name;
|
|
|
|
- this.menuColor = 'rgb(5,73,130)';
|
|
|
|
- } else if (this.col_name == '超算讲堂') {
|
|
|
|
- this.menuIndex = 6;
|
|
|
|
- this.columnName = this.col_name;
|
|
|
|
- this.menuColor = 'rgb(5,73,130)';
|
|
|
|
} else if (this.col_name == 'AI社区') {
|
|
} else if (this.col_name == 'AI社区') {
|
|
- this.menuIndex = 7;
|
|
|
|
|
|
+ this.menuIndex = 4;
|
|
this.columnName = this.col_name;
|
|
this.columnName = this.col_name;
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
this.menuColor = 'rgb(5,73,130)';
|
|
}
|
|
}
|
|
@@ -183,10 +163,10 @@ export default {
|
|
margin: 0 0 10px 0;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
}
|
|
.main {
|
|
.main {
|
|
- min-height: 600px;
|
|
|
|
|
|
+ min-height: 800px;
|
|
margin: 0 0 10px 0;
|
|
margin: 0 0 10px 0;
|
|
.left {
|
|
.left {
|
|
- min-height: 600px;
|
|
|
|
|
|
+ min-height: 800px;
|
|
background: #fff;
|
|
background: #fff;
|
|
margin: 0 10px 0 0;
|
|
margin: 0 10px 0 0;
|
|
.top {
|
|
.top {
|
|
@@ -212,7 +192,7 @@ export default {
|
|
}
|
|
}
|
|
.right {
|
|
.right {
|
|
width: 78%;
|
|
width: 78%;
|
|
- min-height: 600px;
|
|
|
|
|
|
+ min-height: 800px;
|
|
background: #fff;
|
|
background: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|