|
@@ -3,7 +3,20 @@
|
|
|
<!-- <m-header /> -->
|
|
|
<div v-show="show" class="container" :style="backgroundImg">
|
|
|
<h2>{{ baseInfo.posterTitle }}</h2>
|
|
|
- <div class="section">
|
|
|
+ <div class="section" v-if="baseInfo.transStatus === 'APPLIED'" key="status">
|
|
|
+ <div class="sectionStatus">
|
|
|
+ <img src="../../assets/images/level/sign_over.png" alt="">
|
|
|
+ <h3>您来迟啦,报名已结束~</h3>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section" v-else-if="baseInfo.transStatus === 'NOT_START'" key="status">
|
|
|
+ <div class="sectionStatus">
|
|
|
+ <img src="../../assets/images/level/sign_not_start.png" alt="">
|
|
|
+ <h3>您来早啦,报名还未开始~</h3>
|
|
|
+ <p>报名时间:{{ baseInfo.enrollTime2 }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section" v-else key="status">
|
|
|
<div class="title" style="margin-top: 0">考试类型</div>
|
|
|
<div class="content">{{ baseInfo.examMode === "OFFLINE" ? "线下" : "线上" }}</div>
|
|
|
|
|
@@ -83,11 +96,13 @@ export default {
|
|
|
posterTitle: tempData.posterTitle,
|
|
|
examMode: tempData.examMode,
|
|
|
enrollTime: dayjs(tempData.enrollStartTime).format("YYYY-MM-DD HH:mm") + "~" + dayjs(tempData.enrollEndTime).format("YYYY-MM-DD HH:mm"),
|
|
|
+ enrollTime2: dayjs(tempData.enrollStartTime).format("YYYY-MM-DD HH:mm") + "~" + dayjs(tempData.enrollEndTime).format("HH:mm"),
|
|
|
examLocationIdList: tempData.examLocationIdList,
|
|
|
expectExamTime: dayjs(tempData.expectExamStartTime).format("YYYY-MM-DD") + "~" + dayjs(tempData.expectExamEndTime).format("YYYY-MM-DD"),
|
|
|
status: tempStatus,
|
|
|
examLocations: tempData.examLocations, // 地址
|
|
|
- posterProfile: tempData.posterProfile
|
|
|
+ posterProfile: tempData.posterProfile,
|
|
|
+ transStatus: tempData.status
|
|
|
}
|
|
|
let poster = tempData.posterBackgroundImg ? JSON.parse(tempData.posterBackgroundImg) : ""
|
|
|
if(poster) {
|
|
@@ -146,13 +161,14 @@ export default {
|
|
|
}
|
|
|
.section {
|
|
|
background: #ffffff;
|
|
|
- margin: 2rem .16rem .15rem;
|
|
|
+ margin: 1.87rem .16rem .15rem;
|
|
|
border-radius: .1rem;
|
|
|
padding: .22rem;
|
|
|
.title {
|
|
|
margin-top: .28rem;
|
|
|
font-size: .18rem;
|
|
|
color: #1A1A1A;
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
.content {
|
|
|
padding-top: .05rem;
|
|
@@ -162,6 +178,24 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .sectionStatus {
|
|
|
+ text-align: center;
|
|
|
+ padding: 1rem 0 .5rem;
|
|
|
+ img {
|
|
|
+ width: 1.2rem;
|
|
|
+ }
|
|
|
+ h3 {
|
|
|
+ padding-top: .3rem;
|
|
|
+ font-size: .18rem;
|
|
|
+ color: #1A1A1A;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ padding-top: .05rem;
|
|
|
+ font-size: .14rem;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.protocol {
|
|
|
font-size: .14rem;
|
|
|
margin-bottom: .3rem;
|
|
@@ -170,7 +204,7 @@ export default {
|
|
|
color: #0091FF;
|
|
|
}
|
|
|
.van-button--primary {
|
|
|
- margin: .35rem 0 .1rem;
|
|
|
+ margin: .36rem 0 .18rem;
|
|
|
background-color: var(--main-color);
|
|
|
border: 1px solid var(--main-color);
|
|
|
color: #FFFFFF;
|