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.
119 lines
2.2 KiB
119 lines
2.2 KiB
<template>
|
|
<div class="box">
|
|
<div>
|
|
<div class="policy-title">
|
|
<span>{{ actDetail.title }}</span>
|
|
</div>
|
|
<div class="policy-info">
|
|
<span>
|
|
<a-icon
|
|
class="baseColor"
|
|
style="font-size: 14px; margin-right: 10px"
|
|
type="clock-circle"
|
|
/>
|
|
<span>{{ actDetail.releaseTime }}-{{ actDetail.closeTime }}</span>
|
|
</span>
|
|
<span style="margin-left: 60px">
|
|
<a-icon class="baseColor" style="margin-right: 10px" type="environment" />
|
|
<span>{{ actDetail.address }}</span>
|
|
</span>
|
|
</div>
|
|
<div class="policy-content" v-dompurify-html="actDetail.content"></div>
|
|
<enroll :fnval="actDetail.activityId" style="margin: 50px 25px" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from 'vuex';
|
|
import Enroll from './components/Enroll.vue';
|
|
export default {
|
|
name: 'ActDetails',
|
|
components: { Enroll },
|
|
data() {
|
|
return {};
|
|
},
|
|
computed: mapState('home', ['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>
|
|
|