|
|
|
@ -1,42 +1,33 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="wrap"> |
|
|
|
|
<div v-if="form.bannerImg" |
|
|
|
|
class="banner" |
|
|
|
|
:style="{backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : ''}"> |
|
|
|
|
<div v-if="form.bannerImg" class="banner" |
|
|
|
|
:style="{ backgroundImage: form.bannerImg ? ('url(' + form.bannerImg + ')') : '' }"> |
|
|
|
|
{{ form.columnName }} |
|
|
|
|
</div> |
|
|
|
|
<div class="content"> |
|
|
|
|
<Breadcrumb ref="breadcrumb" |
|
|
|
|
:data.sync="routes" /> |
|
|
|
|
<Breadcrumb ref="breadcrumb" :data.sync="routes" /> |
|
|
|
|
<div class="article"> |
|
|
|
|
<div class="left"> |
|
|
|
|
<h2>{{ form.title }}</h2> |
|
|
|
|
<div class="meta">{{$t('column.time')}}:{{ form.activityStartTime }}</div> |
|
|
|
|
<div v-if="form.offlineLocation" |
|
|
|
|
class="meta">{{$t('column.address')}}:{{ form.offlineLocation }}</div> |
|
|
|
|
<div v-if="form.onlineLocation" |
|
|
|
|
class="meta">{{$t('column.online')}}:{{ form.onlineLocation }}</div> |
|
|
|
|
<div v-if="form.offlineLocation" |
|
|
|
|
class="meta">{{$t('column.offline')}}:{{ form.offlineLocation }}</div> |
|
|
|
|
<div v-if="form.keynoteSpeaker" |
|
|
|
|
class="meta">{{$t('column.speaker')}}:{{ form.keynoteSpeaker }}</div> |
|
|
|
|
<div v-if="form.lectureSeries" |
|
|
|
|
class="meta">{{$t('column.series')}}:{{ form.lectureSeries }}</div> |
|
|
|
|
|
|
|
|
|
<h6>{{$t('column.ActivityIntroduction')}}</h6> |
|
|
|
|
<div class="meta">{{ $t('column.time') }}:{{ form.activityStartTime }} ~ {{ form.activityEndTime }}</div> |
|
|
|
|
<div v-if="form.offlineLocation" class="meta">{{ $t('column.address') }}:{{ form.offlineLocation }}</div> |
|
|
|
|
<div v-if="form.onlineLocation" class="meta">{{ $t('column.online') }}:{{ form.onlineLocation }}</div> |
|
|
|
|
<div v-if="form.offlineLocation" class="meta">{{ $t('column.offline') }}:{{ form.offlineLocation }}</div> |
|
|
|
|
<div v-if="form.keynoteSpeaker" class="meta">{{ $t('column.speaker') }}:{{ form.keynoteSpeaker }}</div> |
|
|
|
|
<div v-if="form.lectureSeries" class="meta">{{ $t('column.series') }}:{{ form.lectureSeries }}</div> |
|
|
|
|
<div v-if="form.source" class="meta">{{ $t('column.source') }}:{{ form.source }}</div> |
|
|
|
|
|
|
|
|
|
<h6>{{ $t('column.ActivityIntroduction') }}</h6> |
|
|
|
|
<div> {{ form.eventProfile }}</div> |
|
|
|
|
|
|
|
|
|
<h6>{{$t('column.content')}}</h6> |
|
|
|
|
<h6>{{ $t('column.content') }}</h6> |
|
|
|
|
<div v-html="form.mainBody"></div> |
|
|
|
|
<div v-if="form.fileList && form.fileList.length" |
|
|
|
|
class="annex"> |
|
|
|
|
<h6>{{$t('column.attachmentDownload')}}</h6> |
|
|
|
|
<div v-if="form.fileList && form.fileList.length" class="annex"> |
|
|
|
|
<h6>{{ $t('column.attachmentDownload') }}</h6> |
|
|
|
|
<ul class="files"> |
|
|
|
|
<li v-for="(file, i) in form.fileList" |
|
|
|
|
:key="i"> |
|
|
|
|
<li v-for="(file, i) in form.fileList" :key="i"> |
|
|
|
|
<span class="name">{{ file.fileName }}</span> |
|
|
|
|
<span class="download" |
|
|
|
|
@click="download(file)">{{$t('column.download')}}</span> |
|
|
|
|
<span class="download" @click="download(file)">{{ $t('column.download') }}</span> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
@ -48,7 +39,6 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import Setting from '@/setting' |
|
|
|
|
import Util from '@/libs/util' |
|
|
|
|
import Breadcrumb from '@/components/breadcrumb' |
|
|
|
|
import RightColumns from '@/components/rightColumns' |
|
|
|
@ -144,9 +134,11 @@ export default { |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@import './editor.css'; |
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
|
width: 1200px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.banner { |
|
|
|
|
height: 280px; |
|
|
|
|
padding: 123px 0 0 243px; |
|
|
|
@ -155,34 +147,42 @@ export default { |
|
|
|
|
background: url(../../assets/images/intro-bg.png) 0 0/100% 100% no-repeat; |
|
|
|
|
object-fit: cover; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.article { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
.left { |
|
|
|
|
width: 66%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
h2 { |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
font-size: 36px; |
|
|
|
|
color: #1c1c1c; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.meta { |
|
|
|
|
margin: 10px 0; |
|
|
|
|
font-size: 18px; |
|
|
|
|
font-weight: 600; |
|
|
|
|
color: #333; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/.des { |
|
|
|
|
a { |
|
|
|
|
color: rgb(0, 0, 238); |
|
|
|
|
word-wrap: break-word; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
max-width: 100%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.annex { |
|
|
|
|
margin-top: 30px; |
|
|
|
|
|
|
|
|
|
h6 { |
|
|
|
|
padding-left: 8px; |
|
|
|
|
margin-bottom: 20px; |
|
|
|
@ -193,20 +193,24 @@ export default { |
|
|
|
|
color: #333; |
|
|
|
|
border-left: 4px solid #1583ff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.name { |
|
|
|
|
margin-right: 8px; |
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.download { |
|
|
|
|
color: #1583ff; |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
h6 { |
|
|
|
|
margin: 30px 0 10px; |
|
|
|
|
font-size: 18px; |
|
|
|
@ -218,6 +222,7 @@ export default { |
|
|
|
|
width: 98%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (max-width: 1200px) { |
|
|
|
|
.article { |
|
|
|
|
/deep/.des { |
|
|
|
@ -227,18 +232,23 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.banner { |
|
|
|
|
font-size: 1.5rem; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.article { |
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
.left { |
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
h2 { |
|
|
|
|
font-size: 1.5rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.article { |
|
|
|
|
.des { |
|
|
|
|
img { |
|
|
|
@ -246,6 +256,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.right { |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|