zydx-plus 1.32.313 → 1.32.315

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.32.313",
3
+ "version": "1.32.315",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -21,21 +21,21 @@
21
21
  <template v-for="(buttonInfo, buttonIndex) in initConfig(item).buttonList[tabType]">
22
22
  <template v-if="buttonInfo instanceof Object" v-for="(childButtonInfo, childButtonIndex) in buttonInfo">
23
23
  <!-- 在课上渲染的 -->
24
- <button class="z-button"
24
+ <button class="defaultButton"
25
25
  :class="childButtonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active' : ''"
26
26
  v-if="item.level === 0 && buttonIndex === 'headLevel' && childButtonIndex !== 'default'"
27
27
  @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
28
28
  v-html="childButtonInfo"
29
29
  />
30
30
  <!-- 单独在最低节点设置的按钮 -->
31
- <button :ref="childButtonIndex + item.catalogId" class="z-button"
31
+ <button :ref="childButtonIndex + item.catalogId" class="defaultButton"
32
32
  :class="childButtonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active' : ''"
33
33
  v-if="item.level !== 0 && (!item.children || item.children.length === 0) && buttonIndex === 'lowLevel' && childButtonIndex !== 'default'"
34
34
  @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
35
35
  v-html="childButtonInfo"
36
36
  />
37
37
  <!-- 在非课和非最低节点 -->
38
- <button class="z-button"
38
+ <button class="defaultButton"
39
39
  :class="childButtonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active' : ''"
40
40
  v-if="item.level !== 0 && item.children && item.children.length !== 0 && buttonIndex === 'otherLevel' && childButtonIndex !== 'default'"
41
41
  @click="clickRightBtn(item, childButtonIndex, childButtonInfo)"
@@ -43,7 +43,7 @@
43
43
  />
44
44
  </template>
45
45
  <template v-else-if="buttonInfo != null && buttonInfo.constructor === String">
46
- <button class="z-button"
46
+ <button class="defaultButton"
47
47
  :class="buttonIndex === getSelectBtnIndex && selectItem.level === item.level? 'active' : ''"
48
48
  v-if="buttonIndex !== 'level0btn' && buttonInfo != null"
49
49
  @click="clickRightBtn(item, buttonIndex, buttonInfo)"
