From d13d799c7f0a0933224d208a6e6f41cb4ffd6aac Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 11 Jan 2023 14:48:37 +0800 Subject: [PATCH 1/7] loading --- src/project/fd/AppAnswer/answerAdd.vue | 2 ++ 1 file changed, 2 insertions(+) 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) From 2ea9318b7ca53f53a1e3260689d933d2cf35a503 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 11 Jan 2023 14:50:57 +0800 Subject: [PATCH 2/7] bug --- src/project/fd/AppAnswer/component/List.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/project/fd/AppAnswer/component/List.vue b/src/project/fd/AppAnswer/component/List.vue index 9260d276..c584c606 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; } From 0cb21184f2d114dc5e7a7f20953fd6e77a197047 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 11 Jan 2023 14:56:57 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=8D=A2=E6=88=90?= =?UTF-8?q?=E5=9C=86=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fd/AppAnswer/answerDetail.vue | 1 + src/project/fd/AppAnswer/answerList.vue | 1 + 2 files changed, 2 insertions(+) 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..2ab717c9 100644 --- a/src/project/fd/AppAnswer/answerList.vue +++ b/src/project/fd/AppAnswer/answerList.vue @@ -131,6 +131,7 @@ export default { img { width: 80px; height: 80px; + border-radius: 40px; margin-right: 16px; } .card_head_avtar { From 02c24070c62d89df9fbef34bcc861e11fd26f0b3 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 11 Jan 2023 15:07:01 +0800 Subject: [PATCH 4/7] bug --- src/project/fd/AppAnswer/Search.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@
From 254f179c9ad72d7c347d6dca16c01bcf312ea438 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 11 Jan 2023 15:20:04 +0800 Subject: [PATCH 5/7] bug --- .../fd/AppAnswer/component/Ranking.vue | 180 +++++++++++------- src/project/fd/AppAnswer/img/top0.png | Bin 0 -> 6329 bytes src/project/fd/AppAnswer/img/top1.png | Bin 0 -> 6568 bytes src/project/fd/AppAnswer/img/top2.png | Bin 0 -> 6894 bytes 4 files changed, 107 insertions(+), 73 deletions(-) create mode 100644 src/project/fd/AppAnswer/img/top0.png create mode 100644 src/project/fd/AppAnswer/img/top1.png create mode 100644 src/project/fd/AppAnswer/img/top2.png diff --git a/src/project/fd/AppAnswer/component/Ranking.vue b/src/project/fd/AppAnswer/component/Ranking.vue index 22ad83a3..88cfb9be 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: [] } @@ -100,80 +123,91 @@