| | |
| | | <a-textarea :rows="4" v-model="form.visitorContent" :placeholder="replyHolder" /> |
| | | </a-form-item> |
| | | <div> |
| | | <a-button html-type="submit" type="primary" v-if="!showReplyMsgInfo" @click="send()" |
| | | :disabled="isSending"> |
| | | 高低整两句 |
| | | </a-button> |
| | | <a-button html-type="submit" type="primary" v-else @click="send()" :disabled="isSending"> |
| | | 回复Ta |
| | | </a-button> |
| | | <a-button html-type="submit" type="primary" @click="send()" v-if="!showReplyMsgInfo" |
| | | :disabled="isSending || $attrs.isAllowedComment==0"> |
| | | 高低整两句 |
| | | </a-button> |
| | | <a-button html-type="submit" type="primary" v-else @click="send()" |
| | | :disabled="isSending || $attrs.isAllowedComment==0"> |
| | | 回复Ta |
| | | </a-button> |
| | | <span class="myTip" v-if="$attrs.isAllowedComment==0">很遗憾,评论已关闭</span> |
| | | </div> |
| | | |
| | | <div> |
| | | <a-checkbox style="margin-left: 8px;" v-if="!showReplyMsgInfo" v-model="form.isSecretMsg"> |
| | | <a-checkbox style=" margin-left: 8px;" v-if="!showReplyMsgInfo" v-model="form.isSecretMsg"> |
| | | 悄悄说..<span class="myTip">(仅登录后可查看)</span> |
| | | </a-checkbox> |
| | | <!-- <a-checkbox v-model="form.isReceiveMail"> |
| | |
| | | this.replyHolder = "@" + this.msgInfo.useName; |
| | | }, |
| | | send() { |
| | | console.log(11); |
| | | if (this.form.nickName === "") { |
| | | this.$message.info("怎么称呼..") |
| | | return |
| | |
| | | res = false; |
| | | } |
| | | }); |
| | | var articleId=this.$attrs.articleId; |
| | | var articleId = this.$attrs.articleId; |
| | | let commentType = (articleId == null || articleId == undefined) ? 1 : 2; |
| | | this.isSending = true; |
| | | |