@@ -205,27 +205,45 @@ export default {
205
205
  .borderBottom1cccccc {
206
206
  border-bottom: 1px #cccccc solid !important;
207
207
  }
208
- .z-button {
209
- margin: 1px;
208
+ /*.z-button {*/
209
+ /*margin: 1px;*/
210
+ /*width: auto;*/
211
+ /*min-width: 60px;*/
212
+ /*max-width: 60px;*/
213
+ /*text-overflow: ellipsis;*/
214
+ /*white-space: nowrap;*/
215
+ /*overflow: hidden;*/
216
+ /*height: 20px;*/
217
+ /*background-color: #FFFFFF;*/
218
+ /*color: #000000;*/
219
+ /*border: #000000 1px solid;*/
220
+ /*line-height: 18px;*/
221
+ /*border-radius: 3px;*/
222
+ /*font-size: 12px !important;*/
223
+ /*letter-spacing: 0px !important;*/
224
+ /*text-align: center;*/
225
+ /*padding: 0 5px;*/
226
+ /*font-weight: normal;*/
227
+ /*cursor: pointer;*/
228
+ /*}*/
229
+
230
+ .defaultButton {
210
231
  width: auto;
211
232
  min-width: 60px;
212
- max-width: 60px;
213
- text-overflow: ellipsis;
214
- white-space: nowrap;
215
- overflow: hidden;
216
233
  height: 20px;
217
- background-color: #FFFFFF;
218
- color: #000000;
219
- border: #000000 1px solid;
220
- line-height: 18px;
234
+ font-size: 12px;
235
+ line-height: 20px;
236
+ border: 1px solid #000;
237
+ color: #000;
221
238
  border-radius: 3px;
222
- font-size: 12px !important;
223
- letter-spacing: 0px !important;
224
239
  text-align: center;
225
- padding: 0 5px;
226
- font-weight: normal;
227
240
  cursor: pointer;
241
+ background-color: #fff;
242
+ user-select: none;
243
+ margin: 1px;
244
+ box-sizing: border-box;
228
245
  }
246
+
229
247
  .active{
230
248
  color: rgba(0, 255, 0, 1) !important;
231
249
  }
@@ -235,12 +235,12 @@ let buttonNames = {
235
235
  headLevel: {
236
236
  default: "demand",
237
237
  demand: '回答要求',
238
- singletonClass: this.getCurrentPrefix(item) + '追问',
238
+ singletonClass: this.getCurrentPrefix(item) + '主题',
239
239
  allClass: this.getPrefix(item) + '情况',
240
240
  },
241
241
  otherLevel: {
242
242
  default: "singletonClass",
243
- singletonClass: this.getCurrentPrefix(item) + '追问',
243
+ singletonClass: this.getCurrentPrefix(item) + '主题',
244
244
  allClass: this.getPrefix(item) + '情况',
245
245
  },
246
246
  lowLevel: {
@@ -254,12 +254,12 @@ let buttonNames = {
254
254
  2: {
255
255
  headLevel: {
256
256
  default: "singletonClass",
257
- singletonClass: this.getCurrentPrefix(item) + '追问',
257
+ singletonClass: this.getCurrentPrefix(item) + '主题',
258
258
  allClass: this.getPrefix(item) + '情况',
259
259
  },
260
260
  otherLevel: {
261
261
  default: "singletonClass",
262
- singletonClass: this.getCurrentPrefix(item) + '追问',
262
+ singletonClass: this.getCurrentPrefix(item) + '主题',
263
263
  allClass: this.getPrefix(item) + '情况',
264
264
  },
265
265
  lowLevel: {
@@ -547,13 +547,13 @@ let buttonNames = {
547
547
  0: {
548
548
  headLevel: {
549
549
  default: "demand",
550
- demand: '分析要求',
551
- singletonClass: this.getCurrentPrefix(item) + '分析',
550
+ demand: '案析要求',
551
+ singletonClass: this.getCurrentPrefix(item) + '案析',
552
552
  allClass: this.getPrefix(item) + '情况',
553
553
  },
554
554
  otherLevel: {
555
555
  default: "singletonClass",
556
- singletonClass: this.getCurrentPrefix(item) + '分析',
556
+ singletonClass: this.getCurrentPrefix(item) + '案析',
557
557
  allClass: this.getPrefix(item) + '情况',
558
558
  },
559
559
  lowLevel: {
@@ -567,12 +567,12 @@ let buttonNames = {
567
567
  2: {
568
568
  headLevel: {
569
569
  default: "singletonClass",
570
- singletonClass: this.getCurrentPrefix(item) + '分析',
570
+ singletonClass: this.getCurrentPrefix(item) + '案析',
571
571
  allClass: this.getPrefix(item) + '情况',
572
572
  },
573
573
  otherLevel: {
574
574
  default: "singletonClass",
575
- singletonClass: this.getCurrentPrefix(item) + '分析',
575
+ singletonClass: this.getCurrentPrefix(item) + '案析',
576
576
  allClass: this.getPrefix(item) + '情况',
577
577
  },
578
578
  lowLevel: {
@@ -684,12 +684,12 @@ let buttonNames = {
684
684
  headLevel: {
685
685
  default: "demand",
686
686
  demand: '作业要求',
687
- singletonClass: this.getPrefix(item) + '作业',
687
+ singletonClass: this.getCurrentPrefix(item) + '作业',
688
688
  allClass: this.getPrefix(item) + '情况',
689
689
  },
690
690
  otherLevel: {
691
691
  default: "singletonClass",
692
- singletonClass: this.getPrefix(item) + '作业',
692
+ singletonClass: this.getCurrentPrefix(item) + '作业',
693
693
  allClass: this.getPrefix(item) + '情况',
694
694
  },
695
695
  lowLevel: {
@@ -1334,12 +1334,12 @@ let buttonNames = {
1334
1334
  headLevel: {
1335
1335
  default: "demand",
1336
1336
  demand: '回答要求',
1337
- singletonClass: this.getCurrentPrefix(item) + '追问',
1337
+ singletonClass: this.getCurrentPrefix(item) + '主题',
1338
1338
  allClass: this.getPrefix(item) + '情况',
1339
1339
  },
1340
1340
  otherLevel: {
1341
1341
  default: "singletonClass",
1342
- singletonClass: this.getCurrentPrefix(item) + '追问',
1342
+ singletonClass: this.getCurrentPrefix(item) + '主题',
1343
1343
  allClass: this.getPrefix(item) + '情况',
1344
1344
  },
1345
1345
  lowLevel: {
@@ -1532,13 +1532,13 @@ let buttonNames = {
1532
1532
  0: {
1533
1533
  headLevel: {
1534
1534
  default: "demand",
1535
- demand: '分析要求',
1536
- singletonClass: this.getCurrentPrefix(item) + '分析',
1535
+ demand: '案析要求',
1536
+ singletonClass: this.getCurrentPrefix(item) + '案析',
1537
1537
  allClass: this.getPrefix(item) + '情况',
1538
1538
  },
1539
1539
  otherLevel: {
1540
1540
  default: "singletonClass",
1541
- singletonClass: this.getCurrentPrefix(item) + '分析',
1541
+ singletonClass: this.getCurrentPrefix(item) + '案析',
1542
1542
  allClass: this.getPrefix(item) + '情况',
1543
1543
  },
1544
1544
  lowLevel: {
@@ -2529,7 +2529,7 @@ let buttonNames = {
2529
2529
  selectResource: '查找资源',
2530
2530
  }
2531
2531
  },
2532
- 0: {
2532
+ 2: {
2533
2533
  headLevel: {
2534
2534
  default: "btnIndex1",
2535
2535
  btnIndex1: this.getCurrentPrefix(item) + '课件',
@@ -2644,7 +2644,7 @@ let buttonNames = {
2644
2644
  },
2645
2645
  lowLevel: {
2646
2646
  default: "viewResource",
2647
- importResource: '导入数据',
2647
+ createResource: '创建数据',
2648
2648
  viewResource: '数据列表',
2649
2649
  selectResource: '查找资源',
2650
2650
  }
@@ -4,7 +4,7 @@
4
4
  <div v-if="actionConfig[actionId].isShowFinishState" class="task_item_main width100" :class="isWidth50 ? 'width50': 'width100'" style="z-index: 110">
5
5
  <div class="task_text_desc">动作性质:</div>
6
6
  <div class="width250">
7
- <zydxSelect :color="'#000000'" :readonly="readonly" :options="finishStateOptions" v-model:value="finishState"></zydxSelect>
7
+ <zydxSelect :color="'#000000'" :readonly="actionId == 'action_lesson051'?true:readonly" :options="finishStateOptions" v-model:value="finishState"></zydxSelect>
8
8
  </div>
9
9
  </div>
10
10
  <template v-if="actionConfig[actionId].isShowEndTime">
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  </template>
62
62
  <div v-if="actionConfig[actionId].isShowLaterScore" class="task_item_main" :class="getZindex(index)">
63
- <div class="task_text_desc">迟交扣分:</div>
63
+ <div class="task_text_desc">{{actionId == 'action_lesson012' || 'action_Interrogation'?'迟答扣分' : '迟交扣分'}}:</div>
64
64
  <div class="width250">
65
65
  <zydxSelect :color="'#000000'" :readonly="readonly" :options="laterScoreOptions" v-model:value="laterScore"></zydxSelect>
66
66
  </div>
@@ -162,7 +162,7 @@
162
162
  actionConfig: {
163
163
  action_lesson051: {
164
164
  actionName: '学习调查',
165
- endTimeBtn1: '任务截止',
165
+ endTimeBtn1: '调查截止',
166
166
  endTimeBtn2: '任务时长',
167
167
  laterScoreBtn: '迟交扣分',
168
168
  isShowFinishState: true,
@@ -315,8 +315,8 @@
315
315
  },
316
316
  action_lesson029: {
317
317
  actionName: '案例分析',
318
- endTimeBtn1: '分析截止',
319
- endTimeBtn2: '分析时长',
318
+ endTimeBtn1: '案析截止',
319
+ endTimeBtn2: '案析时长',
320
320
  laterScoreBtn: '迟交扣分',
321
321
  isShowFinishState: true,
322
322
  isShowEndTime: true,
@@ -356,7 +356,7 @@ export default {
356
356
  preventPaste(event) {
357
357
  const text = event.clipboardData.getData('text/plain');
358
358
  const text2 = text.replace(/[\r\n]/g, '').replace(/\s*/g, '')
359
- this.editor.chain().focus().insertContentAt(this.selection(), `<p class="text" style="text-align: left;">${text2}</p>`).run()
359
+ this.editor.chain().focus().insertContentAt(this.selection(), text2).run()
360
360
  },
361
361
  // 上传word
362
362
  uploadDoc(e) {
@@ -1089,7 +1089,7 @@ export default {
1089
1089
  }
1090
1090
 
1091
1091
  :deep(p[data-signid="subject"]) {
1092
- padding-bottom: 30px;
1092
+ padding-bottom: 20px;
1093
1093
  }
1094
1094
 
1095
1095
  :deep(.author) {
@@ -1099,7 +1099,9 @@ export default {
1099
1099
  :deep(.text) {
1100
1100
  text-indent: 2em;
1101
1101
  }
1102
-
1102
+ :deep(.title) {
1103
+ padding: 10px 0 2px 0;
1104
+ }
1103
1105
  .read-only-a {
1104
1106
  position: absolute;
1105
1107
  bottom: 36px;
@@ -863,7 +863,7 @@ export default {
863
863
  }
864
864
 
865
865
  .enclosure-list {
866
- margin: 5px 0 0 20px;
866
+ margin: 5px 0 0 2em;
867
867
  height: 22px;
868
868
  line-height: 22px;
869
869
  }
@@ -939,6 +939,10 @@ export default {
939
939
  line-height: 16px;
940
940
  box-sizing: border-box;
941
941
  font-family: Arial;
942
+ -moz-text-align-last: justify;
943
+ text-align-last: justify;
944
+ word-break: break-all;
945
+ text-justify: distribute;
942
946
  }
943
947
 
944
948
  .but-f {
@@ -115,7 +115,7 @@ export default {
115
115
  // 点击回调事件
116
116
  clickItem(item) {
117
117
  this.getPcatalogIds(item.pcatalogId);
118
- item["catalogPIds"] = this.pcatalogIds.split("").reverse().join("");
118
+ item["catalogPIds"] = this.pcatalogIds.split("").join("");
119
119
  this.$emit("clickItem", item);
120
120
  this.pcatalogIds = '';
121
121
  },
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.313',
82
+ version: '1.32.315',
83
83
  install,
84
84
  Calendar,
85
85
  Message,