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
| @import "../../style/icon.wxss";
|
| page {
| background-color: #f4f5f9;
| }
|
| .container {
| padding: 24rpx;
| min-height: 100vh;
| box-sizing: border-box;
| }
|
| /* 加载状态 */
| .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 #007aff;
| 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); }
| }
|
| /* 空状态 */
| .empty-state {
| display: flex;
| flex-direction: column;
| align-items: center;
| justify-content: center;
| padding-top: 200rpx;
| }
|
| .empty-icon {
| font-size: 120rpx;
| margin-bottom: 24rpx;
| opacity: 0.5;
| }
|
| .empty-text {
| font-size: 28rpx;
| color: #999;
| }
|
| /* 消息列表 */
| .message-list {
| width: 100%;
| }
|
| .message-card {
| display: flex;
| align-items: center;
| background-color: #fff;
| border-radius: 16rpx;
| padding: 32rpx;
| margin-bottom: 24rpx;
| box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
| }
|
| .icon-wrapper {
| width: 60rpx;
| height: 60rpx;
| border-radius: 50%;
| background-color: #e6f3ff; /* 浅蓝色背景 */
| display: flex;
| align-items: center;
| justify-content: center;
| margin-right: 24rpx;
| flex-shrink: 0;
| }
|
| .icon-wrapper .icon {
| font-size: 28rpx;
| color: #007aff; /* 深蓝色图标 */
| }
|
| .text-wrapper {
| display: flex;
| flex-direction: column;
| justify-content: center;
| flex: 1;
| }
|
| .title {
| font-size: 30rpx;
| font-weight: 500;
| color: #333;
| margin-bottom: 8rpx;
| word-break: break-all;
| }
|
| .timestamp {
| font-size: 24rpx;
| color: #999;
| }
|
|