|
|
@ -49,8 +49,11 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item prop="noticeContent" |
|
|
<el-form-item prop="noticeContent" |
|
|
label="通知内容"> |
|
|
label="通知内容"> |
|
|
<!-- 富文本编辑器, 容器 --> |
|
|
<el-row style="height: 550px;"> |
|
|
<div id="J_quillEditor"></div> |
|
|
<!-- 富文本编辑器, 容器 --> |
|
|
|
|
|
<div id="J_quillEditor" |
|
|
|
|
|
style="height: 500px;"></div> |
|
|
|
|
|
</el-row> |
|
|
<!-- 自定义上传图片功能 (使用element upload组件) --> |
|
|
<!-- 自定义上传图片功能 (使用element upload组件) --> |
|
|
<el-upload :action="uploadUrl" |
|
|
<el-upload :action="uploadUrl" |
|
|
:show-file-list="false" |
|
|
:show-file-list="false" |
|
|
@ -95,12 +98,13 @@ export default { |
|
|
quillEditor: null, |
|
|
quillEditor: null, |
|
|
quillEditorToolbarOptions: [ |
|
|
quillEditorToolbarOptions: [ |
|
|
['bold', 'italic', 'underline', 'strike'], |
|
|
['bold', 'italic', 'underline', 'strike'], |
|
|
['blockquote', 'code-block', 'image'], |
|
|
// ['blockquote', 'code-block', 'image'], |
|
|
|
|
|
['image'], |
|
|
[{ 'header': 1 }, { 'header': 2 }], |
|
|
[{ 'header': 1 }, { 'header': 2 }], |
|
|
[{ 'list': 'ordered' }, { 'list': 'bullet' }], |
|
|
[{ 'list': 'ordered' }, { 'list': 'bullet' }], |
|
|
[{ 'script': 'sub' }, { 'script': 'super' }], |
|
|
[{ 'script': 'sub' }, { 'script': 'super' }], |
|
|
[{ 'indent': '-1' }, { 'indent': '+1' }], |
|
|
[{ 'indent': '-1' }, { 'indent': '+1' }], |
|
|
[{ 'direction': 'rtl' }], |
|
|
// [{ 'direction': 'rtl' }], |
|
|
[{ 'size': ['small', false, 'large', 'huge'] }], |
|
|
[{ 'size': ['small', false, 'large', 'huge'] }], |
|
|
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], |
|
|
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], |
|
|
[{ 'color': [] }, { 'background': [] }], |
|
|
[{ 'color': [] }, { 'background': [] }], |
|
|
@ -273,8 +277,3 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style> |
|
|
|
|
|
.richText { |
|
|
|
|
|
height: 500px; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
|
|
|
|