This commit is contained in:
zhaofang
2022-07-08 11:34:52 +08:00
parent 6b41d7bf3d
commit 9c201bade1
2 changed files with 603 additions and 506 deletions

View File

@@ -36,8 +36,7 @@
class="reference-tag" class="reference-tag"
v-for="item in toUsers" v-for="item in toUsers"
:key="item.aid" :key="item.aid"
:label="item.aid">{{ item.name }}</el-radio-button :label="item.aid">{{ item.name }}</el-radio-button>
>
</el-radio-group> </el-radio-group>
</div> </div>
@@ -58,7 +57,7 @@
type="textarea" type="textarea"
class="hideControl" class="hideControl"
show-word-limit show-word-limit
v-model="inputValue" v-model.trim="inputValue"
maxlength="800" maxlength="800"
placeholder="写下您的评论(800字以内),可以@作者哦~" placeholder="写下您的评论(800字以内),可以@作者哦~"
></el-input> ></el-input>
@@ -114,7 +113,7 @@
<div v-if="replyInfo.parentId==com.id" class="comment-reply" style="padding-bottom: 5px;"> <div v-if="replyInfo.parentId==com.id" class="comment-reply" style="padding-bottom: 5px;">
<div style="width:100%;display:flex;"> <div style="width:100%;display:flex;">
<div style="flex: 1;"> <div style="flex: 1;">
<el-input class="hideControl" type="textarea" show-word-limit v-model="replyInfo.content" maxlength="800" placeholder="回复内容..."></el-input> <el-input class="hideControl" type="textarea" show-word-limit v-model.trim="replyInfo.content" maxlength="800" placeholder="回复内容..."></el-input>
</div> </div>
<div style="width: 120px;display: flex;justify-content: flex-end;"> <div style="width: 120px;display: flex;justify-content: flex-end;">
<el-button @click="submitReply(com)" type="primary">发布回复</el-button> <el-button @click="submitReply(com)" type="primary">发布回复</el-button>
@@ -155,7 +154,7 @@
<div v-if="replyInfo.parentId==reply.id" class="comment-reply" style="padding-bottom: 5px;"> <div v-if="replyInfo.parentId==reply.id" class="comment-reply" style="padding-bottom: 5px;">
<div style="width:100%;display:flex;"> <div style="width:100%;display:flex;">
<div style="flex: 1;"> <div style="flex: 1;">
<el-input show-word-limit class="hideControl" type="textarea" v-model="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input> <el-input show-word-limit class="hideControl" type="textarea" v-model.trim="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input>
</div> </div>
<div style="width: 120px;display: flex;justify-content: flex-end;"> <div style="width: 120px;display: flex;justify-content: flex-end;">
<el-button @click="submitReply(com)" type="primary">发布回复</el-button> <el-button @click="submitReply(com)" type="primary">发布回复</el-button>
@@ -200,7 +199,7 @@
<div v-if="replyInfo.parentId==reply.id" class="comment-reply" style="padding-bottom: 5px;"> <div v-if="replyInfo.parentId==reply.id" class="comment-reply" style="padding-bottom: 5px;">
<div style="width:100%;display:flex;"> <div style="width:100%;display:flex;">
<div style="flex: 1;"> <div style="flex: 1;">
<el-input show-word-limit class="hideControl" type="textarea" v-model="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input> <el-input show-word-limit class="hideControl" type="textarea" v-model.trim="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input>
</div> </div>
<div style="width: 120px;display: flex;justify-content: flex-end;"> <div style="width: 120px;display: flex;justify-content: flex-end;">
<el-button @click="submitDlgReply(com)" type="primary">发布回复</el-button> <el-button @click="submitDlgReply(com)" type="primary">发布回复</el-button>

File diff suppressed because it is too large Load Diff