wetoast.ttss
927 Bytes
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
/**toast.wxss**/
.wetoast {
display: none;
}
.wetoast_show {
display: block;
}
.wetoast__mask {
position: fixed;
z-index: 1000;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
.wetoast__bd {
opacity: 0;
display: flex;
flex-direction: column;
position: fixed;
z-index: 5000;
/*min-width: 8.4em;
min-height: 8.4em;*/
max-width: 70%;
top: 40%;
left: 50%;
padding: 15px;
box-sizing: border-box;
transform: translateX(-50%);
background: rgba(40, 40, 40, 0.75);
border-radius: 5px;
color: #FFFFFF;
word-wrap: break-word;
word-break: break-all;
align-items: center;
justify-content: space-around;
}
.wetoast__bd__img {
margin-top: 3px;
}
.wetoast__bd__img_desc {
width: 55px;
height: 55px;
vertical-align: middle;
}
.wetoast__bd__title {
margin: 3px 0;
font-size: 1.2em;
text-align: center;
}
.wetoast-title {
font-size: 28rpx;
}