forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-13 a2789abb73725738127b03d95c95081b66954916
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
.wux-toptips {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
}
 
.wux-toptips__content {
  padding: 10rpx;
  font-size: 28rpx;
  color: #fff;
  word-wrap: break-word;
  word-break: break-all;
  transition: background-color 0.3s;
}
 
.wux-toptips__content text {
  display: block;
  text-align: center;
  padding: 0 52rpx;
}
 
.wux-toptips__content--success {
  background-color: #33cd5f;
}
 
.wux-toptips__content--info {
  background-color: #387ef5;
}
 
.wux-toptips__content--warn {
  background-color: #ffc900;
}
 
.wux-toptips__content--cancel {
  background-color: #ef473a;
}
 
.wux-toptips__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}