Commit 901d4818 authored by Mac's avatar Mac

1

parent ab9af7a7
......@@ -62,8 +62,8 @@
暂无留言~
</view>
<view class="comment" v-if="article.IsComment==1">
<input type="text" v-model="commentMsg.Content" placeholder='留下您精彩的评论' class="commentinput" >
<view class="comment-pl" :style="{background:mainColor}" @click="addComment">评论</view>
<input type="text" v-model="commentMsg.Content" placeholder='留下您精彩的留言' class="commentinput" >
<view class="comment-pl" :style="{background:mainColor}" @click="addComment">留言</view>
</view>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
</view>
......@@ -155,7 +155,7 @@ export default {
}
);
},
addComment(){//新增评论
addComment(){//新增留言
this.request2({
url: '/api/AppletEducation/SetArticleCommentInfo',
data: this.commentMsg
......@@ -166,7 +166,7 @@ export default {
icon: 'none',
});
this.commentMsg.Content = '';
this.getArticleCommentPageList()//评论了之后调取留言列表
this.getArticleCommentPageList()//留言了之后调取留言列表
}
);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment