update 前言修改
This commit is contained in:
+29
-28
@@ -60,18 +60,18 @@
|
|||||||
import InsertImage from './components/InsertImage.vue'
|
import InsertImage from './components/InsertImage.vue'
|
||||||
import HelloWorld from './components/HelloWorld.vue'
|
import HelloWorld from './components/HelloWorld.vue'
|
||||||
import Init from './saicComponents/Init'
|
import Init from './saicComponents/Init'
|
||||||
import contentOne from "./saicComponents/Content";
|
import contentOne from './saicComponents/Content'
|
||||||
import SaicFunc from "./saicComponents/SaicFunc";
|
import SaicFunc from './saicComponents/SaicFunc'
|
||||||
import SaicTable from "./saicComponents/SaicTable";
|
import SaicTable from './saicComponents/SaicTable'
|
||||||
import SaicImg from "./components/InsertImage";
|
import SaicImg from './components/InsertImage'
|
||||||
import InsertNotes from "./saicComponents/InsertNotes";
|
import InsertNotes from './saicComponents/InsertNotes'
|
||||||
import SaicExample from "./saicComponents/SaicExample";
|
import SaicExample from './saicComponents/SaicExample'
|
||||||
import SaicFile from "./saicComponents/SaicFile";
|
import SaicFile from './saicComponents/SaicFile'
|
||||||
import RevisInformation from "./saicComponents/RevisInformation";
|
import RevisInformation from './saicComponents/RevisInformation'
|
||||||
import Appendix from "./saicComponents/Appendix";
|
import Appendix from './saicComponents/Appendix'
|
||||||
import chapterData from "./saicComponents/chapterData";
|
import chapterData from './saicComponents/chapterData'
|
||||||
import Chapter from "./saicComponents/Chapter";
|
import Chapter from './saicComponents/Chapter'
|
||||||
import _axios from "@/plugins/axios2";
|
import _axios from '@/plugins/axios2'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -120,13 +120,13 @@
|
|||||||
'下列代号适用于本文件。',
|
'下列代号适用于本文件。',
|
||||||
'下列符号适用于本文件。',
|
'下列符号适用于本文件。',
|
||||||
'下列缩略语适用于本文件。',
|
'下列缩略语适用于本文件。',
|
||||||
'下列代号和缩略语适用于本文件。',
|
'下列代号和缩略语适用于本文件。'
|
||||||
],
|
],
|
||||||
separatorText: SEPARATOR_TYPE.COLON
|
separatorText: SEPARATOR_TYPE.COLON
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
num: 0,
|
num: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -139,14 +139,13 @@
|
|||||||
this.callCommand(() => {
|
this.callCommand(() => {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
var oDocument = Api.GetDocument();
|
var oDocument = Api.GetDocument()
|
||||||
|
const oHeading1Style6 = oDocument.CreateStyle('Normal')
|
||||||
const oHeading1Style6 = oDocument.CreateStyle("Normal");
|
const oTextPr7 = oHeading1Style6.GetTextPr()
|
||||||
const oTextPr7 = oHeading1Style6.GetTextPr();
|
oTextPr7.SetFontFamily('宋体')
|
||||||
oTextPr7.SetFontFamily("宋体");
|
oTextPr7.SetColor(0, 0, 0)
|
||||||
oTextPr7.SetColor(0, 0, 0);
|
|
||||||
oTextPr7.SetFontSize(21)
|
oTextPr7.SetFontSize(21)
|
||||||
const oTextPr9 = oHeading1Style6.GetParaPr();
|
const oTextPr9 = oHeading1Style6.GetParaPr()
|
||||||
oTextPr9.SetSpacingAfter(10)
|
oTextPr9.SetSpacingAfter(10)
|
||||||
|
|
||||||
// var oHeading1Style = oDocument.CreateStyle("Heading 1");
|
// var oHeading1Style = oDocument.CreateStyle("Heading 1");
|
||||||
@@ -184,12 +183,12 @@
|
|||||||
// oTextPr5.SetColor(0, 0, 0);
|
// oTextPr5.SetColor(0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
var oNormalStyle = oDocument.GetDefaultStyle("numbering");
|
var oNormalStyle = oDocument.GetDefaultStyle('numbering')
|
||||||
const oTextPr6 = oNormalStyle.GetTextPr();
|
const oTextPr6 = oNormalStyle.GetTextPr()
|
||||||
oTextPr6.SetFontFamily("黑体");
|
oTextPr6.SetFontFamily('黑体')
|
||||||
|
|
||||||
const oParagraph = Api.CreateParagraph();
|
const oParagraph = Api.CreateParagraph()
|
||||||
oParagraph.SetStyle(oNormalStyle);
|
oParagraph.SetStyle(oNormalStyle)
|
||||||
Api.HeadersAndFooters_DifferentOddandEvenPage(true)
|
Api.HeadersAndFooters_DifferentOddandEvenPage(true)
|
||||||
// Api.HeadersAndFooters_DifferentFirstPage(true)
|
// Api.HeadersAndFooters_DifferentFirstPage(true)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -255,7 +254,7 @@
|
|||||||
this.isDisplay = false
|
this.isDisplay = false
|
||||||
}
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -312,6 +311,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #ffff00;
|
color: #ffff00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-header {
|
.app-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 46px;
|
height: 46px;
|
||||||
@@ -325,6 +325,7 @@
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
border-bottom: 1px #e8e8e8 solid;
|
border-bottom: 1px #e8e8e8 solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-header-button {
|
.app-header-button {
|
||||||
background: #66b1ff;
|
background: #66b1ff;
|
||||||
border-color: #66b1ff;
|
border-color: #66b1ff;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1074
-883
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user