zydx-plus 1.33.321 → 1.33.323

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.321",
3
+ "version": "1.33.323",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -30,7 +30,7 @@
30
30
  <div v-else>
31
31
  <div class="choice-list">
32
32
  <div class="list-title">
33
- <span>试题选项:<em>(必选项)</em></span>
33
+ <span>试题选项:<em>(必填项)</em></span>
34
34
  <button class="but" @click="addOption">增加选项</button>
35
35
  </div>
36
36
  <div class="list-cont">
@@ -143,9 +143,9 @@ export default {
143
143
  let pop = JSON.parse(sessionStorage.getItem('pop'))
144
144
  for(let i = 0; i< pop.length; i++) {
145
145
  if(document.getElementById(pop[i]) === null) continue
146
- document.getElementById(pop[i]).style.zIndex = '100'
146
+ document.getElementById(pop[i]).style.zIndex = '9999'
147
147
  }
148
- document.getElementById(this.id).style.zIndex = '1000'
148
+ document.getElementById(this.id).style.zIndex = '10000'
149
149
  },
150
150
  clean() {
151
151
  let pop = JSON.parse(sessionStorage.getItem('pop'))
@@ -389,7 +389,7 @@ export default {
389
389
  box-shadow: 0 0 3px 2px #ccc;
390
390
  background-color: #fff;
391
391
  border-radius: 3px;
392
- z-index: 999;
392
+ z-index: 9999;
393
393
  animation: linkDown .3s linear forwards;
394
394
  opacity: 0;
395
395
  }
@@ -199,7 +199,7 @@ export default {
199
199
  this.init = true
200
200
  }, 500)
201
201
  },
202
- deep: true,
202
+ deep: true
203
203
  },
204
204
  readOnly: {
205
205
  handler: function (e, oldVal) {
@@ -719,9 +719,18 @@ export default {
719
719
  html += '<p class="source" style="text-align: right;"></p>'
720
720
  this.editor.commands.setContent(html)
721
721
  }
722
- if (v === 'centerH2') this.editor.chain().focus().setFontSize('16px').setBold().setTextAlign('center').run()
723
- if (v === 'leftH2') this.editor.chain().focus().setFontSize('16px').setBold().setTextAlign('left').run()
724
- if (v === 'rightH2') this.editor.chain().focus().setFontSize('16px').setBold().setTextAlign('right').run()
722
+ if (v === 'centerH2') {
723
+ this.editor.chain().focus().setFontSize('16px').setTextAlign('center').run()
724
+ this.editor.chain().focus().setBold().run()
725
+ }
726
+ if (v === 'leftH2') {
727
+ this.editor.chain().focus().setFontSize('16px').setTextAlign('left').run()
728
+ this.editor.chain().focus().setBold().run()
729
+ }
730
+ if (v === 'rightH2') {
731
+ this.editor.chain().focus().setFontSize('16px').setTextAlign('right').run()
732
+ this.editor.chain().focus().setBold().run()
733
+ }
725
734
  },
726
735
  getRandomCode(length) {
727
736
  if (length > 0) {
@@ -14,7 +14,7 @@
14
14
  right: 0;
15
15
  bottom: 0;
16
16
  background-color: rgba(0, 0, 0, 0.2);
17
- z-index: 2000;
17
+ z-index: 20000;
18
18
  display: flex;
19
19
  align-items: center;
20
20
  }
package/src/index.js CHANGED
@@ -81,7 +81,7 @@ function install(app) {
81
81
  }
82
82
 
83
83
  export default {
84
- version: '1.33.321',
84
+ version: '1.33.323',
85
85
  install,
86
86
  Calendar,
87
87
  Message,