-
@@ -131,6 +133,7 @@ export default {
img {
width: 80px;
height: 80px;
+ border-radius: 40px;
margin-right: 16px;
}
.card_head_avtar {
diff --git a/src/project/fd/AppAnswer/component/List.vue b/src/project/fd/AppAnswer/component/List.vue
index 09f6a593..0ca37157 100644
--- a/src/project/fd/AppAnswer/component/List.vue
+++ b/src/project/fd/AppAnswer/component/List.vue
@@ -54,7 +54,6 @@
},
mounted () {
- console.log(this.user)
this.$loading()
this.getList()
},
@@ -214,8 +213,12 @@
}
p {
+ display: -webkit-box;
line-height: 1.3;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
font-size: 34px;
+ overflow: hidden;
color: #333333;
}
diff --git a/src/project/fd/AppAnswer/component/Ranking.vue b/src/project/fd/AppAnswer/component/Ranking.vue
index 22ad83a3..51ea2747 100644
--- a/src/project/fd/AppAnswer/component/Ranking.vue
+++ b/src/project/fd/AppAnswer/component/Ranking.vue
@@ -1,24 +1,35 @@
-
-
-
{{ info['积分排行'] }}
-
-
-
{{ user.name }}
-
-
{{ info['累计获取积分'] }}
-
-
+
-
{{ index + 1 }}
-
-
-
{{ item.name }}
+
+
+
![]()
+
{{index+1}}
+
+
+
![]()
{{item.name}}
+
+
+
{{item.score}}
+
+
+
+
@@ -34,6 +45,18 @@
size: 100
},
isMore: false,
+ barStyle: {
+ 'width': '24px',
+ 'height': '3px',
+ 'border-radius': '2px',
+ 'bottom': '0px',
+ 'background-color': '#3399FF'
+ },
+ activeStyle: {
+ 'font-weight' : '400',
+ 'color': '#000000'
+ },
+ imgList: [require('../img/top0.png'),require('../img/top1.png'),require('../img/top2.png')],
info: {},
list: []
}
@@ -94,86 +117,102 @@
uni.hideLoading()
})
}
+ },
+
+ onReachBottom () {
+ this.current = this.current + 1
+ this.getList()
}
}