20230517
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<p>
|
||||
Author :
|
||||
</p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
<el-card>Dear Editor,
|
||||
<p style="white-space: pre-wrap;">{{item.ad_content}}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
@@ -19,7 +19,7 @@
|
||||
Editor :
|
||||
</p>
|
||||
<el-card>
|
||||
<p>{{ item.ad_content }}</p>
|
||||
<p style="white-space: pre-wrap;">{{item.ad_content}}</p>
|
||||
</el-card>
|
||||
<b>{{formatDate(item.ad_ctime)}}</b>
|
||||
</div>
|
||||
@@ -27,9 +27,11 @@
|
||||
|
||||
<div class="kuang_communtion_input">
|
||||
<p v-if="talkMsgs"></p>
|
||||
<el-input type="textarea" rows="3" v-model="msgform.ad_content" placeholder="Editor messages" resize="none"></el-input>
|
||||
<el-input type="textarea" rows="3" v-model="msgform.ad_content" placeholder="Editor messages" resize="none">
|
||||
</el-input>
|
||||
<div class="kuang_communtion_input_text">
|
||||
Dear Editor, through this window, you can have informal communication with the author. Please be aware of the
|
||||
Dear Editor, through this window, you can have informal communication with the author. Please be aware
|
||||
of the
|
||||
prompt reply, standard use of English, and no offensive, insulting, discriminatory language.
|
||||
<el-button type="primary" @click="saveMsg">Send</el-button>
|
||||
</div>
|
||||
@@ -39,7 +41,6 @@
|
||||
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
talkMsgs: {
|
||||
@@ -75,13 +76,13 @@
|
||||
},
|
||||
// 留言弹出框
|
||||
saveMsg() {
|
||||
console.log(this.msgform)
|
||||
if (this.msgform.ad_content == '') {
|
||||
this.$message.error('Please input messages');
|
||||
this.$message.error('Please input messages!');
|
||||
return false;
|
||||
}
|
||||
this.loading = true;
|
||||
this.$api.post('api/Article/pushArticleDialog', this.msgform)
|
||||
this.$api
|
||||
.post('api/Article/pushArticleDialog', this.msgform)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
this.$message.success('Sent successfully');
|
||||
|
||||
Reference in New Issue
Block a user