zydx-plus 1.35.470 → 1.35.471
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
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<span :style="{'font-weight': titleCrude?700:'normal'}">{{ item.order ? item.order : index + 1 }}{{ item.order === ' ' ? '' : '.' }}<em
|
|
10
10
|
v-html="item.title"></em><em v-if="scoreShow">({{ item.score }}分)</em>
|
|
11
11
|
<i class="subject-but" ref="subject">
|
|
12
|
-
<b :style="{right: -item.right + 'px', top: item.top + 'px'}" ref="b">
|
|
12
|
+
<!-- <b :style="{right: -item.right + 'px', top: item.top + 'px'}" ref="b"> -->
|
|
13
13
|
<button class="but" :disabled="it.disabled" v-for="(it) in item.customBut" :class="{'buts-actives theme-text': it.active&&it.butStart,'buts-disabled': it.disabled}" @click="customButTap(it,item)">{{ it.active? it.nameActive: it.name }}</button>
|
|
14
|
-
</b>
|
|
14
|
+
<!-- </b> -->
|
|
15
15
|
</i>
|
|
16
16
|
</span>
|
|
17
17
|
</div>
|
|
@@ -181,9 +181,11 @@ export default {
|
|
|
181
181
|
})
|
|
182
182
|
if( copy.length && this.value.length) {
|
|
183
183
|
copy.forEach((item, index) => {
|
|
184
|
-
if(
|
|
185
|
-
this.value[index].
|
|
186
|
-
|
|
184
|
+
if(this.value[index]){
|
|
185
|
+
if(item.resourceId===this.value[index].resourceId){
|
|
186
|
+
this.value[index].open = item.open
|
|
187
|
+
this.value[index].customBut[0].active = item.open
|
|
188
|
+
}
|
|
187
189
|
}
|
|
188
190
|
})
|
|
189
191
|
}
|