|
|
@ -1,465 +1,436 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="activity"> |
|
|
|
<div class="wrap index"> |
|
|
|
<div class="banner" :style="{backgroundImage: 'url(' + (form.carouselUrl || 'https://huoran.oss-cn-shenzhen.aliyuncs.com/20220613/png/1536269450851409920.png') + ')'}"></div> |
|
|
|
<div class="banner" :style="{backgroundImage: 'url(' + (form.carouselUrl || 'https://huoran.oss-cn-shenzhen.aliyuncs.com/20220613/png/1536269450851409920.png') + ')'}"></div> |
|
|
|
<div class="center"> |
|
|
|
<div class="center-con"> |
|
|
|
<breadcrumb ref="breadcrumb" :data="'全部赛事/' + form.name" route="matchPreview"></breadcrumb> |
|
|
|
<div class="center-wrap"> |
|
|
|
<div class="activity-inner"> |
|
|
|
<breadcrumb ref="breadcrumb" :data="'全部项目/' + form.projectName"></breadcrumb> |
|
|
|
<div class="flex-between"> |
|
|
|
<div class="content"> |
|
|
|
<el-tabs v-model="curType" @tab-click="typeChange"> |
|
|
|
<div class="tool flex-between"> |
|
|
|
<el-tab-pane v-for="(item, index) in typeList" :key="index" :label="item.name" :name="item.id"></el-tab-pane> |
|
|
|
<el-tabs v-model="curType" @tab-click="typeChange"> |
|
|
|
</el-tabs> |
|
|
|
<el-tab-pane v-for="(item, index) in typeList" :key="index" :label="item.name" :name="item.id"></el-tab-pane> |
|
|
|
<div class="status wait">等待报名</div> |
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
<div class="status wait">等待报名</div> |
|
|
|
<div class="info"> |
|
|
|
</div> |
|
|
|
<h6 class="title">{{ form.name }}</h6> |
|
|
|
<div class="info"> |
|
|
|
<div class="meta">最近编辑时间:{{ form.updateTime }}</div> |
|
|
|
<h6 class="title">{{ form.projectName }}</h6> |
|
|
|
</div> |
|
|
|
<div class="meta">最近编辑时间:{{ form.updateTime }}</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="l-title" id="part1"><img src="@/assets/img/label.png" alt=""> 竞赛信息</div> |
|
|
|
|
|
|
|
<div v-if="form.description" class="texts ql-editor" v-html="form.description"></div> |
|
|
|
|
|
|
|
<template v-if="form.competitionAnnexList && form.competitionAnnexList.length"> |
|
|
|
|
|
|
|
<h6 class="p-title">附件下载</h6> |
|
|
|
|
|
|
|
<ul class="files"> |
|
|
|
|
|
|
|
<li v-for="(item, i) in form.competitionAnnexList" :key="i"> |
|
|
|
|
|
|
|
<el-link v-if="item.canPreview" class="m-r-10" type="primary" @click="previewFile(item)">{{ item.fileName }}</el-link> |
|
|
|
|
|
|
|
<span v-else class="file-name">{{ item.fileName }}</span> |
|
|
|
|
|
|
|
<el-link type="primary" :underline="false" @click="download(item)">下载</el-link> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="!form.description && (!form.competitionAnnexList || !form.competitionAnnexList.length )"> |
|
|
|
|
|
|
|
<div class="empty"> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<img src="@/assets/img/none.png" alt=""> |
|
|
|
|
|
|
|
<p>暂无数据</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="form.releaseType && form.competitionStage.length"> |
|
|
|
|
|
|
|
<div class="l-title"><img src="@/assets/img/label.png" alt=""> 赛程、规则与内容</div> |
|
|
|
|
|
|
|
<h6 class="rule-title">共{{ form.competitionStage.length }}个竞赛阶段,同一个团队每个成员只能参加一个阶段赛项</h6> |
|
|
|
|
|
|
|
<div v-for="(rule, i) in form.competitionStage" :key="i" class="rule"> |
|
|
|
|
|
|
|
<p style="font-size: 16px;color: #333;">{{ rule.stageName }}</p> |
|
|
|
|
|
|
|
<p>比赛时间:{{ rule.startTime && rule.startTime + ' ~ ' + rule.endTime }}</p> |
|
|
|
|
|
|
|
<p>比赛方式:{{ methods.find(e => e.id == rule.method) && methods.find(e => e.id == rule.method).name }}</p> |
|
|
|
|
|
|
|
<p v-if="!rule.method">课程系统:{{ rule.systemName }}</p> |
|
|
|
|
|
|
|
<p v-if="rule.onlineButton">线上地点:{{ rule.onlineAddress }}</p> |
|
|
|
|
|
|
|
<p v-if="rule.offlineButton">线下地点:{{ rule.offlineAddress }}</p> |
|
|
|
|
|
|
|
<template v-if="rule.method === 2"> |
|
|
|
|
|
|
|
<p>线下地点:{{ rule.offlineAddress }}</p> |
|
|
|
|
|
|
|
<p>比赛内容:{{ rule.contentDescription }}</p> |
|
|
|
|
|
|
|
<p>评分规则:{{ rule.scoreRule }}</p> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="form.completeCompetitionSetup.competitionType"> |
|
|
|
<div v-show="curType < 4"> |
|
|
|
<p>团队参赛人数限制:{{ rule.teamNumLimit || '不限制' }}</p> |
|
|
|
<div class="l-title" id="part1"><img src="@/assets/img/label.png" alt=""> 项目信息</div> |
|
|
|
<p>团队成绩计算方式:{{ teamCalculationMethods.find(e => e.id == rule.teamCalculationMethod) && teamCalculationMethods.find(e => e.id == rule.teamCalculationMethod).name }}</p> |
|
|
|
<div v-if="form.projectDescribe" class="texts ql-editor" v-html="form.projectDescribe"></div> |
|
|
|
</template> |
|
|
|
<template v-if="form.activityFileList"> |
|
|
|
<p>阶段比赛结束后{{ rule.resultAnnouncementTime }}小时,公布阶段比赛成绩。</p> |
|
|
|
<h6 class="p-title">附件下载</h6> |
|
|
|
<div v-if="form.rule === 1" class="flex"> |
|
|
|
<ul class="files"> |
|
|
|
<p>晋级规则:</p> |
|
|
|
<li v-for="(item, i) in form.activityFileList" :key="i"> |
|
|
|
<div> |
|
|
|
<el-link v-if="item.canPreview" class="m-r-10" type="primary" @click="preview(item)">{{ item.fileName }}</el-link> |
|
|
|
<p v-if="rule.peopleLimit">本阶段成绩排名前{{ rule.peopleLimit }}队,可晋级下一阶段比赛</p> |
|
|
|
<span v-else class="fileName">{{ item.fileName }}</span> |
|
|
|
<p v-if="rule.percentageLimit">本阶段成绩排名前{{ rule.percentageLimit }}%,可晋级下一阶段比赛</p> |
|
|
|
<el-link type="primary" :underline="false" @click="download(item)">下载</el-link> |
|
|
|
<p v-if="rule.scoreLimit">本阶段成绩{{ rule.scoreLimit }}分,可晋级下一阶段比赛</p> |
|
|
|
</li> |
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 进展 --> |
|
|
|
<!-- 进展 --> |
|
|
|
<div class="l-title" id="part2"><img src="@/assets/img/label.png" alt=""> 竞赛进展</div> |
|
|
|
<div class="l-title" id="part2"><img src="@/assets/img/label.png" alt=""> 项目进展</div> |
|
|
|
<ul class="progress" v-if="progress.length"> |
|
|
|
<ul class="progress" v-if="progress.length"> |
|
|
|
<li v-for="(item,index) in progress" :key="index" :class="item.status == 0 ? 'not' : (item.status == 1 ? 'ing' : 'done')"> |
|
|
|
<li v-for="(item,index) in progress" :key="index" :class="item.status == 0 ? 'not' : (item.status == 1 ? 'ing' : 'done')"> |
|
|
|
<i class="dot"></i> |
|
|
|
<i class="dot"></i> |
|
|
|
<p class="name">{{item.title}}</p> |
|
|
|
<p class="name">{{item.title}}</p> |
|
|
|
<p class="desc">{{item.description}}</p> |
|
|
|
<p class="desc">{{item.description}}</p> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<img class="rocket" src="@/assets/img/rocket.png" alt=""> |
|
|
|
<img class="rocket" src="@/assets/img/rocket.png" alt=""> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<div class="empty"> |
|
|
|
<div class="empty"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<img src="@/assets/img/none.png" alt=""> |
|
|
|
<img src="@/assets/img/none.png" alt=""> |
|
|
|
<p>暂无数据</p> |
|
|
|
<p>暂无数据</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 公告 --> |
|
|
|
<!-- 公告 --> |
|
|
|
<div class="l-title" id="part3"><img src="@/assets/img/label.png" alt=""> 通知公告</div> |
|
|
|
<div class="l-title" id="part3"><img src="@/assets/img/label.png" alt=""> 通知公告</div> |
|
|
|
<ul class="notice-list" v-if="notices.length"> |
|
|
|
<ul class="notice-list" v-if="notices.length"> |
|
|
|
<li v-for="(item, i) in notices" :key="i" @click="toNotice(item)"> |
|
|
|
<li v-for="(item, i) in notices" :key="i" @click="toNotice(item)"> |
|
|
|
<h6>{{ item.announcementTitle }}</h6> |
|
|
|
<h6>{{ item.announcementTitle }}</h6> |
|
|
|
<p class="meta">{{ item.updateTime }}</p> |
|
|
|
<p class="meta">{{ item.updateTime }}</p> |
|
|
|
<div class="des" v-html="item.announcementText"></div> |
|
|
|
<div class="des" v-html="item.announcementText"></div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<div class="empty"> |
|
|
|
<div class="empty"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<img src="@/assets/img/none.png" alt=""> |
|
|
|
<img src="@/assets/img/none.png" alt=""> |
|
|
|
<p>暂无通知公告</p> |
|
|
|
<p>暂无通知公告</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import util from "@/libs/util"; |
|
|
|
|
|
|
|
import breadcrumb from '@/components/breadcrumb' |
|
|
|
import breadcrumb from '@/components/breadcrumb' |
|
|
|
import Const from '@/const/activity' |
|
|
|
import util from '@/libs/util' |
|
|
|
|
|
|
|
import Setting from "@/setting" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
rules: Const.rules, |
|
|
|
form: util.local.get('activity'), |
|
|
|
methods: Const.methods, |
|
|
|
curType: '1', |
|
|
|
teamCalculationMethods: Const.teamCalculationMethods, |
|
|
|
typeList: [ |
|
|
|
curType: '1', |
|
|
|
{ |
|
|
|
typeList: [ |
|
|
|
id: '1', |
|
|
|
{ |
|
|
|
name: '项目信息' |
|
|
|
id: '1', |
|
|
|
}, |
|
|
|
name: '竞赛信息' |
|
|
|
{ |
|
|
|
}, |
|
|
|
id: '2', |
|
|
|
{ |
|
|
|
name: '项目进展' |
|
|
|
id: '2', |
|
|
|
}, |
|
|
|
name: '竞赛进展' |
|
|
|
{ |
|
|
|
}, |
|
|
|
id: '3', |
|
|
|
{ |
|
|
|
name: '通知公告' |
|
|
|
id: '3', |
|
|
|
}, |
|
|
|
name: '通知公告' |
|
|
|
], |
|
|
|
} |
|
|
|
progress: [], |
|
|
|
], |
|
|
|
timer: null, |
|
|
|
form: util.local.get('activity'), |
|
|
|
notices: [], |
|
|
|
progress: [], |
|
|
|
|
|
|
|
notices: [], |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
breadcrumb |
|
|
|
breadcrumb |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
this.handleAnnex() |
|
|
|
|
|
|
|
if (this.form.id) { |
|
|
|
if (this.form.id) { |
|
|
|
this.getProgress() |
|
|
|
this.getProgress() |
|
|
|
this.getNotice() |
|
|
|
this.getNotice() |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 处理附件 |
|
|
|
getProgress() { // 获取项目进展 |
|
|
|
handleAnnex() { |
|
|
|
this.$get(this.api.listActivityProgress, { |
|
|
|
const list = this.form.competitionAnnexList |
|
|
|
activityId: this.form.id |
|
|
|
if (list) { |
|
|
|
}).then(res => { |
|
|
|
list.map(e => { |
|
|
|
this.progress = res.activityProgressList.reverse() |
|
|
|
const { filePath } = e |
|
|
|
}).catch(err => {}); |
|
|
|
e.canPreview = util.canPreview(filePath.substr(filePath.lastIndexOf('.') + 1)) // 判断是否能够预览 |
|
|
|
}, |
|
|
|
}) |
|
|
|
// 公告列表 |
|
|
|
this.$forceUpdate() |
|
|
|
getNotice() { |
|
|
|
} |
|
|
|
this.$post(`${this.api.listActivityAnnouncement}?pageNum=1&pageSize=1000&competitionId=${this.form.id}`).then(({ data }) => { |
|
|
|
}, |
|
|
|
const records = data.records.filter(e => e.status) // 只显示已发布的(status 0草稿 1为已发布) |
|
|
|
getProgress() { // 获取竞赛进展 |
|
|
|
records.map(e => { |
|
|
|
this.$get(this.api.getCompetitionProgress, { |
|
|
|
e.announcementText = e.announcementText.replace(/<img.*?(?:>|\/>)/gi, '') |
|
|
|
competitionId: this.form.id |
|
|
|
}) |
|
|
|
}).then(res => { |
|
|
|
this.notices = records |
|
|
|
this.progress = res.competitionProgressList.reverse() |
|
|
|
}).catch(res => {}) |
|
|
|
}).catch(err => {}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 预览附件 |
|
|
|
// 公告列表 |
|
|
|
preview(item) { |
|
|
|
getNotice() { |
|
|
|
const { filePath } = item |
|
|
|
this.$post(`${this.api.queryAnnouncementByCompetitionId}?pageNum=1&pageSize=1000&competitionId=${this.form.id}`).then(({ data }) => { |
|
|
|
const suffix = filePath.substr(filePath.lastIndexOf('.') + 1) |
|
|
|
const records = data.records.filter(e => e.status) // 只显示已发布的(status 0草稿 1为已发布) |
|
|
|
window.open((util.isDoc(suffix) ? 'https://view.officeapps.live.com/op/view.aspx?src=' : '') + item.filePath) |
|
|
|
records.map(e => { |
|
|
|
}, |
|
|
|
e.announcementText = e.announcementText.replace(/<img.*?(?:>|\/>)/gi, '') |
|
|
|
// 下载附件 |
|
|
|
}) |
|
|
|
download(item) { |
|
|
|
this.notices = records |
|
|
|
util.downloadFile(item.fileName, item.filePath) |
|
|
|
}).catch(res => {}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// tab切换 |
|
|
|
// 预览附件 |
|
|
|
typeChange() { |
|
|
|
previewFile(item) { |
|
|
|
document.querySelector(`#part${type}`).scrollIntoView() |
|
|
|
const { filePath } = item |
|
|
|
}, |
|
|
|
const suffix = filePath.substr(filePath.lastIndexOf('.') + 1) |
|
|
|
|
|
|
|
window.open((util.isDoc(suffix) || suffix === 'pdf' ? 'https://view.officeapps.live.com/op/view.aspx?src=' : '') + item.filePath) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 下载附件 |
|
|
|
|
|
|
|
download(item) { |
|
|
|
|
|
|
|
util.downloadFile(item.fileName, item.filePath) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// tab切换 |
|
|
|
|
|
|
|
typeChange() { |
|
|
|
|
|
|
|
document.querySelector(`#part${this.curType}`).scrollIntoView() |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.activity { |
|
|
|
.wrap { |
|
|
|
padding-bottom: 20px; |
|
|
|
margin: -24px; |
|
|
|
background-color: #F3F6FA; |
|
|
|
} |
|
|
|
.banner{ |
|
|
|
.banner{ |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 350px; |
|
|
|
height: 350px; |
|
|
|
|
|
|
|
padding: 120px 0 0 20%; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
background-size: 100% 350px; |
|
|
|
background-size: 100% 350px; |
|
|
|
background-repeat: no-repeat; |
|
|
|
background-repeat: no-repeat; |
|
|
|
box-sizing: border-box; |
|
|
|
} |
|
|
|
} |
|
|
|
.l-title { |
|
|
|
.center { |
|
|
|
font-size: 18px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.main .center-con { |
|
|
|
width: 1000px; |
|
|
|
width: 1000px; |
|
|
|
margin: 40px auto 0; |
|
|
|
margin: 40px auto 0; |
|
|
|
|
|
|
|
background: url(../../../assets/img/match-bg1.png) (0px 95px)/auto auto no-repeat, |
|
|
|
|
|
|
|
url(../../../assets/img/match-bg2.png) (98% 300px)/auto auto no-repeat; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.main .center-wrap { |
|
|
|
|
|
|
|
margin-top: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.rule-title { |
|
|
|
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.rule { |
|
|
|
|
|
|
|
padding: 15px; |
|
|
|
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
|
|
|
border: 1px solid #dfdfdf; |
|
|
|
|
|
|
|
p { |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
line-height: 30px; |
|
|
|
|
|
|
|
color: #6e6e6e; |
|
|
|
} |
|
|
|
} |
|
|
|
.activity-inner { |
|
|
|
} |
|
|
|
min-height: calc(100vh - 465px); |
|
|
|
/deep/.el-tabs__item { |
|
|
|
padding: 30px 40px 20px; |
|
|
|
box-shadow: none !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.content{ |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
padding: 20px 40px; |
|
|
|
|
|
|
|
margin-top: 30px; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
box-sizing: border-box; |
|
|
|
.title{ |
|
|
|
} |
|
|
|
width: 67%; |
|
|
|
/deep/.el-tabs { |
|
|
|
margin: 0 auto; |
|
|
|
.el-tabs__item.is-active, .el-tabs__item:hover { |
|
|
|
font-size: 28px; |
|
|
|
color: #007EFF; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
color: #0B1D30; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-tabs__active-bar { |
|
|
|
.tool { |
|
|
|
background-color: #007EFF; |
|
|
|
z-index: 100; |
|
|
|
|
|
|
|
position: sticky; |
|
|
|
|
|
|
|
top: 64px; |
|
|
|
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.info .meta{ |
|
|
|
.p-title { |
|
|
|
padding: 16px 0; |
|
|
|
border-left-color: #007EFF; |
|
|
|
font-size: 12px; |
|
|
|
} |
|
|
|
color: #999; |
|
|
|
.l-title{ |
|
|
|
text-align: center; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
margin-bottom: 12px; |
|
|
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
img{ |
|
|
|
|
|
|
|
margin-right: 5px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.status { |
|
|
|
|
|
|
|
padding: 0 16px; |
|
|
|
|
|
|
|
margin-left: 20px; |
|
|
|
|
|
|
|
line-height: 34px; |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
|
|
|
|
background-color: #52C41A; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
&.wait { |
|
|
|
|
|
|
|
background-color: #FAAD14; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.signing { |
|
|
|
|
|
|
|
background-color: #007EFF; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.signed { |
|
|
|
|
|
|
|
background-color: #52C41A; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.finish { |
|
|
|
|
|
|
|
background-color: #ccc; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.title{ |
|
|
|
.action { |
|
|
|
width: 67%; |
|
|
|
display: inline-flex; |
|
|
|
margin: 0 auto; |
|
|
|
align-items: center; |
|
|
|
font-size: 28px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
color: #0B1D30; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.info .meta{ |
|
|
|
|
|
|
|
padding: 16px 0; |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
color: #999; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
margin-bottom: 30px; |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
line-height: 1.6; |
|
|
|
|
|
|
|
text-indent: 2em; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
/deep/img{ |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.status { |
|
|
|
.files { |
|
|
|
max-width: 120px; |
|
|
|
margin-bottom: 30px; |
|
|
|
padding: 0 16px; |
|
|
|
li { |
|
|
|
margin-left: 20px; |
|
|
|
display: flex; |
|
|
|
line-height: 34px; |
|
|
|
align-items: center; |
|
|
|
font-size: 14px; |
|
|
|
margin: 10px 0; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
background-color: #52C41A; |
|
|
|
.file-name { |
|
|
|
border-radius: 4px; |
|
|
|
margin-right: 10px; |
|
|
|
cursor: pointer; |
|
|
|
font-size: 12px; |
|
|
|
@include ellipsis(); |
|
|
|
} |
|
|
|
&.wait { |
|
|
|
} |
|
|
|
background-color: #FAAD14; |
|
|
|
.el-link.el-link--primary { |
|
|
|
} |
|
|
|
color: #007EFF !important; |
|
|
|
&.signing { |
|
|
|
&:after { |
|
|
|
background-color: $main-color; |
|
|
|
border-color: #007EFF; |
|
|
|
} |
|
|
|
} |
|
|
|
&.signed { |
|
|
|
} |
|
|
|
background-color: #52C41A; |
|
|
|
} |
|
|
|
} |
|
|
|
.progress{ |
|
|
|
&.playing { |
|
|
|
position: relative; |
|
|
|
background-color: #f96d6d; |
|
|
|
width: 95%; |
|
|
|
} |
|
|
|
padding: 50px 0; |
|
|
|
&.finish { |
|
|
|
margin: 40px auto 80px; |
|
|
|
background-color: #ccc; |
|
|
|
text-align: left; |
|
|
|
} |
|
|
|
&:before{ |
|
|
|
|
|
|
|
content: ''; |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
left: 50%; |
|
|
|
|
|
|
|
width: 2px; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
background-color: #E1E6F2; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
&:after { |
|
|
|
.end-text { |
|
|
|
content: ''; |
|
|
|
font-size: 12px; |
|
|
|
position: absolute; |
|
|
|
color: #666; |
|
|
|
top: -10px; |
|
|
|
em { |
|
|
|
left: 430px; |
|
|
|
font-style: normal; |
|
|
|
border: 8px solid transparent; |
|
|
|
color: #f00; |
|
|
|
border-bottom-color: #E1E6F2; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.rocket { |
|
|
|
.texts{ |
|
|
|
position: absolute; |
|
|
|
margin: 20px 0 50px; |
|
|
|
bottom: -50px; |
|
|
|
font-size: 14px; |
|
|
|
left: 425px; |
|
|
|
line-height: 1.6; |
|
|
|
|
|
|
|
text-indent: 2em; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
/deep/img{ |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
li{ |
|
|
|
.progress{ |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
width: 400px; |
|
|
|
width: 95%; |
|
|
|
margin-bottom: 42px; |
|
|
|
padding: 50px 0; |
|
|
|
.dot{ |
|
|
|
margin: 40px auto 80px; |
|
|
|
|
|
|
|
text-align: left; |
|
|
|
|
|
|
|
&:before{ |
|
|
|
|
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 12px; |
|
|
|
top: 0; |
|
|
|
left: 431px; |
|
|
|
left: 50%; |
|
|
|
width: 15px; |
|
|
|
width: 2px; |
|
|
|
height: 15px; |
|
|
|
height: 100%; |
|
|
|
background-color: #DCDCDC; |
|
|
|
background-color: #E1E6F2; |
|
|
|
border-radius: 50%; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.name{ |
|
|
|
&:after { |
|
|
|
display: inline-block; |
|
|
|
content: ''; |
|
|
|
padding: 0 19px; |
|
|
|
position: absolute; |
|
|
|
margin-bottom: 16px; |
|
|
|
top: -10px; |
|
|
|
line-height: 40px; |
|
|
|
left: 430px; |
|
|
|
text-align: center; |
|
|
|
border: 8px solid transparent; |
|
|
|
font-size: 16px; |
|
|
|
border-bottom-color: #E1E6F2; |
|
|
|
color: #fff; |
|
|
|
|
|
|
|
border-radius: 20px; |
|
|
|
|
|
|
|
background-color: #C4C4C4; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.desc{ |
|
|
|
.rocket { |
|
|
|
position: relative; |
|
|
|
position: absolute; |
|
|
|
color: #333; |
|
|
|
bottom: -50px; |
|
|
|
font-size: 14px; |
|
|
|
left: 425px; |
|
|
|
} |
|
|
|
} |
|
|
|
&.ing, &.done { |
|
|
|
li{ |
|
|
|
.dot { |
|
|
|
position: relative; |
|
|
|
top: 8px; |
|
|
|
width: 400px; |
|
|
|
background-color: #007EFF; |
|
|
|
margin-bottom: 42px; |
|
|
|
|
|
|
|
.dot{ |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 12px; |
|
|
|
|
|
|
|
left: 431px; |
|
|
|
|
|
|
|
width: 15px; |
|
|
|
|
|
|
|
height: 15px; |
|
|
|
|
|
|
|
background-color: #DCDCDC; |
|
|
|
|
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
} |
|
|
|
.name { |
|
|
|
.name{ |
|
|
|
background-color: #007EFF; |
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
padding: 0 19px; |
|
|
|
|
|
|
|
margin-bottom: 16px; |
|
|
|
|
|
|
|
line-height: 40px; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
|
|
|
|
border-radius: 20px; |
|
|
|
|
|
|
|
background-color: #C4C4C4; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.desc{ |
|
|
|
&.ing { |
|
|
|
position: relative; |
|
|
|
.dot { |
|
|
|
color: #333; |
|
|
|
width: 27px; |
|
|
|
font-size: 14px; |
|
|
|
height: 27px; |
|
|
|
|
|
|
|
border: 6px solid #E2F1FB; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
&.ing, &.done { |
|
|
|
&:nth-child(odd) { |
|
|
|
|
|
|
|
text-align: right; |
|
|
|
|
|
|
|
&.ing { |
|
|
|
|
|
|
|
.dot { |
|
|
|
.dot { |
|
|
|
left: auto; |
|
|
|
top: 8px; |
|
|
|
right: -58px; |
|
|
|
background-color: #007EFF; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.name { |
|
|
|
|
|
|
|
background-color: #007EFF; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.name { |
|
|
|
&.ing { |
|
|
|
&:before { |
|
|
|
.dot { |
|
|
|
content: ''; |
|
|
|
width: 27px; |
|
|
|
z-index: 2; |
|
|
|
height: 27px; |
|
|
|
position: absolute; |
|
|
|
border: 6px solid #E2F1FB; |
|
|
|
top: 14px; |
|
|
|
|
|
|
|
right: -35px; |
|
|
|
|
|
|
|
border: 18px solid transparent; |
|
|
|
|
|
|
|
border-top-width: 6px; |
|
|
|
|
|
|
|
border-bottom-width: 6px; |
|
|
|
|
|
|
|
border-left-color: #C4C4C4; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.desc { |
|
|
|
&:nth-child(odd) { |
|
|
|
text-align: right; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
&.ing { |
|
|
|
&.ing, &.done { |
|
|
|
.dot { |
|
|
|
|
|
|
|
left: auto; |
|
|
|
|
|
|
|
right: -51px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.name { |
|
|
|
.name { |
|
|
|
&:before { |
|
|
|
&:before { |
|
|
|
border-left-color: #007EFF; |
|
|
|
content: ''; |
|
|
|
|
|
|
|
z-index: 2; |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 14px; |
|
|
|
|
|
|
|
right: -35px; |
|
|
|
|
|
|
|
border: 18px solid transparent; |
|
|
|
|
|
|
|
border-top-width: 6px; |
|
|
|
|
|
|
|
border-bottom-width: 6px; |
|
|
|
|
|
|
|
border-left-color: #C4C4C4; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.desc { |
|
|
|
} |
|
|
|
text-align: right; |
|
|
|
&:nth-child(even) { |
|
|
|
|
|
|
|
margin-left: 482px; |
|
|
|
|
|
|
|
.dot { |
|
|
|
|
|
|
|
left: -51px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.ing { |
|
|
|
|
|
|
|
.dot { |
|
|
|
|
|
|
|
left: -57px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
&.ing, &.done { |
|
|
|
.name { |
|
|
|
.name { |
|
|
|
text-align: left; |
|
|
|
&:before { |
|
|
|
&:after { |
|
|
|
border-left-color: #007EFF; |
|
|
|
content: ''; |
|
|
|
} |
|
|
|
z-index: 2; |
|
|
|
} |
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 14px; |
|
|
|
|
|
|
|
left: -35px; |
|
|
|
|
|
|
|
border: 18px solid transparent; |
|
|
|
|
|
|
|
border-top-width: 6px; |
|
|
|
|
|
|
|
border-bottom-width: 6px; |
|
|
|
|
|
|
|
border-right-color: #C4C4C4; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.desc { |
|
|
|
&:nth-child(even) { |
|
|
|
&:before { |
|
|
|
margin-left: 482px; |
|
|
|
left: auto; |
|
|
|
.dot { |
|
|
|
right: -16px; |
|
|
|
left: -51px; |
|
|
|
border: 8px solid transparent; |
|
|
|
|
|
|
|
border-left-color: #fff; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
&:after { |
|
|
|
&.ing { |
|
|
|
left: auto; |
|
|
|
.dot { |
|
|
|
right: -18px; |
|
|
|
left: -57px; |
|
|
|
border: 9px solid transparent; |
|
|
|
} |
|
|
|
border-left-color: #E6E6E6; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.ing, &.done { |
|
|
|
|
|
|
|
.name { |
|
|
|
.name { |
|
|
|
|
|
|
|
text-align: left; |
|
|
|
|
|
|
|
&:after { |
|
|
|
|
|
|
|
content: ''; |
|
|
|
|
|
|
|
z-index: 2; |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 14px; |
|
|
|
|
|
|
|
left: -35px; |
|
|
|
|
|
|
|
border: 18px solid transparent; |
|
|
|
|
|
|
|
border-top-width: 6px; |
|
|
|
|
|
|
|
border-bottom-width: 6px; |
|
|
|
|
|
|
|
border-right-color: #C4C4C4; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.desc { |
|
|
|
|
|
|
|
&:before { |
|
|
|
|
|
|
|
left: auto; |
|
|
|
|
|
|
|
right: -16px; |
|
|
|
|
|
|
|
border: 8px solid transparent; |
|
|
|
|
|
|
|
border-left-color: #fff; |
|
|
|
|
|
|
|
} |
|
|
|
&:after { |
|
|
|
&:after { |
|
|
|
border-right-color: #007EFF; |
|
|
|
left: auto; |
|
|
|
|
|
|
|
right: -18px; |
|
|
|
|
|
|
|
border: 9px solid transparent; |
|
|
|
|
|
|
|
border-left-color: #E6E6E6; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.ing, &.done { |
|
|
|
|
|
|
|
.name { |
|
|
|
|
|
|
|
&:after { |
|
|
|
|
|
|
|
border-right-color: #007EFF; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
&:last-child{ |
|
|
|
&:last-child{ |
|
|
|
margin-bottom: 0; |
|
|
|
margin-bottom: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.files { |
|
|
|
|
|
|
|
margin-bottom: 30px; |
|
|
|
|
|
|
|
li { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
margin: 10px 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.fileName { |
|
|
|
|
|
|
|
margin-right: 10px; |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.notice-list { |
|
|
|
.notice-list { |
|
|
|
text-align: left; |
|
|
|
text-align: left; |
|
|
|
li { |
|
|
|
li { |
|
|
@ -501,33 +472,56 @@ export default { |
|
|
|
text-overflow: ellipsis; |
|
|
|
text-overflow: ellipsis; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.empty{ |
|
|
|
.table { |
|
|
|
display: flex; |
|
|
|
width: 100%; |
|
|
|
justify-content: center; |
|
|
|
border-collapse: collapse; |
|
|
|
align-items: center; |
|
|
|
th, td { |
|
|
|
padding: 50px 0; |
|
|
|
padding: 12px; |
|
|
|
text-align: center; |
|
|
|
border: 1px solid #ebeef5; |
|
|
|
img{ |
|
|
|
|
|
|
|
width: 471px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
p{ |
|
|
|
&.tc { |
|
|
|
margin-top: 40px; |
|
|
|
text-align: center; |
|
|
|
font-size: 18px; |
|
|
|
} |
|
|
|
color: rgba(0, 0, 0, 0.25); |
|
|
|
th { |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
background-color: #f8faff; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
margin-right: 10px; |
|
|
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
|
|
color: #7a7a7a; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
color: #007EFF; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.plus { |
|
|
|
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
text-align: right; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.line { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
.el-input { |
|
|
|
|
|
|
|
margin-right: 15px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.rule-title { |
|
|
|
.flex-center { |
|
|
|
margin-bottom: 10px; |
|
|
|
display: flex; |
|
|
|
font-size: 16px; |
|
|
|
justify-content: space-between; |
|
|
|
} |
|
|
|
align-items: center; |
|
|
|
.rule { |
|
|
|
|
|
|
|
padding: 15px; |
|
|
|
|
|
|
|
margin-bottom: 15px; |
|
|
|
margin-bottom: 15px; |
|
|
|
border: 1px solid #dfdfdf; |
|
|
|
} |
|
|
|
p { |
|
|
|
/deep/.dia-form { |
|
|
|
font-size: 14px; |
|
|
|
.w-100 { |
|
|
|
line-height: 30px; |
|
|
|
width: 100%; |
|
|
|
color: #6e6e6e; |
|
|
|
} |
|
|
|
|
|
|
|
.tips { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |