hanbaoshan
2021-02-25 77ea6f71e7532e89b974bcb65ce5a6b67a680ddb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<template>
  <div class="event-video-content">
    <div class="video-player">
      <video src></video>
    </div>
    <div class="more-videos">
      <div class="top">
        <div class="title">更多视频</div>
        <div class="total">共<span class="num">{{total}}</span>条</div>
      </div>
      <div class="gallery">
        <div class="video-item" v-for="item in 11" :key="item">
          <img src alt />
          <div class="time"></div>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  props: {
    eventDetail: {
      type: Object,
      default: {}
    },
  },
  data(){
    return {
      curVideo: {},
    }
  }
}
</script>
 
<style lang="scss">
.event-video-content {
  padding: 14px;
  .video-player{
    background: #fff;
    margin-bottom: 14px;
    video{
      margin: 20px auto;
      width: 576px;
      height: 324px;
      background: aquamarine;
    }
  }
  .more-videos{
    background: #fff;
    .top{
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      .total{
        .num{
          color: #0096fa;
        }
      }
    }
    .gallery{
      display: flex;
      flex-wrap: wrap;
      padding: 0 20px 10px;
      max-height: 300px;
      overflow-y: auto;
      // &:after{
      //   content: "";
      //   flex: auto;
      // }
      .video-item{
        width: 200px;
        height: 112.5px;
        margin: 10px 40px;
        background: rgb(200, 223, 251);
        padding: 10px;
        border: 1px solid #eee;
        border-radius: 3px;
      }
    }
  }
}
</style>