index.less
1.37 KB
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
.index-page {
.index-cover {
position: relative;
.cover-arrow {
position: absolute;
right: 0;
left: calc(50% - 30rpx);
bottom: 1%;
}
}
.index-title {
text-align: center;
font-weight: bold;
font-size: 1.25rem;
padding: 1rem 0 0.25rem;
background-color: #f9f9f9;
}
.index-list {
background-color: #f9f9f9; overflow: auto;
}
}
.slide-box {
height: 15rem;
.slide-image {
width: 100%;
height: 100%;
}
}
.bg-gradient {
background: linear-gradient(#b3ddc9, #b3ddc9) no-repeat;
/*调整下划线的宽度占百分之百 高度是3px */
background-size: 100% 1vw;
/* 调整下划线的起始位置 左侧是0 上边是1.15em */
background-position: 0 1rem;
}
.underline {
position: relative;
z-index: 2;
&::before {
position: absolute;
z-index: 1;
content: "";
color: white;
left: 0;
width: 100%;
height: 1.1rem;
border-bottom: 4rpx solid #b3ddc9;
}
}
@-webkit-keyframes arrow-down {
from {
bottom: 0%;
opacity: 0.5;
}
to {
bottom: 1%;
opacity: 1;
}
}
.arrow-down {
-webkit-animation: arrow-down 2s infinite;
-webkit-animation-fill-mode: both;
position: absolute;
right: 0;
left: calc(50% - 1rem);
margin-bottom: 1rem;
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s;
}
.fade-enter,
.fade-leave-to {
opacity: 0;
}