调度大赛调整

This commit is contained in:
fan 2020-08-27 19:01:50 +08:00
parent 3c016a5c4b
commit f87506dfd9
3 changed files with 22 additions and 3 deletions

BIN
src/assets/hand-o-right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

View File

@ -45,7 +45,7 @@ export const loginInfo = {
systemType: '011'
},
drts: {
title: '城市轨道交通行车调度员竞赛练习系统',
title: '行车调度员竞赛练习系统',
loginPath: '/login?project=drts',
loginParam: 'DRTS',
loginTitle: '空串',

View File

@ -12,7 +12,7 @@
<span>{{ loginTitle==='空串'?'':loginTitle }}</span>
</div>
<div v-if="project === 'drts' && !gameOver" style="position: absolute; top: 10%;font-size: 50px;color:#F00;text-align: center;">
<div style="display: inline-block;">距离全国调度大赛还剩</div>
<div style="display: inline-block;">距离2020年新誉杯全国城市轨道交通行业职业技能竞赛还剩</div>
<div class="countdown_box">{{ days[0] }}</div>
<div class="countdown_box">{{ days[1] }}</div>
<div class="countdown_box">{{ days[2] }}</div>
@ -127,6 +127,9 @@
</el-col>
</el-row>
</div>
<div v-if="project === 'drts'" style="position: absolute; bottom: 50px; font-size: 20px;left: 20px;color:#3D3D3D;width: 200px;height: 150px;background: #FFF;padding: 10px;border: 5px solid #CCC;border-radius: 8px;cursor: pointer;">
<div class="news-box" @click="goCompetitionRules"><img :src="handRight" width="14" height="14" style="margin-right: 15px">新誉杯竞赛规程</div>
</div>
</div>
</template>
@ -144,6 +147,7 @@ import bgIscsImg from '@/assets/bg_iscs.jpg';
import bgCctvImg from '@/assets/bg_cctv.jpg';
import bgLswImg from '@/assets/bg_lsw.jpg';
import bgPsdImg from '@/assets/bg_psd.png';
import HandRight from '@/assets/hand-o-right.png';
import wchat from '@/assets/wchat.png';
import { UrlConfig } from '@/scripts/ConstDic';
import { loginInfo, ProjectIcon, ProjectLoginStyleList, VersionBaseNoShow, MainBodyNoShow, NoQrcodeList} from '@/scripts/ProjectConfig';
@ -208,7 +212,8 @@ export default {
countdown: null,
days: [0, 0, 0],
gameOver: false,
wchatImg: wchat
wchatImg: wchat,
handRight: HandRight
};
},
computed: {
@ -572,6 +577,9 @@ export default {
this.days.push(Math.floor(day / 100));
this.days.push(Math.floor((day % 100) / 10));
this.days.push(day % 10);
},
goCompetitionRules() {
window.open('https://mp.weixin.qq.com/s?__biz=MzI3NzMwODY3OQ==&mid=2247506304&idx=1&sn=77708ca228404cee2b28e131cdfb9735&chksm=eb6aade8dc1d24fe6eb9f1334aadda239f47dafc79de7d522e0f3f00e2d3ba1dd213dda6764c&xtrack=1&scene=90&subscene=93&sessionid=1598522875&clicktime=1598523062&enterid=1598523062&ascene=56&devicetype=android-29&version=3.0.27.2701&nettype=WIFI&abtest_cookie=AAACAA%3D%3D&lang=zh_CN&exportkey=AQZ2cTPSob%2B5kBDiWnKw0Js%3D&pass_ticket=12Xyhe%2BbZsC9Vuzfs0iYUUn0i%2Br5JlZiOGCxWoExuthBhnIrpkmUyjVRi6bjyA1I&wx_header=1&platform=win', '_blank');
}
}
};
@ -664,6 +672,17 @@ export default {
text-align: center;
border-radius: 5px;
}
.news-box {
color: #409EFF;
width: 100%;
border-bottom: dashed 1px #409EFF;
font-size: 14px;
line-height: 30px;
height: 30px;
}
.news-box:hover {
color: #3943CB;
}
.login-container {
position: fixed;
display: flex;