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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
| .mk-msg-icon {
| display: inline-block;
| position: relative;
| font-size: 16px;
| margin-top: 12px;
| margin-right: 20px;
| margin-left: 0px;
| color: #1CD66C;
| cursor: pointer;
|
| img {
| width: 22px;
| height: 22px;
| }
| span {
| position: absolute;
| top: -6px;
| left: 19px;
| color: #f5222d;
| font-size: 12px;
| white-space: nowrap;
| font-weight: 600;
| }
| }
| // .mk-msg-icon[data-title] {
| // position: relative;
|
| // &::after {
| // position: absolute;
| // top: -10px;
| // left: 15px;
| // color: #f5222d;
| // font-size: 12px;
| // line-height: 16px;
| // white-space: nowrap;
| // font-weight: 600;
| // content: attr(data-title);
| // }
| // }
| .mk-msg-wrap {
| position: fixed;
| width: 300px;
| top: 50px;
| right: 120px;
| z-index: -1;
| opacity: 0;
| padding: 7px 10px 24px;
| font-size: 13px;
| background-color: var(--mk-sys-color1);
| background-clip: padding-box;
| color: rgba(0, 0, 0, 0.85);
| border: 0;
| border-radius: 4px;
| -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
| pointer-events: auto;
| transition: all 0.2s;
|
| .title {
| position: relative;
| text-align: left;
| font-size: 14px;
|
| .anticon-close {
| position: absolute;
| right: 5px;
| top: 1px;
| cursor: pointer;
| transition: color 0.2s;
| }
| }
| .msg-list {
| .msg-item {
| position: relative;
| height: 55px;
| background: #ffffff;
| margin: 10px 0px;
| padding: 8px;
| border-radius: 4px;
| font-size: 14px;
| cursor: pointer;
| span {
| display: block;
| overflow: hidden;
| word-break: break-word;
| white-space: nowrap;
| text-overflow: ellipsis;
| }
| }
| .msg-item:first-child {
| margin-top: 7px;
| }
| .msg-item.red {
| color: #C32539;
| }
| .time {
| position: absolute;
| top: 5px;
| right: 8px;
| font-size: 13px;
| }
| }
|
| .jump {
| position: absolute;
| right: 15px;
| bottom: 7px;
| font-size: 14px;
| cursor: pointer;
| color: #1890ff;
| transition: color 0.2s;
| }
| .jump:hover {
| color: #ffffff;
| }
| }
| .mk-msg-wrap.visible {
| z-index: 3000;
| opacity: 1;
| }
|
|