zydx-plus 1.32.231 → 1.32.233

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.231",
3
+ "version": "1.32.233",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -26,20 +26,20 @@
26
26
  </td>
27
27
  <td>
28
28
  <div v-if="empty" class="qu-input" :style="{'margin-left': '0px'}">
29
- <span>{{ item.hard }}</span>
29
+ <span>{{ item.mid }}</span>
30
30
  </div>
31
31
  <div v-else class="qu-input" :style="{'margin-left': readOnlys?'0px':'-10px'}">
32
- <span v-if="readOnlys">{{ item.hard === ''? '-': item.hard }}</span>
33
- <input v-else type="number" placeholder="题量" :value="item.hard" @input="totalQuestions($event,2,index)" @keypress="isNumberKey($event,1)" />
32
+ <span v-if="readOnlys">{{ item.mid === ''? '-': item.mid }}</span>
33
+ <input v-else type="number" placeholder="题量" :value="item.mid" @input="totalQuestions($event,3,index)" @keypress="isNumberKey($event,1)" />
34
34
  </div>
35
35
  </td>
36
36
  <td>
37
37
  <div v-if="empty" class="qu-input" :style="{'margin-left': '0px'}">
38
- <span>{{ item.mid }}</span>
38
+ <span>{{ item.hard }}</span>
39
39
  </div>
40
40
  <div v-else class="qu-input" :style="{'margin-left': readOnlys?'0px':'-10px'}">
41
- <span v-if="readOnlys">{{ item.mid === ''? '-': item.mid }}</span>
42
- <input v-else type="number" placeholder="题量" :value="item.mid" @input="totalQuestions($event,3,index)" @keypress="isNumberKey($event,1)" />
41
+ <span v-if="readOnlys">{{ item.hard === ''? '-': item.hard }}</span>
42
+ <input v-else type="number" placeholder="题量" :value="item.hard" @input="totalQuestions($event,2,index)" @keypress="isNumberKey($event,1)" />
43
43
  </div>
44
44
  </td>
45
45
  <td rowspan="2">{{ item.count }}</td>
@@ -61,20 +61,20 @@
61
61
  </td>
62
62
  <td>
63
63
  <div v-if="empty" class="qu-input" :style="{'margin-left': '0px'}">
64
- <span>{{ item.hardScore }}</span>
64
+ <span>{{ item.midScore }}</span>
65
65
  </div>
66
66
  <div v-else class="qu-input" :style="{'margin-left': readOnlys?'0px':'-10px'}">
67
- <span v-if="readOnlys">{{ item.hardScore === ''? '-': item.hardScore }}</span>
68
- <input v-else type="number" placeholder="分值" :value="item.hardScore" @input="totalQuestions($event,5,index)" @keypress="isNumberKey($event,2)" />
67
+ <span v-if="readOnlys">{{ item.midScore === ''? '-': item.midScore }}</span>
68
+ <input v-else type="number" placeholder="分值" :value="item.midScore" @input="totalQuestions($event,6,index)" @keypress="isNumberKey($event,2)" />
69
69
  </div>
70
70
  </td>
71
71
  <td>
72
72
  <div v-if="empty" class="qu-input" :style="{'margin-left': '0px'}">
73
- <span>{{ item.midScore === ''? '-': item.midScore }}</span>
73
+ <span>{{ item.hardScore === ''? '-': item.hardScore }}</span>
74
74
  </div>
75
75
  <div v-else class="qu-input" :style="{'margin-left': readOnlys?'0px':'-10px'}">
76
- <span v-if="readOnlys">{{ item.midScore === ''? '-': item.midScore }}</span>
77
- <input v-else type="number" placeholder="分值" :value="item.midScore" @input="totalQuestions($event,6,index)" @keypress="isNumberKey($event,2)" />
76
+ <span v-if="readOnlys">{{ item.hardScore === ''? '-': item.hardScore }}</span>
77
+ <input v-else type="number" placeholder="分值" :value="item.hardScore" @input="totalQuestions($event,5,index)" @keypress="isNumberKey($event,2)" />
78
78
  </div>
79
79
  </td>
80
80
  </tr>
@@ -82,8 +82,8 @@
82
82
  <tr>
83
83
  <td colspan="2">合计分值</td>
84
84
  <td>{{ easyNum === 0? '-': easyNum }}</td>
85
- <td>{{ hardNum === 0? '-': hardNum }}</td>
86
85
  <td>{{ midNum === 0? '-': midNum }}</td>
86
+ <td>{{ hardNum === 0? '-': hardNum }}</td>
87
87
  <td>试卷总分</td>
88
88
  <td :colspan="readOnlys&&butShows? 1: 2">{{ totalNum === 0? '-': totalNum }}</td>
89
89
  </tr>
@@ -169,6 +169,7 @@ export default defineComponent({
169
169
 
170
170
  .custom-select.readonly .select-css {
171
171
  border: 1px solid transparent;
172
+ box-shadow: none;
172
173
  }
173
174
 
174
175
  .select-css {
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.231',
82
+ version: '1.32.233',
83
83
  install,
84
84
  Calendar,
85
85
  Message,