xujing 5 years ago
parent
commit
4536b98bf4
2 changed files with 5 additions and 8 deletions
  1. 1
    4
      src/pages/card/fans/index.js
  2. 4
    4
      src/pages/card/fans/item.scss

+ 1
- 4
src/pages/card/fans/index.js View File

137
           <View>
137
           <View>
138
             {list.map(item =>
138
             {list.map(item =>
139
               <FansItem key={item.uvId} data={item} />)}
139
               <FansItem key={item.uvId} data={item} />)}
140
-            <View style="text-align:center;line-height:160rpx;font-size:28rpx;color:#999"> 仅展示最近N条记录~</View>
140
+            {list.length >= 50 && <View style="text-align:center;line-height:120rpx;font-size:24rpx;color:#999"> 仅展示最近50条围观记录</View>}
141
           </View>
141
           </View>
142
-
143
           : <EmptyPage text="暂无围观记录哦~" />}
142
           : <EmptyPage text="暂无围观记录哦~" />}
144
 
143
 
145
-
146
-
147
       </View>
144
       </View>
148
 
145
 
149
     );
146
     );

+ 4
- 4
src/pages/card/fans/item.scss View File

9
 
9
 
10
   &-info {
10
   &-info {
11
     .avatar {
11
     .avatar {
12
-      width: 120px;
13
-      height: 120px;
12
+      width: 124px;
13
+      height: 124px;
14
       border-radius: 50%;
14
       border-radius: 50%;
15
       vertical-align: middle;
15
       vertical-align: middle;
16
     }
16
     }
17
 
17
 
18
     .name {
18
     .name {
19
       font-size: 32px;
19
       font-size: 32px;
20
-      margin-left: 30px;
20
+      margin-left: 26px;
21
       vertical-align: middle;
21
       vertical-align: middle;
22
     }
22
     }
23
   }
23
   }
24
 
24
 
25
   &-time {
25
   &-time {
26
     color: $text-color-lighter;
26
     color: $text-color-lighter;
27
-    font-size:26px;
27
+    font-size:24px;
28
   }
28
   }
29
 }
29
 }