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