This commit is contained in:
@fawn-nine
2023-07-15 16:59:41 +08:00
parent 893747d23d
commit aa56ccdeea
4 changed files with 60 additions and 26 deletions

View File

@@ -129,7 +129,6 @@
</p>
</div>
</div>
<!-- 编辑引用 -->
<el-dialog v-loading="addLoading" :title= "dialogTitle + ' References'" :visible.sync="editboxVisible" width="800px" @close="cancelSave">
<p class="yinyongPre c888" style="margin-bottom: 20px; color: #888; line-height: 24px;">Now you are starting to add or modify this reference. If this reference has a DOI, you can directly copy it into the DOI input box and submit it. If this reference doesnt have the DOI, please turn on the No DOI button, and write all details of this reference according to the hints.</p>
@@ -228,8 +227,8 @@
</span>
</el-dialog>
<!-- 复制word添加引用 -->
<el-dialog :title= "dialogTitle + ' References'" :visible.sync="showEditor" width="800px" @close="showEditor= false">
<div style="height: 500px;">
<el-dialog title= "Add References'" :visible.sync="showEditor" width="800px" @close="showEditor= false">
<div>
<vue-ueditor-wrap v-model="wordText" :config="editorConfig" editor-id="editor-demo-01"></vue-ueditor-wrap>
</div>
<span slot="footer">
@@ -246,7 +245,7 @@ export default {
data(){
return{
ue: null,
wordText:'',
wordText:'<p>Paste the contents of the wold file here, delete the carriage return at the end and click "Submit".</p>',
editorConfig: {
// 访问 UEditor 静态资源的根路径,可参考 https://hc199421.gitee.io/vue-ueditor-wrap/#/faq
UEDITOR_HOME_URL: "/UEditor/",
@@ -907,8 +906,10 @@ export default {
</script>
<style scoped>
/* 隐藏编辑器底部内容 */
/deep/ #edui1_bottombar{display: none;}
/* 编辑器高度 */
/deep/ #edui1_iframeholder{ height: 350px;}
/deep/ #edui1_iframeholder{ height: 260px;}
/* .itemIndex{position: relative;} */
.itemChanged{position: absolute; display: inline-block; background: #006699; color: #fff; padding: 7px; border-radius: 0 0 7px 7px; left: 0; top: 0;}