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
//颜色参数
@toVw:100/375vw;
@toVh:100/667vh;
@bg-b: #333;
@bg-b-s:#444;
@black-line:#191919;
@gray-line:#666;
@light-line:#ddd;
@main-font-color:#fff;
@secondary-font-color:#999;
@gold-color-light:#FFD04B;
@gold-color: #a18430;
//公共类
.fl-r{
float: right;
}
.fr{
float: right;
}
.fl{
float: left;
}
.main-block{
margin: 5px;
background: white;
padding: 5px;
}
html{
}
.clear-both{
&:after{
content: '';
display: block;
clear: both;
}
}
//滚动条样式
::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色,还可以设置边框属性
border-radius: 10px;
}
::-webkit-scrollbar {//滚动条的宽度
width:5px;
height:5px;
}
::-webkit-scrollbar-thumb {//滚动条的设置
background-color:@secondary-font-color;
border-radius: 10px;
// height: 10px;
min-height:10px;
}
// 放大缩小动画
@-webkit-keyframes myfirst
{
0%{-webkit-transform:scale(1)}
50% {-webkit-transform:scale(1.1)}
100% {-webkit-transform:scale(1)}
}
.van-button--info{
background: #40A9FF;
border: 1px solid #40A9FF;
}
.van-popup{background: transparent;}
.ellipsisCss{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}