diff --git a/components/at-my/at-my.vue b/components/at-my/at-my.vue index 46f6286..a224572 100644 --- a/components/at-my/at-my.vue +++ b/components/at-my/at-my.vue @@ -7,7 +7,7 @@ - {{at.sysCreateBy}} {{at.sysCreateTime}} + {{at.sysCreateBy}} {{at.sysCreateTime.split(' ')[0]}} @我 diff --git a/components/comments/comments.vue b/components/comments/comments.vue index b3160e9..a6e0c6e 100644 --- a/components/comments/comments.vue +++ b/components/comments/comments.vue @@ -94,7 +94,7 @@ - + diff --git a/components/interact-fixed/interact-fixed.vue b/components/interact-fixed/interact-fixed.vue index 48b4661..9f8cef8 100644 --- a/components/interact-fixed/interact-fixed.vue +++ b/components/interact-fixed/interact-fixed.vue @@ -58,7 +58,7 @@ - @ + diff --git a/pages/resource/qaDetail.vue b/pages/resource/qaDetail.vue index a84dfe8..2b8e731 100644 --- a/pages/resource/qaDetail.vue +++ b/pages/resource/qaDetail.vue @@ -186,7 +186,7 @@ - @ + @@ -276,10 +276,10 @@ export default { computed: { ...mapGetters(['userInfo']), placeholder(){ - let txt='请写下您的答案(200字以内),可以@提问者哦~'; + let txt='写下你的回答吧···'; if(this.curItem && this.curItem.id){ //if(this.curItem.clevel>1){ - txt='请写下您的回复(200字以内)'; + txt=`回复 ${this.curItem.sysCreateBy}`; //} } return txt; @@ -362,7 +362,6 @@ export default { uni.showLoading({title:'加载中...'}) let $this=this; apiQa.detail(id).then(res => { - console.log(res,'res') setTimeout(function(){ uni.hideLoading() },100); if (res.status == 200) { //处理图片 @@ -513,7 +512,6 @@ export default { return item.content; }, changeIsAll(item) { - //console.log(item,'isall'); item.isAll=!item.isAll; }, messageSave(refId,title,sendName,acceptName,acceptId,typeText){ @@ -549,7 +547,6 @@ export default { uni.showToast({title:"设置成功" ,duration: 2000}) this.btnsShow=false this.answerList=[] - //console.log("我经过这里面美哟") this.getAnswerList(this.questionId) let event = { key: "AnswerBest",//设置为最佳答案 @@ -793,9 +790,6 @@ export default { this.curParentId=''; this.answercontent=''; this.loadUserInfos([res.result],[res.result.sysCreateAid]); - //console.log(this.curItem,'this.curItem'); - //console.log(this.curParent,'this.curParent'); - //if(this.curItem.id) if(this.curItem.clevel<3){ if(!this.curItem.answers){ this.curItem.answers=[]; @@ -851,7 +845,6 @@ export default { this.answerList[index].isPraise=true; this.answerList[index].praises++; this.$refs.interactToast.show({message:'点赞成功',type:'success'}); - //console.log(this.answerList[index],'content)') this.messageSave(this.answerList[index].id,this.answerList[index].content,this.userInfo.name,this.answerList[index].sysCreateBy,this.answerList[index].sysCreateAid,'点赞了我的'); }else{