diff --git a/src/project/fd/AppAnswer/Search.vue b/src/project/fd/AppAnswer/Search.vue index 612ba06b..99bfba96 100644 --- a/src/project/fd/AppAnswer/Search.vue +++ b/src/project/fd/AppAnswer/Search.vue @@ -4,7 +4,7 @@
diff --git a/src/project/fd/AppAnswer/answerAdd.vue b/src/project/fd/AppAnswer/answerAdd.vue index e847429f..cc78f6f6 100644 --- a/src/project/fd/AppAnswer/answerAdd.vue +++ b/src/project/fd/AppAnswer/answerAdd.vue @@ -39,11 +39,13 @@ export default { return this.$u.toast('请输入回答内容') } this.flag = true + this.$loading() this.$http.post(`/app/applearningquestion/addOrUpdateAnswer`, { ...this.form }).then(res=> { if(res?.code==0) { this.$u.toast('提交成功!') + uni.$emit('update') setTimeout(()=> { uni.navigateBack() }, 500) diff --git a/src/project/fd/AppAnswer/answerDetail.vue b/src/project/fd/AppAnswer/answerDetail.vue index a5b9f253..2f26796f 100644 --- a/src/project/fd/AppAnswer/answerDetail.vue +++ b/src/project/fd/AppAnswer/answerDetail.vue @@ -85,6 +85,7 @@ export default { width: 80px; height: 80px; margin-right: 16px; + border-radius: 40px; } .head_avtar { max-width: calc(100% - 96px); diff --git a/src/project/fd/AppAnswer/answerList.vue b/src/project/fd/AppAnswer/answerList.vue index fa53b638..63036e8f 100644 --- a/src/project/fd/AppAnswer/answerList.vue +++ b/src/project/fd/AppAnswer/answerList.vue @@ -6,19 +6,21 @@

已有{{ answersArr.length }}条回答

-
-
- -
-

{{ item.createUserName }}

-
{{ item.createUserDeptName }}
+
+
+
+ +
+

{{ item.createUserName }}

+
{{ item.createUserDeptName }}
+
+
{{ item.createTime }}
-
{{ item.createTime }}
-
-
-
- {{ item.content }} +
+
+ {{ item.content }} +
@@ -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 @@ @@ -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() } }