panhui 3 ani în urmă
părinte
comite
9e04ec5bf4
1 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  1. 4 3
      src/views/user/Rank.vue

+ 4 - 3
src/views/user/Rank.vue

@@ -109,7 +109,7 @@ export default {
             });
             });
             return this.$http.get('/user/topTen').then(res => {
             return this.$http.get('/user/topTen').then(res => {
                 this.$toast.clear();
                 this.$toast.clear();
-                this.list = res.slice(0, 20);
+                this.list = res.slice(0, 5);
             });
             });
         },
         },
         changeRare(active) {
         changeRare(active) {
@@ -220,8 +220,9 @@ export default {
     z-index: 1;
     z-index: 1;
     .bottom(15px);
     .bottom(15px);
     overflow: hidden;
     overflow: hidden;
-    padding-top: 6px;
-    transform: translateY(-6px);
+    background-color: #fff;
+    border-radius: 16px;
+    box-sizing: border-box;
     .tr {
     .tr {
         overflow: hidden;
         overflow: hidden;
         position: relative;
         position: relative;