forked from TALL/check-work
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.2 KiB
116 lines
2.2 KiB
5 years ago
|
<template>
|
||
|
<div class="box">
|
||
|
<div>
|
||
|
<div class="policy-title">
|
||
|
<span>{{ actDetail.title }}</span>
|
||
|
</div>
|
||
|
<div class="policy-info">
|
||
|
<span>
|
||
|
<a-icon type="clock-circle" class="baseColor" style="font-size: 14px; margin-right: 10px" />
|
||
|
<span>{{ actDetail.releaseTime }}-{{ actDetail.closeTime }}</span>
|
||
|
</span>
|
||
|
<span style="margin-left: 60px">
|
||
|
<a-icon type="environment" style="margin-right: 10px" class="baseColor" />
|
||
|
<span>{{ actDetail.address }}</span>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="policy-content" v-dompurify-html="actDetail.content"></div>
|
||
|
<enroll style="margin: 50px 25px" :fnval="actDetail.activityId" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { mapState } from 'vuex';
|
||
|
import Enroll from './components/Enroll.vue';
|
||
|
export default {
|
||
|
name: 'ActDetails',
|
||
|
components: { Enroll },
|
||
|
data() {
|
||
|
return {};
|
||
|
},
|
||
|
computed: mapState(['actDetail']),
|
||
|
created() {},
|
||
|
methods: {},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style lang="stylus" scoped>
|
||
|
.box {
|
||
|
width: 1260px;
|
||
|
position: relative;
|
||
|
margin: 80px auto;
|
||
|
background: #fff;
|
||
|
min-height: 1037px;
|
||
|
overflow: hidden;
|
||
|
opacity: 1;
|
||
|
padding-bottom: 480px;
|
||
|
}
|
||
|
|
||
|
.back-btn {
|
||
|
width: 80px;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
.policy-title {
|
||
|
height: 120px;
|
||
|
font-size: 24px;
|
||
|
font-family: Microsoft YaHei;
|
||
|
font-weight: 400;
|
||
|
color: rgba(0, 0, 0, 0.85);
|
||
|
opacity: 1;
|
||
|
text-align: center;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
padding: 0 150px;
|
||
|
border-bottom: 1px solid #707070;
|
||
|
}
|
||
|
|
||
|
.policy-info {
|
||
|
height: 76px;
|
||
|
line-height: 76px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.policy-content {
|
||
|
padding: 0 25px;
|
||
|
font-size: 16px;
|
||
|
color: rgba(0, 0, 0, 0.65);
|
||
|
font-weight: 400;
|
||
|
font-family: Microsoft YaHei;
|
||
|
}
|
||
|
|
||
|
.coms-style {
|
||
|
height: 480px;
|
||
|
padding: 25px 0;
|
||
|
border-top: 2px solid #ccc;
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.coms-top {
|
||
|
height: 280px;
|
||
|
padding: 0 25px;
|
||
|
overflow: auto;
|
||
|
box-shadow: 0 0 5px #ccc;
|
||
|
}
|
||
|
|
||
|
.coms-btm {
|
||
|
margin-top: 20px;
|
||
|
padding: 0 10px;
|
||
|
}
|
||
|
|
||
|
.coms-content {
|
||
|
background: rgba(19, 172, 196, 0.1);
|
||
|
}
|
||
|
|
||
|
.sub {
|
||
|
position: absolute;
|
||
|
right: 20px;
|
||
|
bottom: 20px;
|
||
|
}
|
||
|
</style>
|