2020-06-07 10:28:34 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div class="video">
|
|
|
|
|
<div class="video-title">
|
2020-06-10 11:19:26 +08:00
|
|
|
|
<span class="part-title">展览展示</span>
|
|
|
|
|
<i class="english-title">Exhibition</i>
|
|
|
|
|
<router-link to="/exhibition" class="more">MORE>></router-link>
|
2020-06-07 10:28:34 +08:00
|
|
|
|
</div>
|
2020-06-10 11:19:26 +08:00
|
|
|
|
<div class="exhibition">
|
|
|
|
|
<ul>
|
|
|
|
|
<li v-for="(list,idx) in exhibition" :key="idx" @click="goDetail(list.templateRecordUrl)">
|
|
|
|
|
<div class="exhibition-img">
|
|
|
|
|
<img :src="'http://192.168.0.104:8082/news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
2020-06-07 10:28:34 +08:00
|
|
|
|
</div>
|
2020-06-10 11:19:26 +08:00
|
|
|
|
<div class="exhibition-info">
|
|
|
|
|
<h1>{{list.newsContentTitle}}</h1>
|
|
|
|
|
<p>作者:{{list.newsContentAuthor}}</p>
|
2020-06-07 10:28:34 +08:00
|
|
|
|
</div>
|
2020-06-10 11:19:26 +08:00
|
|
|
|
</li>
|
2020-06-07 10:28:34 +08:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: 'IndexVideo',
|
|
|
|
|
props: {
|
2020-06-10 11:19:26 +08:00
|
|
|
|
exhibition: Array
|
2020-06-07 10:28:34 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="stylus" rel="stylesheet/stylus" scoped>
|
2020-06-10 11:19:26 +08:00
|
|
|
|
@import "~styles/public.styl"
|
2020-06-07 10:28:34 +08:00
|
|
|
|
.video
|
|
|
|
|
width 1200px
|
|
|
|
|
margin 15px auto
|
|
|
|
|
.video-title
|
|
|
|
|
border-bottom solid 1px #dedede
|
|
|
|
|
.part-title
|
|
|
|
|
font-size 22px
|
|
|
|
|
line-height 40px
|
|
|
|
|
color #565656
|
|
|
|
|
display inline-block
|
2020-06-10 11:19:26 +08:00
|
|
|
|
border-bottom $main-color 2px solid
|
2020-06-07 10:28:34 +08:00
|
|
|
|
margin-right 10px
|
|
|
|
|
.english-title
|
|
|
|
|
font-style normal
|
|
|
|
|
font-size 14px
|
|
|
|
|
color rgba(168, 168, 168, 0.8)
|
|
|
|
|
.more
|
|
|
|
|
display inline-block
|
|
|
|
|
float right
|
|
|
|
|
width 70px
|
|
|
|
|
height 26px
|
2020-06-10 11:19:26 +08:00
|
|
|
|
background-color $main-color
|
2020-06-07 10:28:34 +08:00
|
|
|
|
border-radius 4px
|
|
|
|
|
color #ffffff
|
|
|
|
|
text-align center
|
|
|
|
|
line-height 26px
|
|
|
|
|
font-size 12px
|
|
|
|
|
margin-top 7px
|
2020-06-10 11:19:26 +08:00
|
|
|
|
.exhibition
|
|
|
|
|
width 1200px
|
|
|
|
|
margin 20px auto
|
|
|
|
|
ul
|
2020-06-17 15:19:42 +08:00
|
|
|
|
&:after
|
|
|
|
|
content: ''
|
|
|
|
|
display block
|
|
|
|
|
clear both
|
2020-06-10 11:19:26 +08:00
|
|
|
|
li
|
|
|
|
|
width 280px
|
2020-06-17 15:19:42 +08:00
|
|
|
|
box-shadow:0px 0px 10px 0px rgba(176,176,176,0.3);
|
2020-06-10 11:19:26 +08:00
|
|
|
|
box-sizing border-box
|
2020-06-07 10:28:34 +08:00
|
|
|
|
float left
|
2020-06-10 11:19:26 +08:00
|
|
|
|
margin-right 25px
|
|
|
|
|
margin-bottom 25px
|
2020-06-07 10:28:34 +08:00
|
|
|
|
cursor pointer
|
2020-06-17 15:19:42 +08:00
|
|
|
|
&:hover
|
|
|
|
|
box-shadow:0px 0px 20px 0px rgba(176,176,176,0.9);
|
2020-06-07 10:28:34 +08:00
|
|
|
|
&:nth-child(4n)
|
|
|
|
|
margin-right 0
|
2020-06-10 11:19:26 +08:00
|
|
|
|
.exhibition-img
|
2020-06-07 10:28:34 +08:00
|
|
|
|
width 100%
|
2020-06-10 11:19:26 +08:00
|
|
|
|
height 185px
|
|
|
|
|
img
|
2020-06-07 10:28:34 +08:00
|
|
|
|
width 100%
|
2020-06-10 11:19:26 +08:00
|
|
|
|
height 100%
|
|
|
|
|
.exhibition-info
|
|
|
|
|
padding 10px 20px
|
|
|
|
|
h1
|
|
|
|
|
text-align center
|
|
|
|
|
font-size 18px
|
|
|
|
|
color #565656
|
|
|
|
|
font-weight normal
|
2020-06-07 10:28:34 +08:00
|
|
|
|
white-space nowrap
|
|
|
|
|
overflow hidden
|
|
|
|
|
text-overflow: ellipsis
|
2020-06-10 11:19:26 +08:00
|
|
|
|
margin-bottom 5px
|
|
|
|
|
p
|
|
|
|
|
font-size 14px
|
|
|
|
|
color #565656
|
2020-06-07 10:28:34 +08:00
|
|
|
|
text-align center
|
2020-06-10 11:19:26 +08:00
|
|
|
|
white-space nowrap
|
|
|
|
|
overflow hidden
|
|
|
|
|
text-overflow ellipsis
|
|
|
|
|
.exhibition-info-bottom
|
|
|
|
|
span
|
|
|
|
|
font-size 14px
|
|
|
|
|
color #a8a8a8
|
|
|
|
|
&.view
|
|
|
|
|
float right
|
2020-06-07 10:28:34 +08:00
|
|
|
|
</style>
|