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
| /* pages/message/message.wxss */
| .container {
| min-height: 100vh;
| background-color: #f5f5f5;
| }
|
| /* 加载状态 */
| .loading-container {
| display: flex;
| flex-direction: column;
| align-items: center;
| justify-content: center;
| height: 60vh;
| }
|
| .loading-spinner {
| width: 40rpx;
| height: 40rpx;
| border: 4rpx solid #e0e0e0;
| border-top: 4rpx solid #1976d2;
| border-radius: 50%;
| animation: spin 1s linear infinite;
| }
|
| .loading-text {
| margin-top: 20rpx;
| font-size: 28rpx;
| color: #666;
| }
|
| @keyframes spin {
| 0% { transform: rotate(0deg); }
| 100% { transform: rotate(360deg); }
| }
|
| /* 消息内容 */
| .message-content {
| padding: 20rpx;
| }
|
| /* 消息统计 */
| .message-stats {
| background-color: #fff;
| border-radius: 16rpx;
| padding: 24rpx;
| margin-bottom: 20rpx;
| box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
| }
|
| .stats-text {
| font-size: 28rpx;
| color: #666;
| font-weight: 500;
| }
|
| /* 消息列表 */
| .message-list {
| background-color: #fff;
| border-radius: 16rpx;
| overflow: hidden;
| }
|
| /* 消息项 */
| .message-item {
| padding: 30rpx 24rpx;
| border-bottom: 1rpx solid #f0f0f0;
| background-color: #fff;
| }
|
| .message-item:last-child {
| border-bottom: none;
| }
|
| .message-content-text {
| font-size: 32rpx;
| color: #333;
| line-height: 1.5;
| margin-bottom: 16rpx;
| word-wrap: break-word;
| }
|
| .message-time {
| font-size: 24rpx;
| color: #999;
| }
|
| /* 空状态 */
| .empty-state {
| display: flex;
| flex-direction: column;
| align-items: center;
| justify-content: center;
| padding: 120rpx 40rpx;
| text-align: center;
| }
|
| .empty-icon {
| font-size: 120rpx;
| margin-bottom: 24rpx;
| }
|
| .empty-text {
| font-size: 28rpx;
| color: #999;
| }
|
|