zydx-plus 1.33.397 → 1.33.399

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.33.397",
3
+ "version": "1.33.399",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -117,17 +117,17 @@ let buttonNames = {
117
117
  default: "demand",
118
118
  demand: '调查要求',
119
119
  quest:'全课试题',
120
- singletonClass: this.getPrefix(item) + '调查'
120
+ singletonClass: this.getCurrentPrefix(item) + '调查'
121
121
  },
122
122
  otherLevel: {
123
123
  default: "singletonClass",
124
124
  quest:'全章试题',
125
- singletonClass: this.getPrefix(item) + '调查'
125
+ singletonClass: this.getCurrentPrefix(item) + '调查'
126
126
  },
127
127
  lowLevel: {
128
128
  default: "singletonClass",
129
129
  quest:'全节试题',
130
- singletonClass: this.getPrefix(item) + '调查'
130
+ singletonClass: this.getCurrentPrefix(item) + '调查'
131
131
  },
132
132
  },
133
133
  2: {
@@ -154,13 +154,13 @@ let buttonNames = {
154
154
  default: "demand",
155
155
  demand: '检测要求',
156
156
  quest:'全课试题',
157
- singletonClass: this.getPrefix(item) + '检测',
157
+ singletonClass: this.getCurrentPrefix(item) + '检测',
158
158
  allClass: this.getPrefix(item) + '情况',
159
159
  },
160
160
  otherLevel: {
161
161
  default: "singletonClass",
162
162
  quest:'全章试题',
163
- singletonClass: this.getPrefix(item) + '检测',
163
+ singletonClass: this.getCurrentPrefix(item) + '检测',
164
164
  allClass: this.getPrefix(item) + '情况',
165
165
  },
166
166
  lowLevel: {
@@ -212,7 +212,7 @@ let buttonNames = {
212
212
  },
213
213
  lowLevel: {
214
214
  default: "singletonClass",
215
- singletonClass: '思政主题',
215
+ singletonClass: '布置任务',
216
216
  score: '思政成绩',
217
217
  analysis: '统计分析',
218
218
  assessment: '素养评估',
@@ -232,7 +232,7 @@ let buttonNames = {
232
232
  },
233
233
  lowLevel: {
234
234
  default: "singletonClass",
235
- singletonClass: '思政主题',
235
+ singletonClass: '布置任务',
236
236
  score: '思政成绩',
237
237
  analysis: '统计分析',
238
238
  assessment: '素养评估',
@@ -296,17 +296,17 @@ let buttonNames = {
296
296
  headLevel: {
297
297
  default: "demand",
298
298
  demand: '回答要求',
299
- singletonClass: this.getCurrentPrefix(item) + '主题',
299
+ singletonClass: this.getCurrentPrefix(item) + '任务',
300
300
  allClass: this.getPrefix(item) + '情况',
301
301
  },
302
302
  otherLevel: {
303
303
  default: "singletonClass",
304
- singletonClass: this.getCurrentPrefix(item) + '主题',
304
+ singletonClass: this.getCurrentPrefix(item) + '任务',
305
305
  allClass: this.getPrefix(item) + '情况',
306
306
  },
307
307
  lowLevel: {
308
308
  default: "singletonClass",
309
- singletonClass: '追问主题',
309
+ singletonClass: '布置任务',
310
310
  score: '回答成绩',
311
311
  analysis: '统计分析',
312
312
  assessment: '素养评估',
@@ -316,17 +316,17 @@ let buttonNames = {
316
316
  2: {
317
317
  headLevel: {
318
318
  default: "singletonClass",
319
- singletonClass: this.getCurrentPrefix(item) + '主题',
319
+ singletonClass: this.getCurrentPrefix(item) + '任务',
320
320
  allClass: this.getPrefix(item) + '情况',
321
321
  },
322
322
  otherLevel: {
323
323
  default: "singletonClass",
324
- singletonClass: this.getCurrentPrefix(item) + '主题',
324
+ singletonClass: this.getCurrentPrefix(item) + '任务',
325
325
  allClass: this.getPrefix(item) + '情况',
326
326
  },
327
327
  lowLevel: {
328
328
  default: "singletonClass",
329
- singletonClass: '追问主题',
329
+ singletonClass: '布置任务',
330
330
  score: '回答成绩',
331
331
  analysis: '统计分析',
332
332
  assessment: '素养评估',
@@ -398,7 +398,7 @@ let buttonNames = {
398
398
  },
399
399
  lowLevel: {
400
400
  default: "viewResources",
401
- viewResources: '查看资源',
401
+ viewResources: '答疑资源',
402
402
  setTask: '布置任务',
403
403
  teacherAnswer: '教师答疑',
404
404
  // duplicate: '违纪查重',
@@ -494,7 +494,7 @@ let buttonNames = {
494
494
  },
495
495
  lowLevel: {
496
496
  default: "singletonClass",
497
- singletonClass: '讨论题目',
497
+ singletonClass: '布置讨论',
498
498
  score: '讨论成绩',
499
499
  analysis: '统计分析',
500
500
  assessment: '素养评估',
@@ -514,7 +514,7 @@ let buttonNames = {
514
514
  },
515
515
  lowLevel: {
516
516
  default: "singletonClass",
517
- singletonClass: '讨论题目',
517
+ singletonClass: '布置讨论',
518
518
  score: '讨论成绩',
519
519
  analysis: '统计分析',
520
520
  assessment: '素养评估',
@@ -540,7 +540,7 @@ let buttonNames = {
540
540
  },
541
541
  lowLevel: {
542
542
  default: "singletonClass",
543
- singletonClass: '风暴题目',
543
+ singletonClass: '布置风暴',
544
544
  score: '风暴成绩',
545
545
  analysis: '统计分析',
546
546
  assessment: '素养评估',
@@ -560,7 +560,7 @@ let buttonNames = {
560
560
  },
561
561
  lowLevel: {
562
562
  default: "singletonClass",
563
- singletonClass: '风暴题目',
563
+ singletonClass: '布置风暴',
564
564
  score: '风暴成绩',
565
565
  analysis: '统计分析',
566
566
  assessment: '素养评估',
@@ -577,13 +577,13 @@ let buttonNames = {
577
577
  default: "demand",
578
578
  demand: '训练要求',
579
579
  quest:'全课试题',
580
- singletonClass: this.getPrefix(item) + '训练',
580
+ singletonClass: this.getCurrentPrefix(item) + '训练',
581
581
  allClass: this.getPrefix(item) + '情况',
582
582
  },
583
583
  otherLevel: {
584
584
  default: "singletonClass",
585
585
  quest:'全章试题',
586
- singletonClass: this.getPrefix(item) + '训练',
586
+ singletonClass: this.getCurrentPrefix(item) + '训练',
587
587
  allClass: this.getPrefix(item) + '情况',
588
588
  },
589
589
  lowLevel: {
@@ -1319,15 +1319,15 @@ let buttonNames = {
1319
1319
  headLevel: {
1320
1320
  default: "demand",
1321
1321
  demand: '调查要求',
1322
- singletonClass: this.getPrefix(item) + '调查'
1322
+ singletonClass: this.getCurrentPrefix(item) + '调查'
1323
1323
  },
1324
1324
  otherLevel: {
1325
1325
  default: "singletonClass",
1326
- singletonClass: this.getPrefix(item) + '调查'
1326
+ singletonClass: this.getCurrentPrefix(item) + '调查'
1327
1327
  },
1328
1328
  lowLevel: {
1329
1329
  default: "singletonClass",
1330
- singletonClass: this.getPrefix(item) + '调查'
1330
+ singletonClass: this.getCurrentPrefix(item) + '调查'
1331
1331
  },
1332
1332
  }
1333
1333
  }
@@ -1339,12 +1339,12 @@ let buttonNames = {
1339
1339
  headLevel: {
1340
1340
  default: "demand",
1341
1341
  demand: '检测要求',
1342
- singletonClass: this.getPrefix(item) + '检测',
1342
+ singletonClass: this.getCurrentPrefix(item) + '检测',
1343
1343
  allClass: this.getPrefix(item) + '情况',
1344
1344
  },
1345
1345
  otherLevel: {
1346
1346
  default: "singletonClass",
1347
- singletonClass: this.getPrefix(item) + '检测',
1347
+ singletonClass: this.getCurrentPrefix(item) + '检测',
1348
1348
  allClass: this.getPrefix(item) + '情况',
1349
1349
  },
1350
1350
  lowLevel: {
@@ -1392,7 +1392,7 @@ let buttonNames = {
1392
1392
  },
1393
1393
  lowLevel: {
1394
1394
  default: "singletonClass",
1395
- singletonClass: '思政主题',
1395
+ singletonClass: '布置任务',
1396
1396
  score: '思政成绩',
1397
1397
  analysis: '统计分析',
1398
1398
  assessment: '素养评估',
@@ -1601,12 +1601,12 @@ let buttonNames = {
1601
1601
  headLevel: {
1602
1602
  default: "demand",
1603
1603
  demand: '训练要求',
1604
- singletonClass: this.getPrefix(item) + '训练',
1604
+ singletonClass: this.getCurrentPrefix(item) + '训练',
1605
1605
  allClass: this.getPrefix(item) + '情况',
1606
1606
  },
1607
1607
  otherLevel: {
1608
1608
  default: "singletonClass",
1609
- singletonClass: this.getPrefix(item) + '训练',
1609
+ singletonClass: this.getCurrentPrefix(item) + '训练',
1610
1610
  allClass: this.getPrefix(item) + '情况',
1611
1611
  },
1612
1612
  lowLevel: {
@@ -1752,12 +1752,12 @@ let buttonNames = {
1752
1752
  headLevel: {
1753
1753
  default: "demand",
1754
1754
  demand: '作业要求',
1755
- singletonClass: this.getPrefix(item) + '作业',
1755
+ singletonClass: this.getCurrentPrefix(item) + '作业',
1756
1756
  allClass: this.getPrefix(item) + '情况',
1757
1757
  },
1758
1758
  otherLevel: {
1759
1759
  default: "singletonClass",
1760
- singletonClass: this.getPrefix(item) + '作业',
1760
+ singletonClass: this.getCurrentPrefix(item) + '作业',
1761
1761
  allClass: this.getPrefix(item) + '情况',
1762
1762
  },
1763
1763
  lowLevel: {
@@ -2275,7 +2275,7 @@ let buttonNames = {
2275
2275
  headLevel: {
2276
2276
  default: "demand",
2277
2277
  demand: '思政要求',
2278
- resourceIndex: '思政主题',
2278
+ resourceIndex: '布置任务',
2279
2279
  review: '思政点评',
2280
2280
  analyse: '思政分析',
2281
2281
  countermeasure: this.getJobType() === 'resource_guidance' ? '指导对策' : '教学对策',
@@ -116,10 +116,10 @@
116
116
  <img :src="menusData('signMenu')?.ico" alt=""/>
117
117
  <span>{{ menusData('signMenu')?.text }}</span>
118
118
  </div>
119
- <!-- ,width: wit + 'px'-->
120
- <div v-for="(item,index) in htmlArr" :key="index" :style="{height: wit * 1.6 + 'px'}"
121
- class="read-only-page" @click="menusTap">
122
- <div :style="{width: wit + 'px',margin:'0 auto'}" class="read-only-p" v-html="item"></div>
119
+ <!-- ,width: wit + 'px' :style="{height: wit * 1.6 + 'px'}"-->
120
+ <div v-for="(item,index) in htmlArr" :key="index"
121
+ class="read-only-page" @click="menusTap" :style="{height: wit * 1.6 + 'px'}">
122
+ <div :style="{margin:'0 auto'}" class="read-only-p" v-html="item"></div>
123
123
  <div class="read-only-a">{{ index + 1 }}/{{ htmlArr.length }}</div>
124
124
  </div>
125
125
  </div>
@@ -2064,7 +2064,7 @@ export default {
2064
2064
  this.$nextTick(() => {
2065
2065
  this.htmlArr = []
2066
2066
  const data = document.querySelectorAll('.editing-cont')[0].childNodes[0].childNodes
2067
- this.wit = document.getElementsByClassName('editor-content')[0].offsetWidth + 20
2067
+ this.wit = document.getElementsByClassName('read-only')[0].offsetWidth + 20
2068
2068
  if (this.wit > 900) this.wit = 900
2069
2069
  let max = this.wit * 1.6 - 46
2070
2070
  let pHeight = 0
@@ -4001,7 +4001,7 @@ export default {
4001
4001
 
4002
4002
  .read-only-page {
4003
4003
  width: 100%;
4004
- padding: 120px 0 66px 0;
4004
+ padding: 120px 15% 66px;
4005
4005
  background-color: #fff;
4006
4006
  box-sizing: border-box;
4007
4007
  position: relative;
@@ -78,6 +78,7 @@
78
78
  border-radius: 3px;
79
79
  background-color: #fff;
80
80
  width: 150px;
81
+ overflow: hidden;
81
82
  }
82
83
  .right-menu>span{
83
84
  display: inline-block;
@@ -87,6 +88,7 @@
87
88
  cursor: pointer;
88
89
  width: 100%;
89
90
  padding: 0 10px;
91
+ box-sizing: border-box;
90
92
  }
91
93
  .right-menu>span:hover{
92
94
  background-color: #e8e8e8;
@@ -339,8 +339,8 @@ export default {
339
339
  const className = document.getElementsByClassName('annotation-list')
340
340
  const className2 = document.getElementsByClassName(`${id}s`)
341
341
  const className3 = document.getElementsByClassName('custom-underline')
342
- this.classGuidance(className3,'1px dashed #FF0000')
343
- this.classGuidance(className2,'1px solid #FF0000')
342
+ this.classGuidance(className3,'1px dashed #FF0000',false)
343
+ this.classGuidance(className2,'1px solid #FF0000',true)
344
344
  for (let i = 0; i < className.length; i++) {
345
345
  className[i].style.border = '1px solid #ccc'
346
346
  }
@@ -393,9 +393,10 @@ export default {
393
393
  }
394
394
  return width * fontSize / 10;
395
395
  },
396
- classGuidance(name,state) {
396
+ classGuidance(name,state,back) {
397
397
  for (let i = 0; i < name.length; i++) {
398
398
  name[i].style.borderBottom = state
399
+ name[i].style.backgroundColor = back?'rgba(0,0,0,0.2)':'rgba(0,0,0,0.1)'
399
400
  }
400
401
  },
401
402
  classBackDel(name) {
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.397',
86
+ version: '1.33.399',
87
87
  install,
88
88
  Calendar,
89
89
  Message,