Hui Yu
2021-03-25 3f62884fa4b7cdcbd7ac1ced384b030721b61331
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<template>
  <div class="art-global">
    <div class="info-title-view">
      <div class="bg-title">
        <span class="title font-bold">文艺·世界</span>
      </div>
      <div class="hint-title font-bold">WORLD</div>
    </div>
    <div class="list-info">
      <!-- <div class="info-view" v-for="item in imgArr" :key="item" :style="{'background-image': 'url(' + item + ')'}">
        <div class="info-title"></div>
      </div> -->
      <router-link to="/film_world" class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img1.png`)})`}">
        <div class="info-title">
          <p class="font-bold">影视 FILM</p>
        </div>
      </router-link>
      <div class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img2.png`)})`}">
        <div class="info-title">
          <p class="font-bold">戏剧 STAGE</p>
        </div>
      </div>
      <div class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img3.png`)})`}">
        <div class="info-title">
          <p class="font-bold">美术 ARTS</p>
        </div>
      </div>
      <div class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img4.png`)})`}">
        <div class="info-title">
          <p class="font-bold">文学 LITERATURE</p>
        </div>
      </div>
    
      <router-link to="/music_world" class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img5.png`)})`}">
        <div class="info-title">
          <p class="font-bold">音乐 MUSIC</p>
        </div>
      </router-link>  
    
      
      <div class="info-view" :style="{'background-image': `url(${require(`@/assets/home/world/world_bg_img6.png`)})`}">
        <div class="info-title">
          <p class="font-bold">动漫 ANIME</p>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
 
export default {
  name: 'ArtGlobal'
}
</script>
 
<style lang="scss" scoped>
  @import "~@/styles/variables.scss";
  .art-global {
    width: $appWidth;
  }
  .info-title-view {
    width: 100%;
    height: 62px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    .bg-title {
      width: 344px; 
      height: 62px;
      line-height: 62px;
      overflow: hidden;
      position: relative;
      background-image: url("../../../assets/home/home_title_bg_img.png");
      background-size: cover;
      text-align: center;
      .title {
        display: flex;
        margin-left: 36px;
        font-size: 43px;
        color: #fff;
        letter-spacing: 3px;
      }
    }
    .hint-title {
      color: #BABBBB;
      font-size: 52px;
      line-height: 62px;
      letter-spacing: 3px;
    }
  }
  .list-info {
    max-width: 100%;
    display: grid;
    grid-template-columns: 384px 384px 384px;
    grid-template-rows: 384px 384px;
    grid-column-gap: 24px;
    grid-row-gap: 20px;
    margin-top: 24px;
    .info-view {
      display: inline-flex;
      flex-direction: column;
      justify-content: flex-end;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      .info-title {
        width: 100%;
        height: 82px;
        background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(35,24,21, 50));
        // background-image: linear-gradient(top, rgb(255,255,255), rgb(35,24,21));
        // background: -moz-linear-gradient(top, rgb(255,255,255),rgb(35,24,21));
        // background: -ms-linear-gradient(top, rgb(255,255,255),rgb(35,24,21));
        // background: -o-linear-gradient(top, rgb(255,255,255),rgb(35,24,21));
        // background: -webkit-linear-gradient(top, rgb(255,255,255),rgb(35,24,21));
        p {
          width: 100%;
          text-align: center;
          font-size: 25px;
          color: white;
          margin-top: 35px;
          letter-spacing: 3px;
        }
      }
    }
  } 
</style>