-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwepy-message.scss
80 lines (64 loc) · 3.78 KB
/
wepy-message.scss
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
@font-face {font-family: "iconfont";
src: url('./font/iconfont.eot?t=1521617833399'); /* IE9*/
src: url('./font/iconfont.eot?t=1521617833399#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAYoAAsAAAAACVgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khrY21hcAAAAYAAAAB2AAABwJtRBHFnbHlmAAAB+AAAAhoAAALgQC/f/2hlYWQAAAQUAAAALwAAADYQz51PaGhlYQAABEQAAAAcAAAAJAfeA4dobXR4AAAEYAAAABMAAAAYF+kAAGxvY2EAAAR0AAAADgAAAA4C2AHQbWF4cAAABIQAAAAfAAAAIAEVAF1uYW1lAAAEpAAAAUUAAAJtPlT+fXBvc3QAAAXsAAAAOwAAAEwDQYLKeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sM4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDyrZW7438AQw9zA0AAUZgTJAQAt7wzteJzFkcENgDAIRT9SjTHdxE7h2Vk8eejFdVmjfkovTuAnr4EfEhoAMANQUkgC5IbAddGV7iu27iccrDesmBjV1Io9rdHzfB95SNjnkXue2K8+SRb8Jvlv9Fe5v+eofP91wC+aBn4L2wNuD1YCv5U9AeYXPRUYTgAAeJxlkj1s00AUx+/57LPjJjaxHV9i58NxHF/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dWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicY2BigAAuBuyAjZGJkZmRhZGVkY2RnYGxgjW1qCi/iL08sSgvMy+dNTkjNTmbJTMvLZ+BAQCZbQmMAA==') format('woff'),
url('./font/iconfont.ttf?t=1521617833399') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('./font/iconfont.svg?t=1521617833399#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family:"iconfont" !important;
font-size:32rpx;
font-style:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-error:before { content: "\e62b"; }
.icon-warning:before { content: "\e62c"; }
.icon-success:before { content: "\e603"; }
.icon-info:before { content: "\e67d"; }
.wepy-message{
position: fixed;
width: 100%;
text-align: center;
z-index: 888;
bottom: -100%;
transition: all 1s ease-in;
&.bottom{
margin-bottom: 150rpx;
}
.wepy-message-container{
padding: 15rpx 30rpx;
border-radius: 10rpx;
display: inline-block;
border: 1px solid #aaaaaa;
max-width: 80%;
font-size:28rpx;
text-align:left;
&.success{
background-color: #f0f9eb;
border-color: #e1f3d8;
color: #67c23a;
}
&.error{
background-color: #fef0f0;
border-color: #fde2e2;
color: #f56c6c;
}
&.warning{
background-color: #fdf6ec;
border-color: #faecd8;
color: #e6a23c;
}
&.info{
background-color: #edf2fc;
border-color: #ebeef5;
color: #909399;
}
.wepy-message-icon{
margin-right: 10rpx;
font-size: 38rpx;
display: inline-block;
vertical-align: middle;
}
}
}