zydx-plus 1.32.274 → 1.32.276

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.274",
3
+ "version": "1.32.276",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -2,7 +2,7 @@
2
2
  <div class="question">
3
3
  <table border="0" cellspacing="0" cellpadding="0">
4
4
  <tr>
5
- <th>题序</th>
5
+ <th v-if="serial">题序</th>
6
6
  <th>题型</th>
7
7
  <th>易</th>
8
8
  <th>中</th>
@@ -13,7 +13,7 @@
13
13
  </tr>
14
14
  <tbody v-for="(item,index) in question" :key="index">
15
15
  <tr>
16
- <td rowspan="2">{{ empty ? '-' : toChineseNum(index + 1) }}</td>
16
+ <td rowspan="2" v-if="serial">{{ empty ? '-' : toChineseNum(index + 1) }}</td>
17
17
  <td rowspan="2">{{ item.quesName }}</td>
18
18
  <td>
19
19
  <div v-if="empty" class="qu-input" :style="{'margin-left': '0px'}">
@@ -101,7 +101,7 @@
101
101
  </tr>
102
102
  </tbody>
103
103
  <tr>
104
- <td colspan="2">合计分值</td>
104
+ <td :colspan="serial?2:1">合计分值</td>
105
105
  <td>{{ easyNum === 0 ? '-' : easyNum }}</td>
106
106
  <td>{{ midNum === 0 ? '-' : midNum }}</td>
107
107
  <td>{{ hardNum === 0 ? '-' : hardNum }}</td>
@@ -144,6 +144,10 @@ export default {
144
144
  algorithm: {
145
145
  type: Number,
146
146
  default: 1
147
+ },
148
+ serial: {
149
+ type: Boolean,
150
+ default: true
147
151
  }
148
152
  },
149
153
  watch: {
@@ -54,6 +54,9 @@
54
54
  <button class="but" :class="{'buts-actives': item.review}"
55
55
  @click="review(index)">{{ item.review ? reasoningBut[1].startName : reasoningBut[1].endName }}</button>
56
56
  </b>
57
+ <b :style="{right: -item.right + 'px', top: item.top + 'px'}" v-if="customBut.length > 0" ref="b">
58
+ <button class="but" v-for="(item,index) in customBut" :class="{'buts-actives': item.active}" @click="item.onClick(item)">{{ item.name }}</button>
59
+ </b>
57
60
  </i>
58
61
  </span>
59
62
  </div>
@@ -217,6 +220,10 @@ export default {
217
220
  nothing: {
218
221
  type: Boolean,
219
222
  default: false
223
+ },
224
+ customBut:{
225
+ type: Array,
226
+ default: []
220
227
  }
221
228
  },
222
229
  watch: {
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.274',
82
+ version: '1.32.276',
83
83
  install,
84
84
  Calendar,
85
85
  Message,