|
|
@ -1,7 +1,11 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div v-show="loaded" :class="['wrap', { activity: info.listStyleId === 15 }]"> |
|
|
|
<div v-show="loaded" |
|
|
|
|
|
|
|
:class="['wrap', { activity: info.listStyleId === 15 }]"> |
|
|
|
<div class="banner"> |
|
|
|
<div class="banner"> |
|
|
|
<img width="100%" height="280" :src="info.columnBanner" alt="" /> |
|
|
|
<img width="100%" |
|
|
|
|
|
|
|
height="280" |
|
|
|
|
|
|
|
:src="info.columnBanner" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<p class="text">{{ info.columnName }}</p> |
|
|
|
<p class="text">{{ info.columnName }}</p> |
|
|
|
<p class="sub">{{ info.subtitle }}</p> |
|
|
|
<p class="sub">{{ info.subtitle }}</p> |
|
|
@ -11,66 +15,99 @@ |
|
|
|
<div class="article"> |
|
|
|
<div class="article"> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
|
<!-- 文章:侧边栏+搜索+新闻列表 --> |
|
|
|
<!-- 文章:侧边栏+搜索+新闻列表 --> |
|
|
|
<div v-if="info.listStyleId === 10" class="forms"> |
|
|
|
<div v-if="info.listStyleId === 10" |
|
|
|
|
|
|
|
class="forms"> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<el-select v-model="form.classificationId" @change="filter"> |
|
|
|
<el-select v-model="form.classificationId" |
|
|
|
<el-option :label="$t('column.all')" :value="null"></el-option> |
|
|
|
@change="filter"> |
|
|
|
<el-option v-for="item in classifications" :key="item.id" :label="item.classificationName" |
|
|
|
<el-option :label="$t('column.all')" |
|
|
|
|
|
|
|
:value="null"></el-option> |
|
|
|
|
|
|
|
<el-option v-for="item in classifications" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
|
|
:label="item.classificationName" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span class="label">{{ $t('column.label') }}:</span> |
|
|
|
<span class="label">{{ $t('column.label') }}:</span> |
|
|
|
<el-select ref="search" v-model="lableId" multiple @change="filter"> |
|
|
|
<el-select ref="search" |
|
|
|
<el-option v-for="item in labels" :key="item.id" :label="item.labelName" :value="item.id"> </el-option> |
|
|
|
v-model="lableId" |
|
|
|
|
|
|
|
multiple |
|
|
|
|
|
|
|
@change="filter"> |
|
|
|
|
|
|
|
<el-option v-for="item in labels" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
|
|
:label="item.labelName" |
|
|
|
|
|
|
|
:value="item.id"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="search"> |
|
|
|
<div class="search"> |
|
|
|
<input type="text" :placeholder="$t('column.titlePlaceholder')" v-model="form.title" /> |
|
|
|
<input type="text" |
|
|
|
|
|
|
|
:placeholder="$t('column.titlePlaceholder')" |
|
|
|
|
|
|
|
v-model="form.title" /> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <i class="icon"> |
|
|
|
<!-- <i class="icon"> |
|
|
|
<img src="@/assets/images/search-white.png" alt="" /> |
|
|
|
<img src="@/assets/images/search-white.png" alt="" /> |
|
|
|
</i> --> |
|
|
|
</i> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="info.listStyleId === 12" class="forms"> |
|
|
|
<div v-if="info.listStyleId === 12" |
|
|
|
|
|
|
|
class="forms"> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<el-select v-model="form.classificationId" @change="filter"> |
|
|
|
<el-select v-model="form.classificationId" |
|
|
|
<el-option :label="$t('column.all')" :value="null"></el-option> |
|
|
|
@change="filter"> |
|
|
|
<el-option v-for="item in classifications" :key="item.id" :label="item.classificationName" |
|
|
|
<el-option :label="$t('column.all')" |
|
|
|
|
|
|
|
:value="null"></el-option> |
|
|
|
|
|
|
|
<el-option v-for="item in classifications" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
|
|
:label="item.classificationName" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span class="label">{{ $t('column.label') }}:</span> |
|
|
|
<span class="label">{{ $t('column.label') }}:</span> |
|
|
|
<el-select ref="search" v-model="lableId" multiple @change="filter"> |
|
|
|
<el-select ref="search" |
|
|
|
<el-option v-for="item in labels" :key="item.id" :label="item.labelName" :value="item.id"> </el-option> |
|
|
|
v-model="lableId" |
|
|
|
|
|
|
|
multiple |
|
|
|
|
|
|
|
@change="filter"> |
|
|
|
|
|
|
|
<el-option v-for="item in labels" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
|
|
:label="item.labelName" |
|
|
|
|
|
|
|
:value="item.id"> </el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="search"> |
|
|
|
<div class="search"> |
|
|
|
<input type="text" :placeholder="$t('column.titlePlaceholder')" v-model="form.title" /> |
|
|
|
<input type="text" |
|
|
|
|
|
|
|
:placeholder="$t('column.titlePlaceholder')" |
|
|
|
|
|
|
|
v-model="form.title" /> |
|
|
|
<!-- <i class="icon"> |
|
|
|
<!-- <i class="icon"> |
|
|
|
<img src="@/assets/images/search-white.png" alt="" /> |
|
|
|
<img src="@/assets/images/search-white.png" alt="" /> |
|
|
|
</i> --> |
|
|
|
</i> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 会议活动:筛选+会议活动列表 --> |
|
|
|
<!-- 会议活动:筛选+会议活动列表 --> |
|
|
|
<div v-if="info.listStyleId === 15" class="forms"> |
|
|
|
<div v-if="info.listStyleId === 15" |
|
|
|
|
|
|
|
class="forms"> |
|
|
|
<ul class="switch"> |
|
|
|
<ul class="switch"> |
|
|
|
<li v-for="(item, i) in convokeTypes" :key="i" :class="{ active: item.id === form.convokeType }" |
|
|
|
<li v-for="(item, i) in convokeTypes" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:class="{ active: item.id === form.convokeType }" |
|
|
|
@click="switchChange(item)"> |
|
|
|
@click="switchChange(item)"> |
|
|
|
{{ item.name }} |
|
|
|
{{ item.name }} |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<span class="label">{{ $t('column.classification') }}:</span> |
|
|
|
<el-select v-model="form.classificationId" @change="filter"> |
|
|
|
<el-select v-model="form.classificationId" |
|
|
|
<el-option :label="$t('column.all')" :value="null"></el-option> |
|
|
|
@change="filter"> |
|
|
|
<el-option v-for="item in classifications" :key="item.id" :label="item.classificationName" |
|
|
|
<el-option :label="$t('column.all')" |
|
|
|
|
|
|
|
:value="null"></el-option> |
|
|
|
|
|
|
|
<el-option v-for="item in classifications" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
|
|
|
|
:label="item.classificationName" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
@ -84,17 +121,31 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else-if="!columns.find(i=>i.children.length) && info.listStyleId ===15 || info.listStyleId ===10 || info.listStyleId ===16"> |
|
|
|
<template v-else-if="!columns.find(i=>i.children.length) && info.listStyleId ===15 || info.listStyleId ===10 || info.listStyleId ===16"> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-tree v-else class="columns" ref="leftColumn" :data="columns" |
|
|
|
<el-tree v-else |
|
|
|
highlight-current :expand-on-click-node="false" default-expand-all :props="defaultProps" node-key="id" |
|
|
|
class="columns" |
|
|
|
icon-class="el-icon-arrow-down" @node-click="(item) => columnClick(item, 1)"> |
|
|
|
ref="leftColumn" |
|
|
|
<span class="custom-tree-node" slot-scope="{ node, data }" style="padding-left: 10px;"> |
|
|
|
:data="columns" |
|
|
|
|
|
|
|
highlight-current |
|
|
|
|
|
|
|
:expand-on-click-node="false" |
|
|
|
|
|
|
|
default-expand-all |
|
|
|
|
|
|
|
:props="defaultProps" |
|
|
|
|
|
|
|
node-key="id" |
|
|
|
|
|
|
|
icon-class="el-icon-arrow-down" |
|
|
|
|
|
|
|
@node-click="(item) => columnClick(item, 1)"> |
|
|
|
|
|
|
|
<span class="custom-tree-node" |
|
|
|
|
|
|
|
slot-scope="{ node, data }" |
|
|
|
|
|
|
|
style="padding-left: 10px;"> |
|
|
|
<span :title="node.label">{{ node.label }}</span> |
|
|
|
<span :title="node.label">{{ node.label }}</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</el-tree> |
|
|
|
</el-tree> |
|
|
|
<template v-if="info.listStyleId === 12"> |
|
|
|
<template v-if="info.listStyleId === 12"> |
|
|
|
<div class="article-wrap"> |
|
|
|
<div class="article-wrap"> |
|
|
|
<ul class="articles"> |
|
|
|
<ul class="articles"> |
|
|
|
<li v-for="(item, i) in articles" :key="i" :class="{'news-notice': info.listStyleId === 55}" class="readDetail" @click="toArtice(item)"> |
|
|
|
<li v-for="(item, i) in articles" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:class="{'news-notice': info.listStyleId === 55}" |
|
|
|
|
|
|
|
class="readDetail" |
|
|
|
|
|
|
|
@click="toArtice(item)"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
@ -103,7 +154,10 @@ |
|
|
|
<div class="news-title">{{ item.title }}</div> |
|
|
|
<div class="news-title">{{ item.title }}</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<img class="pic" :src="item.titleImg" alt="" onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="item.titleImg" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<p v-if="(item.listStyleId === 10 || item.listStyleId === 15) && item.classificationName" |
|
|
|
<p v-if="(item.listStyleId === 10 || item.listStyleId === 15) && item.classificationName" |
|
|
|
class="type"> |
|
|
|
class="type"> |
|
|
@ -112,34 +166,53 @@ |
|
|
|
<h6 class="titleDes">{{ item.title }}</h6> |
|
|
|
<h6 class="titleDes">{{ item.title }}</h6> |
|
|
|
<template v-if="item.listStyleId === 11 || item.listStyleId == 12"> |
|
|
|
<template v-if="item.listStyleId === 11 || item.listStyleId == 12"> |
|
|
|
<span class="meta">{{ item.releaseTime }}</span> |
|
|
|
<span class="meta">{{ item.releaseTime }}</span> |
|
|
|
<div class="des" v-html="item.mainBody"></div> |
|
|
|
<div class="des" |
|
|
|
|
|
|
|
v-html="item.mainBody"></div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<span v-if="item.listStyleId === 10 " class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
<span v-if="item.listStyleId === 10 " |
|
|
|
|
|
|
|
class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
item.labelName }}</span> |
|
|
|
item.labelName }}</span> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<div v-if="item.keynoteSpeaker" class="meta m-b-10"> |
|
|
|
<div v-if="item.keynoteSpeaker" |
|
|
|
<img class="icon" src="@/assets/images/mine.png" alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/mine.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.activityStartTime" class="meta m-b-10"> |
|
|
|
<div v-if="item.activityStartTime" |
|
|
|
<img class="icon" src="@/assets/images/time.png" alt="" /> |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/time.png" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.offlineLocation" class="meta m-b-10"> |
|
|
|
<div v-if="item.offlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/location.png" alt="" /> {{ item.offlineLocation }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/location.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.offlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.onlineLocation" class="meta"> |
|
|
|
<div v-if="item.onlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/online.png" alt="" /> {{ item.onlineLocation }} |
|
|
|
class="meta"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/online.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.onlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-button type="primary" class="readDetailBtn">{{ $t('column.readDetail') }}</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
class="readDetailBtn">{{ $t('column.readDetail') }}</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div v-if="articles.length" class="pagination"> |
|
|
|
<div v-if="articles.length" |
|
|
|
<el-pagination background @current-change="currentChange" :current-page="page" |
|
|
|
class="pagination"> |
|
|
|
layout="total, prev, pager, next" :total="total"></el-pagination> |
|
|
|
<el-pagination background |
|
|
|
|
|
|
|
@current-change="currentChange" |
|
|
|
|
|
|
|
:current-page="page" |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:total="total"></el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -147,7 +220,11 @@ |
|
|
|
<template v-else-if="info.listStyleId === 11 || info.listStyleId === 15 || info.listStyleId === 10"> |
|
|
|
<template v-else-if="info.listStyleId === 11 || info.listStyleId === 15 || info.listStyleId === 10"> |
|
|
|
<div class="article-wrap"> |
|
|
|
<div class="article-wrap"> |
|
|
|
<ul class="articles"> |
|
|
|
<ul class="articles"> |
|
|
|
<li v-for="(item, i) in articles" :key="i" :class="{'news-notice': info.listStyleId === 55}" class="otherData" @click="toArtice(item)"> |
|
|
|
<li v-for="(item, i) in articles" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:class="{'news-notice': info.listStyleId === 55}" |
|
|
|
|
|
|
|
class="otherData" |
|
|
|
|
|
|
|
@click="toArtice(item)"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
@ -170,38 +247,62 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<span v-if="item.listStyleId === 10 " class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
<span v-if="item.listStyleId === 10 " |
|
|
|
|
|
|
|
class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
item.labelName }}</span> |
|
|
|
item.labelName }}</span> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<div v-if="item.keynoteSpeaker" class="meta m-b-10"> |
|
|
|
<div v-if="item.keynoteSpeaker" |
|
|
|
<img class="icon" src="@/assets/images/mine.png" alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/mine.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.activityStartTime" class="meta m-b-10"> |
|
|
|
<div v-if="item.activityStartTime" |
|
|
|
<img class="icon" src="@/assets/images/time.png" alt="" /> |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/time.png" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.offlineLocation" class="meta m-b-10"> |
|
|
|
<div v-if="item.offlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/location.png" alt="" /> {{ item.offlineLocation }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/location.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.offlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.onlineLocation" class="meta"> |
|
|
|
<div v-if="item.onlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/online.png" alt="" /> {{ item.onlineLocation }} |
|
|
|
class="meta"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/online.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.onlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img class="pic" :src="item.titleImg" alt="" onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="item.titleImg" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div v-if="articles.length" class="pagination"> |
|
|
|
<div v-if="articles.length" |
|
|
|
<el-pagination background @current-change="currentChange" :current-page="page" |
|
|
|
class="pagination"> |
|
|
|
layout="total, prev, pager, next" :total="total"></el-pagination> |
|
|
|
<el-pagination background |
|
|
|
|
|
|
|
@current-change="currentChange" |
|
|
|
|
|
|
|
:current-page="page" |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:total="total"></el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<div class="article-wrap"> |
|
|
|
<div class="article-wrap"> |
|
|
|
<ul class="articles"> |
|
|
|
<ul class="articles"> |
|
|
|
<li v-for="(item, i) in articles" :key="i" :class="{'news-notice': info.listStyleId === 55}" class="overDetail" @click="toArtice(item)"> |
|
|
|
<li v-for="(item, i) in articles" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:class="{'news-notice': info.listStyleId === 55}" |
|
|
|
|
|
|
|
class="overDetail" |
|
|
|
|
|
|
|
@click="toArtice(item)"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<template v-if="info.listStyleId === 55"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<div class="releaseTime"> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
|
<p class="d">{{ item.date }}</p> |
|
|
@ -210,7 +311,10 @@ |
|
|
|
<div class="news-title">{{ item.title }}</div> |
|
|
|
<div class="news-title">{{ item.title }}</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<img class="pic" :src="item.titleImg" alt="" onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="item.titleImg" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
onerror="javascript:this.src='./images/1.png';" /> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<p v-if="(item.listStyleId === 10 || item.listStyleId === 15) && item.classificationName" |
|
|
|
<p v-if="(item.listStyleId === 10 || item.listStyleId === 15) && item.classificationName" |
|
|
|
class="type"> |
|
|
|
class="type"> |
|
|
@ -219,35 +323,55 @@ |
|
|
|
<h6 class="titleDes">{{ item.title }}</h6> |
|
|
|
<h6 class="titleDes">{{ item.title }}</h6> |
|
|
|
<template v-if="item.listStyleId === 11 || item.listStyleId == 12"> |
|
|
|
<template v-if="item.listStyleId === 11 || item.listStyleId == 12"> |
|
|
|
<span class="meta">{{ item.releaseTime }}</span> |
|
|
|
<span class="meta">{{ item.releaseTime }}</span> |
|
|
|
<div class="des" v-html="item.mainBody"></div> |
|
|
|
<div class="des" |
|
|
|
|
|
|
|
v-html="item.mainBody"></div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<span v-if="item.listStyleId === 10 " class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
<span v-if="item.listStyleId === 10 " |
|
|
|
|
|
|
|
class="meta">{{ item.releaseTime }} {{ item.labelName && ' | ' + |
|
|
|
item.labelName }}</span> |
|
|
|
item.labelName }}</span> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<template v-if="item.listStyleId === 15 || item.listStyleId === 16"> |
|
|
|
<div v-if="item.keynoteSpeaker" class="meta m-b-10"> |
|
|
|
<div v-if="item.keynoteSpeaker" |
|
|
|
<img class="icon" src="@/assets/images/mine.png" alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/mine.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.keynoteSpeaker }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.activityStartTime" class="meta m-b-10"> |
|
|
|
<div v-if="item.activityStartTime" |
|
|
|
<img class="icon" src="@/assets/images/time.png" alt="" /> |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/time.png" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
{{ item.activityStartTime + ' ~ ' + item.activityEndTime }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.offlineLocation" class="meta m-b-10"> |
|
|
|
<div v-if="item.offlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/location.png" alt="" /> {{ item.offlineLocation }} |
|
|
|
class="meta m-b-10"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/location.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.offlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.onlineLocation" class="meta"> |
|
|
|
<div v-if="item.onlineLocation" |
|
|
|
<img class="icon" src="@/assets/images/online.png" alt="" /> {{ item.onlineLocation }} |
|
|
|
class="meta"> |
|
|
|
|
|
|
|
<img class="icon" |
|
|
|
|
|
|
|
src="@/assets/images/online.png" |
|
|
|
|
|
|
|
alt="" /> {{ item.onlineLocation }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-button v-if="item.listStyleId === 15" type="primary" class="readDetailBtn">{{ $t('column.readDetail') }}</el-button> |
|
|
|
<el-button v-if="item.listStyleId === 15" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
class="readDetailBtn">{{ $t('column.readDetail') }}</el-button> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div v-if="articles.length" class="pagination"> |
|
|
|
<div v-if="articles.length" |
|
|
|
<el-pagination background @current-change="currentChange" :current-page="page" |
|
|
|
class="pagination"> |
|
|
|
layout="total, prev, pager, next" :total="total"></el-pagination> |
|
|
|
<el-pagination background |
|
|
|
|
|
|
|
@current-change="currentChange" |
|
|
|
|
|
|
|
:current-page="page" |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:total="total"></el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -256,7 +380,10 @@ |
|
|
|
<div class="right"> |
|
|
|
<div class="right"> |
|
|
|
<p class="l-title">{{ $t('column.hot') }}</p> |
|
|
|
<p class="l-title">{{ $t('column.hot') }}</p> |
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
<li v-for="(item, i) in hots" :key="i" :title="item.title" @click="toArtice(item)"> |
|
|
|
<li v-for="(item, i) in hots" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:title="item.title" |
|
|
|
|
|
|
|
@click="toArtice(item)"> |
|
|
|
<p class="text">{{ item.title }}</p> |
|
|
|
<p class="text">{{ item.title }}</p> |
|
|
|
<span class="date">{{ item.releaseTime }}</span> |
|
|
|
<span class="date">{{ item.releaseTime }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
@ -264,12 +391,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
<p class="l-title">{{ $t('column.latestNews') }}</p> |
|
|
|
<p class="l-title">{{ $t('column.latestNews') }}</p> |
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
<li v-for="(item, i) in news" :key="i" :title="item.title" @click="toArtice(item)"> |
|
|
|
<li v-for="(item, i) in news" |
|
|
|
|
|
|
|
:key="i" |
|
|
|
|
|
|
|
:title="item.title" |
|
|
|
|
|
|
|
@click="toArtice(item)"> |
|
|
|
<p class="text">{{ item.title }}</p> |
|
|
|
<p class="text">{{ item.title }}</p> |
|
|
|
<span class="date">{{ item.releaseTime }}</span> |
|
|
|
<span class="date">{{ item.releaseTime }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div class="shadow"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -691,7 +820,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sub { |
|
|
|
.sub { |
|
|
|
margin-top: .5rem; |
|
|
|
margin-top: 0.5rem; |
|
|
|
font-size: 1.6rem; |
|
|
|
font-size: 1.6rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -703,7 +832,6 @@ export default { |
|
|
|
background-color: #f9fafa; |
|
|
|
background-color: #f9fafa; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.article { |
|
|
|
.article { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
@ -724,8 +852,8 @@ export default { |
|
|
|
margin-right: 2.5rem; |
|
|
|
margin-right: 2.5rem; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
padding: 0 .75rem; |
|
|
|
padding: 0 0.75rem; |
|
|
|
margin-right: .5rem; |
|
|
|
margin-right: 0.5rem; |
|
|
|
line-height: 1.8rem; |
|
|
|
line-height: 1.8rem; |
|
|
|
font-size: 1rem; |
|
|
|
font-size: 1rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
@ -753,7 +881,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.label { |
|
|
|
.label { |
|
|
|
font-size: .912rem; |
|
|
|
font-size: 0.912rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
|
} |
|
|
|
} |
|
|
@ -769,12 +897,12 @@ export default { |
|
|
|
.search { |
|
|
|
.search { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
width: 34%; |
|
|
|
width: 34%; |
|
|
|
margin-top: .1rem; |
|
|
|
margin-top: 0.1rem; |
|
|
|
|
|
|
|
|
|
|
|
input { |
|
|
|
input { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 2.4rem; |
|
|
|
height: 2.4rem; |
|
|
|
padding: 0 .75rem; |
|
|
|
padding: 0 0.75rem; |
|
|
|
font-size: 1rem; |
|
|
|
font-size: 1rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
background: #f7f7f7; |
|
|
|
background: #f7f7f7; |
|
|
@ -805,7 +933,7 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
/deep/.columns { |
|
|
|
/deep/.columns { |
|
|
|
width: 22%; |
|
|
|
width: 22%; |
|
|
|
margin-right: .6rem; |
|
|
|
margin-right: 0.6rem; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
span { |
|
|
|
span { |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
@ -882,7 +1010,6 @@ export default { |
|
|
|
.custom-tree-node { |
|
|
|
.custom-tree-node { |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
color: #1150ac; |
|
|
|
color: #1150ac; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -914,7 +1041,7 @@ export default { |
|
|
|
-webkit-line-clamp: 1; |
|
|
|
-webkit-line-clamp: 1; |
|
|
|
text-overflow: ellipsis; |
|
|
|
text-overflow: ellipsis; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
margin-top: .8rem; |
|
|
|
margin-top: 0.8rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.readDetailBtn { |
|
|
|
.readDetailBtn { |
|
|
|
margin-top: 1.3rem; |
|
|
|
margin-top: 1.3rem; |
|
|
@ -954,7 +1081,7 @@ export default { |
|
|
|
.meta { |
|
|
|
.meta { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
font-size: .88rem; |
|
|
|
font-size: 0.88rem; |
|
|
|
font-family: PingFangSC-Medium; |
|
|
|
font-family: PingFangSC-Medium; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
} |
|
|
|
} |
|
|
@ -981,7 +1108,7 @@ export default { |
|
|
|
margin-right: 24px; |
|
|
|
margin-right: 24px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
background: #0B5086; |
|
|
|
background: #0b5086; |
|
|
|
} |
|
|
|
} |
|
|
|
.d { |
|
|
|
.d { |
|
|
|
font-size: 2rem; |
|
|
|
font-size: 2rem; |
|
|
@ -990,7 +1117,7 @@ export default { |
|
|
|
line-height: 43px; |
|
|
|
line-height: 43px; |
|
|
|
} |
|
|
|
} |
|
|
|
.m { |
|
|
|
.m { |
|
|
|
font-size: .9rem; |
|
|
|
font-size: 0.9rem; |
|
|
|
line-height: 20px; |
|
|
|
line-height: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
.news-title { |
|
|
|
.news-title { |
|
|
@ -1027,13 +1154,13 @@ export default { |
|
|
|
margin-bottom: 1rem; |
|
|
|
margin-bottom: 1rem; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
padding: .8rem 0; |
|
|
|
padding: 0.8rem 0; |
|
|
|
border-bottom: 1px solid #d8d8d8; |
|
|
|
border-bottom: 1px solid #d8d8d8; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.text { |
|
|
|
.text { |
|
|
|
margin-bottom: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
font-size: .98rem; |
|
|
|
font-size: 0.98rem; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
@include ellipsis; |
|
|
|
@include ellipsis; |
|
|
|
|
|
|
|
|
|
|
@ -1043,7 +1170,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.date { |
|
|
|
.date { |
|
|
|
font-size: .78rem; |
|
|
|
font-size: 0.78rem; |
|
|
|
color: #999; |
|
|
|
color: #999; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1079,7 +1206,6 @@ export default { |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.right { |
|
|
|
.right { |
|
|
|
padding-top: 30px; |
|
|
|
padding-top: 30px; |
|
|
|
} |
|
|
|
} |
|
|
@ -1183,7 +1309,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 280px) and (max-width: 1200px) { |
|
|
|
@media (min-width: 280px) and (max-width: 1200px) { |
|
|
|
|
|
|
|
|
|
|
|
.banner { |
|
|
|
.banner { |
|
|
|
height: 15rem !important; |
|
|
|
height: 15rem !important; |
|
|
|
img { |
|
|
|
img { |
|
|
@ -1199,7 +1324,6 @@ export default { |
|
|
|
width: 40%; |
|
|
|
width: 40%; |
|
|
|
.el-tree-node__content { |
|
|
|
.el-tree-node__content { |
|
|
|
padding: 0 !important; |
|
|
|
padding: 0 !important; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
span { |
|
|
|
span { |
|
|
|
font-size: 0.8rem; |
|
|
|
font-size: 0.8rem; |
|
|
@ -1222,7 +1346,6 @@ export default { |
|
|
|
li:not(.news-notice) { |
|
|
|
li:not(.news-notice) { |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 95%; |
|
|
|
width: 95%; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
@ -1231,7 +1354,6 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|