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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<template>
    <div class="art-china">
        <div class="info-title-view">
            <div class="bg-title">
                <span class="title font-bold">文艺·中国</span>
            </div>
            <div class="hint-title font-bold">CHINA</div>
        </div>
        <div class="list-info list-info-grid-top">
            <router-link to="/film_cn" class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img1.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国影视</span>
                </div>
            </router-link>
            <router-link to="/music_cn" class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img2.png`)})`}">
 
                <div class="info-title">
                    <span class="font-bold">中国音乐</span>
                </div>
            </router-link>
 
 
            <div class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img3.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国舞蹈</span>
                </div>
            </div>
        </div>
        <div class="list-info list-info-grid-bottom">
            <div class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img4.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国戏剧</span>
                </div>
            </div>
            <div class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img5.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国绘画</span>
                </div>
            </div>
            <div class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img6.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国文学</span>
                </div>
            </div>
            <div class="info-view"
                :style="{'background-image': `url(${require(`@/assets/home/china/china_bg_img7.png`)})`}">
                <div class="info-title">
                    <span class="font-bold">中国雕塑</span>
                </div>
            </div>
        </div>
    </div>
</template>
 
<script>
    export default {
        name: 'ArtChina',
    }
</script>
 
<style lang="scss" scoped>
    @import "~@/styles/variables.scss";
 
    .art-china {
        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 {
        width: 100%;
        margin-top: 24px;
        display: grid;
 
        .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: 50px;
                background-image: linear-gradient(to right, #9D3032, #EBEBEB);
 
                // 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));
                span {
                    width: 100%;
                    font-size: 25px;
                    color: white;
                    margin-left: 20px;
                    line-height: 50px;
                    letter-spacing: 3px;
                }
            }
        }
    }
 
    .list-info-grid-top {
        grid-template-columns: 302px 268px 627px;
        grid-template-rows: 455px;
    }
 
    .list-info-grid-bottom {
        grid-template-columns: 437px 303px 260px 195px;
        grid-template-rows: 341px;
        margin-top: 0;
    }
</style>