wang-hao-jie
2021-10-19 90251b9eee454b7c2941ed2c083291f7f83588fe
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
.own-space-message-content {
    position: relative;
    width: 100%;
}
 
.message {
    &-main-content {
        position: absolute;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
    }
 
    &-mainlist-content {
        position: absolute;
        left: 0;
        top: 10px;
        width: 300px;
        bottom: 0;
        padding: 10px 0;
 
        div {
            padding: 10px;
            margin: 0 20px;
            border-bottom: 1px dashed #d2d3d2;
 
            &:last-child {
                border: none;
            }
 
            .mes-wrap {
                display: flex;
                align-items: center;
                justify-content: center;
            }
 
            .message-count-badge-outer {
                margin-left: 5px;
            }
 
            .message-count-badge {
                background: #d2d3d2;
            }
 
            .message-count-badge-red {
                background: #ed3f14;
            }
 
            .mes-type-btn-text {
                margin-left: 10px;
            }
        }
    }
 
    &-content-content {
        position: absolute;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 300px;
        background: white;
        border-radius: 3px;
        box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, .1);
        overflow: auto;
 
        .message-title-list-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
 
            .message-page {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin: 20px 30px 20px 25px;
            }
        }
 
        .message-content-top-bar {
            height: 40px;
            width: 100%;
            background: white;
            position: absolute;
            left: 0;
            top: 0;
            border-bottom: 1px solid #dededb;
 
            .mes-back-btn-content {
                position: absolute;
                width: 70px;
                height: 30px;
                left: 0;
                top: 5px;
            }
 
            .mes-title {
                position: absolute;
                top: 0;
                right: 70px;
                bottom: 0;
                left: 70px;
                line-height: 40px;
                padding: 0 30px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                text-align: center;
            }
        }
 
        .mes-time-content {
            position: absolute;
            width: 100%;
            top: 40px;
            left: 0;
            padding: 20px 0;
            text-align: center;
            font-size: 14px;
            color: #b7b7b5;
        }
 
        .message-content-body {
            position: absolute;
            top: 90px;
            right: 0;
            bottom: 0;
            left: 0;
            overflow: auto;
 
            .message-content {
                padding: 10px 20px;
            }
        }
    }
}
 
.back-message-list-enter,
.back-message-list-leave-to {
    opacity: 0;
}
 
.back-message-list-enter-active,
.back-message-list-leave-active {
    transition: all .5s;
}
 
.back-message-list-enter-to,
.back-message-list-leave {
    opacity: 1;
}
 
.view-message-enter,
.view-message-leave-to {
    opacity: 0;
}
 
.view-message-enter-active,
.view-message-leave-active {
    transition: all .5s;
}
 
.view-message-enter-to,
.view-message-leave {
    opacity: 1;
}
 
.mes-current-type-btn-enter,
.mes-current-type-btn-leave-to {
    opacity: 0;
    width: 0;
}
 
.mes-current-type-btn-enter-active,
.mes-current-type-btn-leave-active {
    transition: all .3s;
}
 
.mes-current-type-btn-enter-to,
.mes-current-type-btn-leave {
    opacity: 1;
    width: 12px;
}