提交 d6f4f804 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 修改1+X实训平台(中级)首页

上级 d38c7b5e
差异被折叠。
......@@ -5,6 +5,7 @@ const appConfigList = [
hosts: ['saas-lab']
},
{
system: 'x',
title: '1+X实训平台(中级)',
logo: 'https://zws-imgs-pub.ezijing.com/pc/base/ezijing-logo.svg',
hosts: ['saas-x'],
......
......@@ -34,12 +34,13 @@ function handleContestChange(data: ContestType) {
<router-link to="/student/lab" class="link1"></router-link>
<router-link to="/student/contest/score" class="link2"></router-link>
<router-link to="/student/contest" class="link3"></router-link>
<a href="https://saas-learn.ezijing.com" target="_blank" class="link4"></a>
</div>
<div class="select-group">
<el-select size="large" placeholder="我的实验课程" @change="handleChange($event, 1)">
<el-option v-for="item in list" :key="item.id" :label="item.name" :value="item.id"></el-option>
</el-select>
<el-select size="large" placeholder="我的大赛项目" value-key="id" @change="handleContestChange">
<el-select size="large" placeholder="我的大赛项目" value-key="id" @change="handleContestChange" class="select2">
<el-option v-for="item in contestList" :key="item.id" :label="item.name" :value="item"></el-option>
</el-select>
</div>
......@@ -52,6 +53,29 @@ function handleContestChange(data: ContestType) {
background-size: contain;
}
}
.system-x {
.bg {
background: url(@/assets/images/x_home_student_bg.png) no-repeat center center;
background-size: contain;
.link1 {
left: 120px;
}
.link2,
.link3 {
display: none;
}
.link4 {
position: absolute;
top: 200px;
right: 80px;
width: 300px;
height: 300px;
}
}
.select2 {
display: none;
}
}
.bg {
position: relative;
margin: 20px auto;
......
......@@ -55,6 +55,12 @@ function handleChange(id: string, type: number) {
background-size: contain;
}
}
.system-x {
.bg {
background: url(@/assets/images/x_home_teacher_bg.png) no-repeat center center;
background-size: contain;
}
}
.bg {
position: relative;
margin: 20px auto;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论