zydx-plus 1.35.480 → 1.35.481
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/biz_header/src/button_name.js +23 -23
- package/src/components/editor/src/butJson.js +19 -19
- package/src/components/editor/src/editor.vue +3 -3
- package/src/components/editor2/src/editor.vue +2 -0
- package/src/components/flip/src/flip.vue +9 -5
- package/src/components/treeList/src/treeList.vue +1 -1
- package/src/components/utils/index.js +3 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -209,7 +209,7 @@ let buttonNames = {
|
|
|
209
209
|
},
|
|
210
210
|
lowLevel: {
|
|
211
211
|
default: "singletonClass",
|
|
212
|
-
singletonClass: '
|
|
212
|
+
singletonClass: '思政任务',
|
|
213
213
|
score: '成绩报告',
|
|
214
214
|
analysis: '统计分析',
|
|
215
215
|
power: '学习动力'
|
|
@@ -228,7 +228,7 @@ let buttonNames = {
|
|
|
228
228
|
},
|
|
229
229
|
lowLevel: {
|
|
230
230
|
default: "singletonClass",
|
|
231
|
-
singletonClass: '
|
|
231
|
+
singletonClass: '思政任务',
|
|
232
232
|
score: '成绩报告',
|
|
233
233
|
analysis: '统计分析',
|
|
234
234
|
power: '学习动力'
|
|
@@ -300,7 +300,7 @@ let buttonNames = {
|
|
|
300
300
|
},
|
|
301
301
|
lowLevel: {
|
|
302
302
|
default: "singletonClass",
|
|
303
|
-
singletonClass: '
|
|
303
|
+
singletonClass: '追问任务',
|
|
304
304
|
score: '成绩报告',
|
|
305
305
|
analysis: '统计分析',
|
|
306
306
|
power: '学习动力'
|
|
@@ -319,7 +319,7 @@ let buttonNames = {
|
|
|
319
319
|
},
|
|
320
320
|
lowLevel: {
|
|
321
321
|
default: "singletonClass",
|
|
322
|
-
singletonClass: '
|
|
322
|
+
singletonClass: '追问任务',
|
|
323
323
|
score: '成绩报告',
|
|
324
324
|
analysis: '统计分析',
|
|
325
325
|
power: '学习动力'
|
|
@@ -344,7 +344,7 @@ let buttonNames = {
|
|
|
344
344
|
},
|
|
345
345
|
lowLevel: {
|
|
346
346
|
default: "singletonClass",
|
|
347
|
-
singletonClass: '
|
|
347
|
+
singletonClass: '提问任务',
|
|
348
348
|
score: '成绩报告',
|
|
349
349
|
analysis: '统计分析',
|
|
350
350
|
power: '学习动力'
|
|
@@ -363,7 +363,7 @@ let buttonNames = {
|
|
|
363
363
|
},
|
|
364
364
|
lowLevel: {
|
|
365
365
|
default: "singletonClass",
|
|
366
|
-
singletonClass: '
|
|
366
|
+
singletonClass: '提问任务',
|
|
367
367
|
score: '成绩报告',
|
|
368
368
|
analysis: '统计分析',
|
|
369
369
|
power: '学习动力'
|
|
@@ -661,7 +661,7 @@ let buttonNames = {
|
|
|
661
661
|
},
|
|
662
662
|
lowLevel: {
|
|
663
663
|
default: "singletonClass",
|
|
664
|
-
singletonClass: '
|
|
664
|
+
singletonClass: '案析任务',
|
|
665
665
|
score: '成绩报告',
|
|
666
666
|
analysis: '统计分析',
|
|
667
667
|
power: '学习动力'
|
|
@@ -680,7 +680,7 @@ let buttonNames = {
|
|
|
680
680
|
},
|
|
681
681
|
lowLevel: {
|
|
682
682
|
default: "singletonClass",
|
|
683
|
-
singletonClass: '
|
|
683
|
+
singletonClass: '案析任务',
|
|
684
684
|
score: '成绩报告',
|
|
685
685
|
analysis: '统计分析',
|
|
686
686
|
power: '学习动力'
|
|
@@ -1440,7 +1440,7 @@ let buttonNames = {
|
|
|
1440
1440
|
},
|
|
1441
1441
|
lowLevel: {
|
|
1442
1442
|
default: "singletonClass",
|
|
1443
|
-
singletonClass: '
|
|
1443
|
+
singletonClass: '思政任务',
|
|
1444
1444
|
score: '成绩报告',
|
|
1445
1445
|
analysis: '统计分析',
|
|
1446
1446
|
power: '学习动力'
|
|
@@ -1484,17 +1484,17 @@ let buttonNames = {
|
|
|
1484
1484
|
headLevel: {
|
|
1485
1485
|
default: "demand",
|
|
1486
1486
|
demand: '回答要求',
|
|
1487
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1487
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1488
1488
|
allClass: this.getPrefix(item) + '情况',
|
|
1489
1489
|
},
|
|
1490
1490
|
otherLevel: {
|
|
1491
1491
|
default: "singletonClass",
|
|
1492
|
-
singletonClass: this.getCurrentPrefix(item) + '
|
|
1492
|
+
singletonClass: this.getCurrentPrefix(item) + '任务',
|
|
1493
1493
|
allClass: this.getPrefix(item) + '情况',
|
|
1494
1494
|
},
|
|
1495
1495
|
lowLevel: {
|
|
1496
1496
|
default: "singletonClass",
|
|
1497
|
-
singletonClass: '
|
|
1497
|
+
singletonClass: '追问任务',
|
|
1498
1498
|
score: '成绩报告',
|
|
1499
1499
|
analysis: '统计分析',
|
|
1500
1500
|
power: '学习动力'
|
|
@@ -1519,7 +1519,7 @@ let buttonNames = {
|
|
|
1519
1519
|
},
|
|
1520
1520
|
lowLevel: {
|
|
1521
1521
|
default: "singletonClass",
|
|
1522
|
-
singletonClass: '
|
|
1522
|
+
singletonClass: '提问任务',
|
|
1523
1523
|
score: '成绩报告',
|
|
1524
1524
|
analysis: '统计分析',
|
|
1525
1525
|
power: '学习动力'
|
|
@@ -1626,7 +1626,7 @@ let buttonNames = {
|
|
|
1626
1626
|
},
|
|
1627
1627
|
lowLevel: {
|
|
1628
1628
|
default: "singletonClass",
|
|
1629
|
-
singletonClass: '
|
|
1629
|
+
singletonClass: '讨论任务',
|
|
1630
1630
|
score: '成绩报告',
|
|
1631
1631
|
analysis: '统计分析',
|
|
1632
1632
|
power: '学习动力'
|
|
@@ -1651,7 +1651,7 @@ let buttonNames = {
|
|
|
1651
1651
|
},
|
|
1652
1652
|
lowLevel: {
|
|
1653
1653
|
default: "singletonClass",
|
|
1654
|
-
singletonClass: '
|
|
1654
|
+
singletonClass: '风暴任务',
|
|
1655
1655
|
score: '成绩报告',
|
|
1656
1656
|
analysis: '统计分析',
|
|
1657
1657
|
power: '学习动力'
|
|
@@ -1718,7 +1718,7 @@ let buttonNames = {
|
|
|
1718
1718
|
},
|
|
1719
1719
|
lowLevel: {
|
|
1720
1720
|
default: "singletonClass",
|
|
1721
|
-
singletonClass: '
|
|
1721
|
+
singletonClass: '案析任务',
|
|
1722
1722
|
score: '成绩报告',
|
|
1723
1723
|
analysis: '统计分析',
|
|
1724
1724
|
power: '学习动力'
|
|
@@ -1743,7 +1743,7 @@ let buttonNames = {
|
|
|
1743
1743
|
},
|
|
1744
1744
|
lowLevel: {
|
|
1745
1745
|
default: "singletonClass",
|
|
1746
|
-
singletonClass:
|
|
1746
|
+
singletonClass: '学习任务',
|
|
1747
1747
|
score: '成绩报告',
|
|
1748
1748
|
analysis: '统计分析',
|
|
1749
1749
|
power: '学习动力'
|
|
@@ -1793,7 +1793,7 @@ let buttonNames = {
|
|
|
1793
1793
|
},
|
|
1794
1794
|
lowLevel: {
|
|
1795
1795
|
default: "singletonClass",
|
|
1796
|
-
singletonClass:
|
|
1796
|
+
singletonClass: '学习任务',
|
|
1797
1797
|
score: '成绩报告',
|
|
1798
1798
|
analysis: '统计分析',
|
|
1799
1799
|
power: '学习动力'
|
|
@@ -1872,7 +1872,7 @@ let buttonNames = {
|
|
|
1872
1872
|
},
|
|
1873
1873
|
lowLevel: {
|
|
1874
1874
|
default: "singletonClass",
|
|
1875
|
-
singletonClass: '
|
|
1875
|
+
singletonClass: '聆听任务',
|
|
1876
1876
|
score: '成绩报告',
|
|
1877
1877
|
analysis: '统计分析',
|
|
1878
1878
|
power: '学习动力'
|
|
@@ -1946,7 +1946,7 @@ let buttonNames = {
|
|
|
1946
1946
|
},
|
|
1947
1947
|
lowLevel: {
|
|
1948
1948
|
default: "singletonClass",
|
|
1949
|
-
singletonClass: '
|
|
1949
|
+
singletonClass: '实践任务',
|
|
1950
1950
|
score: '成绩报告',
|
|
1951
1951
|
analysis: '统计分析',
|
|
1952
1952
|
power: '学习动力'
|
|
@@ -1971,7 +1971,7 @@ let buttonNames = {
|
|
|
1971
1971
|
},
|
|
1972
1972
|
lowLevel: {
|
|
1973
1973
|
default: "singletonClass",
|
|
1974
|
-
singletonClass: '
|
|
1974
|
+
singletonClass: '创新任务',
|
|
1975
1975
|
score: '成绩报告',
|
|
1976
1976
|
analysis: '统计分析',
|
|
1977
1977
|
power: '学习动力'
|
|
@@ -2091,7 +2091,7 @@ let buttonNames = {
|
|
|
2091
2091
|
},
|
|
2092
2092
|
lowLevel: {
|
|
2093
2093
|
default: "singletonClass",
|
|
2094
|
-
singletonClass: '
|
|
2094
|
+
singletonClass: '项目任务',
|
|
2095
2095
|
score: '成绩报告',
|
|
2096
2096
|
analysis: '统计分析',
|
|
2097
2097
|
power: '学习动力'
|
|
@@ -2116,7 +2116,7 @@ let buttonNames = {
|
|
|
2116
2116
|
},
|
|
2117
2117
|
lowLevel: {
|
|
2118
2118
|
default: "singletonClass",
|
|
2119
|
-
singletonClass: '
|
|
2119
|
+
singletonClass: '实验任务',
|
|
2120
2120
|
score: '成绩报告',
|
|
2121
2121
|
analysis: '统计分析',
|
|
2122
2122
|
power: '学习动力'
|
|
@@ -40,12 +40,12 @@ export function butJson(editor, data) {
|
|
|
40
40
|
html: `<p style="text-align: center"><span style="font-size: 36px; color: rgb(225, 60, 57)">请在此输入红头名称</span></p>
|
|
41
41
|
<p data-signid="red" style="text-align: center"><span style="font-size: 16px; color: rgb(0, 0, 0)">请在此输入文件号xxx[xxx]xxxx号</span></p>
|
|
42
42
|
<p contenteditable="false" class="solid"></p>
|
|
43
|
-
<p data-signid="subject" style="text-align: center;margin: 80px 0 60px"><strong><span style="font-size: 24px; font-family: SimHei; color
|
|
43
|
+
<p data-signid="subject" style="text-align: center;margin: 80px 0 60px"><strong><span style="font-size: 24px; font-family: SimHei; color:#333333;line-height: 1;">请在此处输入标题</span></strong></p>
|
|
44
44
|
<p data-signid="lookUp"><strong><span style="font-size: 16px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入抬头:</span></strong></p>
|
|
45
45
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
46
|
-
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color
|
|
46
|
+
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:#333333">一、请在此处输入一级标题</span></strong></p>
|
|
47
47
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
48
|
-
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color
|
|
48
|
+
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:#333333">(一)请在此处输入二级标题</span></strong></p>
|
|
49
49
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
50
50
|
<p data-signid="paragraph" style="margin: 30px 0px 0px; text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入落款</span></strong></p>
|
|
51
51
|
<p data-signid="date" style="text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入日期</span></strong></p>`
|
|
@@ -54,12 +54,12 @@ export function butJson(editor, data) {
|
|
|
54
54
|
name: '新闻版式',
|
|
55
55
|
key: 'newsFormat',
|
|
56
56
|
menuKeys: [],
|
|
57
|
-
html: `<p data-signid="subject" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color:
|
|
57
|
+
html: `<p data-signid="subject" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color: #333333;">请在此处输入标题</span></strong></p>
|
|
58
58
|
<p data-signid="author" class="author" style="text-align: center;padding-bottom: 30px;"><span style="font-size: 14px; font-family: FangSong; color: rgb(0, 0, 0);">请在此处输入作者/来源</span></p>
|
|
59
59
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
60
|
-
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:
|
|
60
|
+
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color: #333333">一、请在此处输入一级标题</span></strong></p>
|
|
61
61
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
62
|
-
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:
|
|
62
|
+
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color: #333333">(一)请在此处输入二级标题</span></strong></p>
|
|
63
63
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
64
64
|
<p data-signid="paragraph" style="margin: 30px 0px 0px; text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入落款</span></strong></p>
|
|
65
65
|
<p data-signid="date" style="text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入日期</span></strong></p>`
|
|
@@ -68,26 +68,26 @@ export function butJson(editor, data) {
|
|
|
68
68
|
name: '论文版式',
|
|
69
69
|
key: 'paperFormat',
|
|
70
70
|
menuKeys: [],
|
|
71
|
-
html: `<p data-signid="subject" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color:
|
|
71
|
+
html: `<p data-signid="subject" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color: #333333;">请在此处输入题目</span></strong></p>
|
|
72
72
|
<p data-signid="author" class="author" style="text-align: center;padding-bottom: 30px;"><span style="font-size: 14px; font-family: FangSong; color: rgb(0, 0, 0);">请在此处输入作者</span></p>
|
|
73
|
-
<p data-signid="abstract" class="abstract"><strong><span style="font-size: 14px; font-family: SimSun; color:
|
|
74
|
-
<p data-signid="keyword" class="keyword"><strong><span contenteditable="false" style="font-size: 14px; font-family: SimSun; color:
|
|
73
|
+
<p data-signid="abstract" class="abstract"><strong><span style="font-size: 14px; font-family: SimSun; color: #333333;">摘要:</span></strong> <span style="font-size: 14px; font-family: FangSong; color: rgb(0, 0, 0)">请在此处输入摘要文本...</span></p>
|
|
74
|
+
<p data-signid="keyword" class="keyword"><strong><span contenteditable="false" style="font-size: 14px; font-family: SimSun; color: #333333">关键词:</span></strong> <span style="font-size: 14px; font-family: FangSong; color: rgb(0, 0, 0)"> 请在此处输入关键字...</span></p>
|
|
75
75
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
76
|
-
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:
|
|
76
|
+
<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color: #333333">一、请在此处输入一级标题</span></strong></p>
|
|
77
77
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本</span></p>
|
|
78
|
-
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimH ei; color:
|
|
78
|
+
<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimH ei; color: #333333">(一)请在此处输入二级标题</span></strong></p>
|
|
79
79
|
<p data-signid="text" class="indent"><span style="font-size: 14px; font-family: SimHei; color: rgb(0, 0, 0)">请在此处输入正文文本(复用格式建议直接复制粘贴段落)</span></p>
|
|
80
80
|
<p data-signid="splitLine" contenteditable="false" class="paging-line">分 页 线(保存文档时线下内容另起一页)</p>
|
|
81
|
-
<p data-signid="annotation" contenteditable="false" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color:
|
|
81
|
+
<p data-signid="annotation" contenteditable="false" style="text-align: center;"><strong><span style="font-size: 24px; font-family: SimHei; color: #333333;">注释</span></strong></p>
|
|
82
82
|
<p data-signid="annotation-1" contenteditable="false" class="author" style="text-align: center;padding-bottom: 30px;"><span style="font-size: 14px;font-weight: 700; color: rgba(0, 0, 0, 0.5);">(请在文中标识要注释的内容,此处将生成注释的序号而后需要作者填写注释内容)</span></p>
|
|
83
83
|
<p data-signid="a-l" class="text" contenteditable="false"><span style="font-size: 12px; font-family: FangSong;text-indent: 2em;">① 注释:是指解释字句的文字,也指用文字解释字句,可以是文字符号图片等多种形式。(当前文本只是示例展示,不会出现在保存的文本中。)</span></p>
|
|
84
84
|
<p data-signid="annotationSplitLine" contenteditable="false" class="paging-line">分 页 线(保存文档时线下内容另起一页)</p>
|
|
85
|
-
<p contenteditable="false" data-signId="reference" style="text-align: center;margin-bottom: 30px;"><span font-family: SimHei; style="font-weight: 700;font-size: 24px;">参考文献</span></p>
|
|
85
|
+
<p contenteditable="false" data-signId="reference" style="text-align: center;margin-bottom: 30px;"><span font-family: SimHei; style="font-weight: 700;font-size: 24px;color: #333333">参考文献</span></p>
|
|
86
86
|
<p contenteditable="false" data-signId="reference-1" class="author" style="text-align: center;padding-bottom: 30px;"><span style="font-size: 14px;font-weight: 700; color: rgba(0, 0, 0, 0.5);">(请在文中标识要注释的内容,此处将生成注释的序号而后需要作者填写注释内容)</span></p>
|
|
87
87
|
<p data-signid="r-l" class="text" contenteditable="false"><span style="font-size: 12px; font-family: FangSong;text-indent: 2em;"> [1] 孙品一.高校学报编辑工作现代化特征[C].中国高等学校自然科学学报研究会.科技编辑学论文集(2).北京:北京师范大学出版社,1998:10-22. (当前文本只是示例展示,不会出现在保存的文本中。)</span></p>
|
|
88
88
|
<p data-signid="r-l" class="text" contenteditable="false"><span style="font-size: 12px; font-family: FangSong;text-indent: 2em;"> [2] 张和生.地质力学系统理论[D].太原:太原理工大学,1998. (当前文本只是示例展示,不会出现在保存的文本中。)</span></p>
|
|
89
89
|
<p data-signid="referenceSplitLine" contenteditable="false" class="paging-line">分 页 线(保存文档时线下内容另起一页)</p>
|
|
90
|
-
<p data-signid="ack" style="text-align: center"><strong><span style="font-size: 16px; color:
|
|
90
|
+
<p data-signid="ack" style="text-align: center"><strong><span style="font-size: 16px; color: #333333">致谢</span></strong></p>
|
|
91
91
|
<p><span style="font-size: 14px; font-family: KaiTi; color: rgb(0, 0, 0)">致谢内容...</span></p>
|
|
92
92
|
<p data-signid="paragraph" style="margin: 30px 0px 0px; text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入落款</span></strong></p>
|
|
93
93
|
<p data-signid="date" style="text-align: right"><strong><span style="font-size: 14px; color: rgb(0, 0, 0)">请在此处输入日期</span></strong></p>`
|
|
@@ -128,12 +128,12 @@ export function butJson(editor, data) {
|
|
|
128
128
|
name: '摘 要',
|
|
129
129
|
key: 'abstractMenu',
|
|
130
130
|
menuKeys: [],
|
|
131
|
-
html: `<p class="abstract" data-signId="abstract"><span style="color
|
|
131
|
+
html: `<p class="abstract" data-signId="abstract"><span style="color:#333333;font-size: 14px;font-weight: 700;font-family: SimSun;">摘要:</span> <span style="color: rgb(0, 0, 0);font-size: 14px;font-family: FangSong"> 摘要内容...</span></p>`
|
|
132
132
|
}, {
|
|
133
133
|
name: '关键词',
|
|
134
134
|
key: 'keywordMenu',
|
|
135
135
|
menuKeys: [],
|
|
136
|
-
html: `<p class="keyword" data-signId="keyword"><span contenteditable="false" style="color
|
|
136
|
+
html: `<p class="keyword" data-signId="keyword"><span contenteditable="false" style="color:#333333;font-size: 14px;font-weight: 700;font-family: SimSun;">关键词:</span> <span style="color: rgb(0, 0, 0);font-size: 14px;font-family: FangSong"> 关键词内容...</span></p>`
|
|
137
137
|
}, {
|
|
138
138
|
name: '标 题',
|
|
139
139
|
key: 'paragraphTitle',
|
|
@@ -210,13 +210,13 @@ export function butJson(editor, data) {
|
|
|
210
210
|
name: '一级标题',
|
|
211
211
|
key: 'firstLevelHeading',
|
|
212
212
|
menuKeys: [],
|
|
213
|
-
html: `<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color
|
|
213
|
+
html: `<p data-signid="title-1" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:#333333">一、请在此处输入一级标题</span></strong></p>`
|
|
214
214
|
},
|
|
215
215
|
secondaryHeading: {
|
|
216
216
|
name: '二级标题',
|
|
217
217
|
key: 'secondaryHeading',
|
|
218
218
|
menuKeys: [],
|
|
219
|
-
html: `<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color
|
|
219
|
+
html: `<p data-signid="title-2" class="title ${randomId()} indent"><strong><span style="font-size: 16px; font-family: SimHei; color:#333333">(一)请在此处输入二级标题</span></strong></p>`
|
|
220
220
|
},
|
|
221
221
|
paragraphBody: {
|
|
222
222
|
name: '正文文本',
|
|
@@ -229,7 +229,7 @@ export function butJson(editor, data) {
|
|
|
229
229
|
key: 'ackMenu',
|
|
230
230
|
menuKeys: [],
|
|
231
231
|
html: [
|
|
232
|
-
`<p data-signId="ack" style="text-align: center;"><span style="color:
|
|
232
|
+
`<p data-signId="ack" style="text-align: center;"><span style="color: #333333;font-size: 16px;font-weight: bold;">致谢</span></p>`,
|
|
233
233
|
`<p><span style="color: rgb(0, 0, 0);font-size: 14px;font-family: KaiTi;">致谢内容...</span></p>`
|
|
234
234
|
]
|
|
235
235
|
},
|
|
@@ -3200,12 +3200,12 @@ export default {
|
|
|
3200
3200
|
if (key.key === 'text') {
|
|
3201
3201
|
this.editor.commands.setTitleId(key.key)
|
|
3202
3202
|
this.editor.commands.unsetSignId()
|
|
3203
|
-
this.editor.chain().focus().unsetBold().setFontSize('14px').setTextAlign('left').run()
|
|
3203
|
+
this.editor.chain().focus().unsetBold().setFontSize('14px').setColor('#000000').setTextAlign('left').run()
|
|
3204
3204
|
} else {
|
|
3205
3205
|
const t = key.key.split('-')[0]
|
|
3206
3206
|
this.editor.commands.setSignId(key.key)
|
|
3207
3207
|
this.editor.commands.setTitleId(`${t} ${this.randomId()}`)
|
|
3208
|
-
this.editor.chain().focus().setBold().setFontSize('16px').setTextAlign('left').run()
|
|
3208
|
+
this.editor.chain().focus().setBold().setFontSize('16px').setColor('#333333').setTextAlign('left').run()
|
|
3209
3209
|
}
|
|
3210
3210
|
this.$emit('changeOutlineMenu')
|
|
3211
3211
|
}
|
|
@@ -4131,7 +4131,7 @@ export default {
|
|
|
4131
4131
|
:deep(.title) {
|
|
4132
4132
|
/*padding: 10px 0 2px 0;*/
|
|
4133
4133
|
font-weight: 900;
|
|
4134
|
-
color:#333333;
|
|
4134
|
+
color:#333333!important;
|
|
4135
4135
|
}
|
|
4136
4136
|
|
|
4137
4137
|
.read-only-a {
|
|
@@ -357,6 +357,8 @@ export default {
|
|
|
357
357
|
},
|
|
358
358
|
mounted() {
|
|
359
359
|
// document.addEventListener('mouseup', this.getSelectedText)
|
|
360
|
+
|
|
361
|
+
|
|
360
362
|
let _this = this
|
|
361
363
|
this.uploadAttData = (this.data.enclosure === undefined || this.data.enclosure === null || this.data.enclosure === 'null') ? [] : this.enclosureAction(this.data.enclosure)
|
|
362
364
|
this.heightStyle = (this.height === '100%') ? {height: '100%'} : {'min-height': this.height}
|
|
@@ -302,12 +302,16 @@ export default {
|
|
|
302
302
|
}
|
|
303
303
|
setTimeout(()=>{
|
|
304
304
|
const el = this.$refs.book;
|
|
305
|
+
let resizeTimer ;
|
|
305
306
|
const resizeObserver = new ResizeObserver(() => {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
307
|
+
clearTimeout(resizeTimer);
|
|
308
|
+
resizeTimer = setTimeout(() => {
|
|
309
|
+
if(this.doublePage){
|
|
310
|
+
this.readDoublePdf()
|
|
311
|
+
}else {
|
|
312
|
+
this.readPdf()
|
|
313
|
+
}
|
|
314
|
+
}, 150); // 根据需求调整延迟时间
|
|
311
315
|
});
|
|
312
316
|
resizeObserver.observe(el);
|
|
313
317
|
},300)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export const debounceTimer = 500
|
|
2
2
|
// 防抖
|
|
3
3
|
export function debounce(fn, delay = debounceTimer) {
|
|
4
|
-
|
|
4
|
+
let timeoutID = null
|
|
5
5
|
return function () {
|
|
6
6
|
clearTimeout(timeoutID)
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
let args = arguments
|
|
8
|
+
let that = this
|
|
9
9
|
timeoutID = setTimeout(function () {
|
|
10
10
|
fn.apply(that, args)
|
|
11
11
|
}, delay)
|