zydx-plus 1.35.480 → 1.35.482

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.480",
3
+ "version": "1.35.482",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -27,12 +27,12 @@ let buttonNames = {
27
27
  headLevel: {
28
28
  default: "demand",
29
29
  demand: '学习要求',
30
- singletonClass: this.getCurrentPrefix(item) + '任务',
30
+ singletonClass: this.getCurrentPrefix(item) + '学习',
31
31
  allClass: this.getPrefix(item) + '情况',
32
32
  },
33
33
  otherLevel: {
34
34
  default: "singletonClass",
35
- singletonClass: this.getCurrentPrefix(item) + '任务',
35
+ singletonClass: this.getCurrentPrefix(item) + '学习',
36
36
  allClass: this.getPrefix(item) + '情况'
37
37
  },
38
38
  lowLevel: {
@@ -152,7 +152,7 @@ let buttonNames = {
152
152
  headLevel: {
153
153
  default: "demand",
154
154
  demand: '检测要求',
155
- quest:'全课试题',
155
+ quest:'全课试题',
156
156
  singletonClass: '课级检测',
157
157
  allClass: this.getPrefix(item) + '情况',
158
158
  },
@@ -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: '学习动力'
@@ -290,17 +290,17 @@ let buttonNames = {
290
290
  headLevel: {
291
291
  default: "demand",
292
292
  demand: '回答要求',
293
- singletonClass: this.getCurrentPrefix(item) + '任务',
293
+ singletonClass: this.getCurrentPrefix(item) + '追问',
294
294
  allClass: this.getPrefix(item) + '情况',
295
295
  },
296
296
  otherLevel: {
297
297
  default: "singletonClass",
298
- singletonClass: this.getCurrentPrefix(item) + '任务',
298
+ singletonClass: this.getCurrentPrefix(item) + '追问',
299
299
  allClass: this.getPrefix(item) + '情况',
300
300
  },
301
301
  lowLevel: {
302
302
  default: "singletonClass",
303
- singletonClass: '布置任务',
303
+ singletonClass: '追问任务',
304
304
  score: '成绩报告',
305
305
  analysis: '统计分析',
306
306
  power: '学习动力'
@@ -309,17 +309,17 @@ let buttonNames = {
309
309
  2: {
310
310
  headLevel: {
311
311
  default: "singletonClass",
312
- singletonClass: this.getCurrentPrefix(item) + '任务',
312
+ singletonClass: this.getCurrentPrefix(item) + '追问',
313
313
  allClass: this.getPrefix(item) + '情况',
314
314
  },
315
315
  otherLevel: {
316
316
  default: "singletonClass",
317
- singletonClass: this.getCurrentPrefix(item) + '任务',
317
+ singletonClass: this.getCurrentPrefix(item) + '追问',
318
318
  allClass: this.getPrefix(item) + '情况',
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: '学习动力'
@@ -407,7 +407,7 @@ let buttonNames = {
407
407
  },
408
408
  lowLevel: {
409
409
  default: "singletonClass",
410
- singletonClass: '学习思考',
410
+ singletonClass: '思考任务',
411
411
  score: '成绩报告',
412
412
  analysis: '统计分析',
413
413
  power: '学习动力'
@@ -526,7 +526,7 @@ let buttonNames = {
526
526
  },
527
527
  lowLevel: {
528
528
  default: "singletonClass",
529
- singletonClass: '布置讨论',
529
+ singletonClass: '讨论任务',
530
530
  score: '成绩报告',
531
531
  analysis: '统计分析',
532
532
  power: '学习动力'
@@ -545,7 +545,7 @@ let buttonNames = {
545
545
  },
546
546
  lowLevel: {
547
547
  default: "singletonClass",
548
- singletonClass: '布置讨论',
548
+ singletonClass: '讨论任务',
549
549
  score: '成绩报告',
550
550
  analysis: '统计分析',
551
551
  power: '学习动力'
@@ -570,7 +570,7 @@ let buttonNames = {
570
570
  },
571
571
  lowLevel: {
572
572
  default: "singletonClass",
573
- singletonClass: '布置风暴',
573
+ singletonClass: '风暴任务',
574
574
  score: '成绩报告',
575
575
  analysis: '统计分析',
576
576
  power: '学习动力'
@@ -589,7 +589,7 @@ let buttonNames = {
589
589
  },
590
590
  lowLevel: {
591
591
  default: "singletonClass",
592
- singletonClass: '布置风暴',
592
+ singletonClass: '风暴任务',
593
593
  score: '成绩报告',
594
594
  analysis: '统计分析',
595
595
  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: '学习动力'
@@ -695,12 +695,12 @@ let buttonNames = {
695
695
  headLevel: {
696
696
  default: "demand",
697
697
  demand: '学习要求',
698
- singletonClass: this.getCurrentPrefix(item) + '任务',
698
+ singletonClass: this.getCurrentPrefix(item) + '学习',
699
699
  allClass: this.getPrefix(item) + '情况',
700
700
  },
701
701
  otherLevel: {
702
702
  default: "singletonClass",
703
- singletonClass: this.getCurrentPrefix(item) + '任务',
703
+ singletonClass: this.getCurrentPrefix(item) + '学习',
704
704
  allClass: this.getPrefix(item) + '情况',
705
705
  },
706
706
  lowLevel: {
@@ -714,12 +714,12 @@ let buttonNames = {
714
714
  2: {
715
715
  headLevel: {
716
716
  default: "singletonClass",
717
- singletonClass: this.getCurrentPrefix(item) + '任务',
717
+ singletonClass: this.getCurrentPrefix(item) + '学习',
718
718
  allClass: this.getPrefix(item) + '情况',
719
719
  },
720
720
  otherLevel: {
721
721
  default: "singletonClass",
722
- singletonClass: this.getCurrentPrefix(item) + '任务',
722
+ singletonClass: this.getCurrentPrefix(item) + '学习',
723
723
  allClass: this.getPrefix(item) + '情况',
724
724
  },
725
725
  lowLevel: {
@@ -787,12 +787,12 @@ let buttonNames = {
787
787
  headLevel: {
788
788
  default: "demand",
789
789
  demand: '学习要求',
790
- singletonClass: this.getCurrentPrefix(item) + '任务',
790
+ singletonClass: this.getCurrentPrefix(item) + '学习',
791
791
  allClass: this.getPrefix(item) + '情况',
792
792
  },
793
793
  otherLevel: {
794
794
  default: "singletonClass",
795
- singletonClass: this.getCurrentPrefix(item) + '任务',
795
+ singletonClass: this.getCurrentPrefix(item) + '学习',
796
796
  allClass: this.getPrefix(item) + '情况',
797
797
  },
798
798
  lowLevel: {
@@ -806,12 +806,12 @@ let buttonNames = {
806
806
  2: {
807
807
  headLevel: {
808
808
  default: "singletonClass",
809
- singletonClass: this.getCurrentPrefix(item) + '任务',
809
+ singletonClass: this.getCurrentPrefix(item) + '学习',
810
810
  allClass: this.getPrefix(item) + '情况',
811
811
  },
812
812
  otherLevel: {
813
813
  default: "singletonClass",
814
- singletonClass: this.getCurrentPrefix(item) + '任务',
814
+ singletonClass: this.getCurrentPrefix(item) + '学习',
815
815
  allClass: this.getPrefix(item) + '情况',
816
816
  },
817
817
  lowLevel: {
@@ -878,12 +878,12 @@ let buttonNames = {
878
878
  headLevel: {
879
879
  default: "demand",
880
880
  demand: '聆听要求',
881
- singletonClass: this.getCurrentPrefix(item) + '任务',
881
+ singletonClass: this.getCurrentPrefix(item) + '聆听',
882
882
  allClass: this.getPrefix(item) + '情况',
883
883
  },
884
884
  otherLevel: {
885
885
  default: "singletonClass",
886
- singletonClass: this.getCurrentPrefix(item) + '任务',
886
+ singletonClass: this.getCurrentPrefix(item) + '聆听',
887
887
  allClass: this.getPrefix(item) + '情况',
888
888
  },
889
889
  lowLevel: {
@@ -897,12 +897,12 @@ let buttonNames = {
897
897
  2: {
898
898
  headLevel: {
899
899
  default: "singletonClass",
900
- singletonClass: this.getCurrentPrefix(item) + '任务',
900
+ singletonClass: this.getCurrentPrefix(item) + '聆听',
901
901
  allClass: this.getPrefix(item) + '情况',
902
902
  },
903
903
  otherLevel: {
904
904
  default: "singletonClass",
905
- singletonClass: this.getCurrentPrefix(item) + '任务',
905
+ singletonClass: this.getCurrentPrefix(item) + '聆听',
906
906
  allClass: this.getPrefix(item) + '情况',
907
907
  },
908
908
  lowLevel: {
@@ -951,7 +951,7 @@ let buttonNames = {
951
951
  },
952
952
  lowLevel: {
953
953
  default: "singletonClass",
954
- singletonClass: '阅读主题',
954
+ singletonClass: '阅读任务',
955
955
  score: '成绩报告',
956
956
  analysis: '统计分析',
957
957
  power: '学习动力'
@@ -1038,7 +1038,7 @@ let buttonNames = {
1038
1038
  },
1039
1039
  lowLevel: {
1040
1040
  default: "singletonClass",
1041
- singletonClass: '实践项目',
1041
+ singletonClass: '实践任务',
1042
1042
  score: '成绩报告',
1043
1043
  analysis: '统计分析',
1044
1044
  power: '学习动力'
@@ -1053,12 +1053,12 @@ let buttonNames = {
1053
1053
  headLevel: {
1054
1054
  default: "demand",
1055
1055
  demand: '创新要求',
1056
- singletonClass: this.getCurrentPrefix(item) + '任务',
1056
+ singletonClass: this.getCurrentPrefix(item) + '创新',
1057
1057
  allClass: this.getPrefix(item) + '情况',
1058
1058
  },
1059
1059
  otherLevel: {
1060
1060
  default: "singletonClass",
1061
- singletonClass: this.getCurrentPrefix(item) + '任务',
1061
+ singletonClass: this.getCurrentPrefix(item) + '创新',
1062
1062
  allClass: this.getPrefix(item) + '情况',
1063
1063
  },
1064
1064
  lowLevel: {
@@ -1073,12 +1073,12 @@ let buttonNames = {
1073
1073
  2: {
1074
1074
  headLevel: {
1075
1075
  default: "singletonClass",
1076
- singletonClass: this.getCurrentPrefix(item) + '任务',
1076
+ singletonClass: this.getCurrentPrefix(item) + '创新',
1077
1077
  allClass: this.getPrefix(item) + '情况',
1078
1078
  },
1079
1079
  otherLevel: {
1080
1080
  default: "singletonClass",
1081
- singletonClass: this.getCurrentPrefix(item) + '任务',
1081
+ singletonClass: this.getCurrentPrefix(item) + '创新',
1082
1082
  allClass: this.getPrefix(item) + '情况',
1083
1083
  },
1084
1084
  lowLevel: {
@@ -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: this.getCurrentPrefix(item) + '学习',
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: this.getCurrentPrefix(item) + '学习',
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: rgb(0, 0, 0);line-height: 1;">请在此处输入标题</span></strong></p>
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: rgb(0, 0, 0)">一、请在此处输入一级标题</span></strong></p>
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: rgb(0, 0, 0)">(一)请在此处输入二级标题</span></strong></p>
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: rgb(0, 0, 0);">请在此处输入标题</span></strong></p>
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: rgb(0, 0, 0)">一、请在此处输入一级标题</span></strong></p>
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: rgb(0, 0, 0)">(一)请在此处输入二级标题</span></strong></p>
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: rgb(0, 0, 0);">请在此处输入题目</span></strong></p>
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: rgb(0, 0, 0)">摘要:</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: rgb(0, 0, 0)">关键词:</span></strong> <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: #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: rgb(0, 0, 0)">一、请在此处输入一级标题</span></strong></p>
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: rgb(0, 0, 0)">(一)请在此处输入二级标题</span></strong></p>
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: rgb(0, 0, 0);">注释</span></strong></p>
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: rgb(0, 0, 0)">致谢</span></strong></p>
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: '摘&nbsp;&nbsp;&nbsp;要',
129
129
  key: 'abstractMenu',
130
130
  menuKeys: [],
131
- html: `<p class="abstract" data-signId="abstract"><span style="color: rgb(0, 0, 0);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>`
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: rgb(0, 0, 0);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>`
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: '标&nbsp;&nbsp;&nbsp;题',
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: rgb(0, 0, 0)">一、请在此处输入一级标题</span></strong></p>`
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: rgb(0, 0, 0)">(一)请在此处输入二级标题</span></strong></p>`
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: rgb(0, 0, 0);font-size: 16px;font-weight: bold;">致谢</span></p>`,
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 {
@@ -11,11 +11,15 @@ export const CustomImage = Image.extend({
11
11
  addAttributes() {
12
12
  return {
13
13
  width: {
14
- default: '',
14
+ default: null,
15
+ parseHTML: (element) => element.getAttribute('width'),
15
16
  renderHTML: attributes => {
16
- return {
17
- style: `width: ${attributes.width}`,
17
+ if (attributes.width) {
18
+ return {
19
+ width: attributes.width
20
+ };
18
21
  }
22
+ return {};
19
23
  }
20
24
  }
21
25
  }
@@ -31,7 +31,7 @@
31
31
  :editor="editor"
32
32
  :tippy-options="{ duration: 100}"
33
33
  :shouldShow="shouldShowFn"
34
- v-if="editor"
34
+ v-if="editor && readOnly"
35
35
  v-show="showBubble"
36
36
  >
37
37
  <div class="bubbleMenu">
@@ -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}
@@ -11,11 +11,15 @@ export const CustomImage = Image.extend({
11
11
  addAttributes() {
12
12
  return {
13
13
  width: {
14
- default: '',
14
+ default: null,
15
+ parseHTML: (element) => element.getAttribute('width'),
15
16
  renderHTML: attributes => {
16
- return {
17
- style: `width: ${attributes.width}`,
17
+ if (attributes.width) {
18
+ return {
19
+ width: attributes.width
20
+ };
18
21
  }
22
+ return {};
19
23
  }
20
24
  }
21
25
  }
@@ -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
- if(this.doublePage){
307
- this.readDoublePdf()
308
- }else {
309
- this.readPdf()
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)
@@ -147,7 +147,7 @@ export default {
147
147
  text-overflow: ellipsis;
148
148
  height: 30px;
149
149
  font-size: 14px;
150
- font-weight: bold;
150
+ font-weight: 600;
151
151
  }
152
152
 
153
153
  .list-title > button {
@@ -1,11 +1,11 @@
1
1
  export const debounceTimer = 500
2
2
  // 防抖
3
3
  export function debounce(fn, delay = debounceTimer) {
4
- var timeoutID = null
4
+ let timeoutID = null
5
5
  return function () {
6
6
  clearTimeout(timeoutID)
7
- var args = arguments
8
- var that = this
7
+ let args = arguments
8
+ let that = this
9
9
  timeoutID = setTimeout(function () {
10
10
  fn.apply(that, args)
11
11
  }, delay)
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.480',
90
+ version: '1.35.482',
91
91
  install,
92
92
  Calendar,
93
93
  Message,