diff --git a/src/api/learn.js b/src/api/learn.js new file mode 100644 index 000000000..ee6747731 --- /dev/null +++ b/src/api/learn.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 分页查询帖子回复 +export function queryPostPaging(postId, params) { + return request({ + url: `/api/learn/${postId}/message/query/paged`, + method: 'get', + params: params + }); +} +// 回复帖子 +export function answerPost(data) { + return request({ + url: `/api/learn/message/create`, + method: 'post', + data: data + }); +} diff --git a/src/assets/bg_board.jpg b/src/assets/bg_board.jpg new file mode 100644 index 000000000..2df38f6e1 Binary files /dev/null and b/src/assets/bg_board.jpg differ diff --git a/src/components/QuillEditor/index.vue b/src/components/QuillEditor/index.vue index 2e4bf60d7..12932f9d6 100644 --- a/src/components/QuillEditor/index.vue +++ b/src/components/QuillEditor/index.vue @@ -4,7 +4,8 @@ ref="editor" v-model="content" :options="options" - :style="{height: height+'px', 'margin-bottom': '80px'}" + style="background-color: #fff" + :style="{height: height+'px', 'margin-bottom': marginBottom+'px'}" @change="onChange" @blur="onBlur" @focus="onFocus" @@ -13,9 +14,10 @@ + + diff --git a/src/views/newMap/displayNew/demonMenu.vue b/src/views/newMap/displayNew/demonMenu.vue index 20cac8daa..eea5a3930 100644 --- a/src/views/newMap/displayNew/demonMenu.vue +++ b/src/views/newMap/displayNew/demonMenu.vue @@ -24,6 +24,7 @@ 理论考试 切换地图 + 留言板