zydx-plus 1.35.626 → 1.35.627
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
|
@@ -252,6 +252,9 @@ export default {
|
|
|
252
252
|
</script>
|
|
253
253
|
|
|
254
254
|
<style scoped>
|
|
255
|
+
.choice-list{
|
|
256
|
+
text-indent: 27px;
|
|
257
|
+
}
|
|
255
258
|
.list-cont-input{
|
|
256
259
|
width: 100%;
|
|
257
260
|
height: 30px;
|
|
@@ -263,7 +266,8 @@ export default {
|
|
|
263
266
|
height: 100%;
|
|
264
267
|
border: none;
|
|
265
268
|
outline: none;
|
|
266
|
-
padding: 0 30px 0 10px;
|
|
269
|
+
/* padding: 0 30px 0 10px; */
|
|
270
|
+
padding: 0 30px 0 0;
|
|
267
271
|
box-sizing: border-box;
|
|
268
272
|
}
|
|
269
273
|
.list-cont-input img{
|
|
@@ -102,6 +102,10 @@ export default {
|
|
|
102
102
|
isLook: { // 题库资源中,查看试题true,创建试题false(新版题库类资源-选择题编辑状态时,试题选项只在编辑框中显示此时isLook: false)
|
|
103
103
|
type: Boolean,
|
|
104
104
|
default: true
|
|
105
|
+
},
|
|
106
|
+
single: { // 后排按钮单选
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: false
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
watch: {
|
|
@@ -138,7 +142,18 @@ export default {
|
|
|
138
142
|
},
|
|
139
143
|
customButTap(e,d) {
|
|
140
144
|
if(e.key === 'option') d.open = !d.open
|
|
141
|
-
if(
|
|
145
|
+
if(this.single) {
|
|
146
|
+
if(!e.active) {
|
|
147
|
+
this.value.forEach(x => {
|
|
148
|
+
x.customBut.forEach(y => {
|
|
149
|
+
y.active = false
|
|
150
|
+
})
|
|
151
|
+
})
|
|
152
|
+
}
|
|
153
|
+
e.active = !e.active
|
|
154
|
+
}else {
|
|
155
|
+
if(e.butStart) e.active = !e.active
|
|
156
|
+
}
|
|
142
157
|
if(e.active) {
|
|
143
158
|
if(e.key === 'disabled') {
|
|
144
159
|
this.disabledFun(true)
|
|
@@ -248,7 +263,7 @@ export default {
|
|
|
248
263
|
this.$emit('changeAll', this.value)
|
|
249
264
|
},
|
|
250
265
|
ques(v) {
|
|
251
|
-
return v
|
|
266
|
+
return v?.indexOf('101') > -1
|
|
252
267
|
},
|
|
253
268
|
styleText(v) {
|
|
254
269
|
if (!v || v === 'null') return
|