zydx-plus 1.35.606 → 1.35.607
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
|
@@ -198,6 +198,7 @@ export default {
|
|
|
198
198
|
popArr = (pop === null)? [] : JSON.parse(pop)
|
|
199
199
|
popArr.push(this.id)
|
|
200
200
|
sessionStorage.setItem('pop', JSON.stringify(popArr))
|
|
201
|
+
document.getElementById(this.id).classList.add('zIndex10001')
|
|
201
202
|
// 监听滚动
|
|
202
203
|
window.onscroll = () => {
|
|
203
204
|
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|
@@ -219,7 +220,6 @@ export default {
|
|
|
219
220
|
document.onmouseup = () => {
|
|
220
221
|
this.isMove = false;
|
|
221
222
|
}
|
|
222
|
-
this.dragTap()
|
|
223
223
|
},
|
|
224
224
|
computed: {
|
|
225
225
|
position() {
|
|
@@ -274,12 +274,11 @@ export default {
|
|
|
274
274
|
for(let i = 0; i< pop.length; i++) {
|
|
275
275
|
if(document.getElementById(pop[i]) === null) continue
|
|
276
276
|
document.getElementById(pop[i]).classList.remove('zIndex10000')
|
|
277
|
-
|
|
277
|
+
document.getElementById(pop[i]).classList.remove('zIndex10001')
|
|
278
278
|
document.getElementById(pop[i]).classList.add('zIndex9999')
|
|
279
279
|
// 获取所有具有指定class的元素并删除它们
|
|
280
280
|
}
|
|
281
281
|
if(document.getElementById(this.id)){
|
|
282
|
-
// document.getElementById(this.id).style.zIndex = '10000'
|
|
283
282
|
document.getElementById(this.id).classList.remove('zIndex9999')
|
|
284
283
|
document.getElementById(this.id).classList.add('zIndex10000')
|
|
285
284
|
}
|
|
@@ -634,6 +633,9 @@ export default {
|
|
|
634
633
|
.zIndex10000{
|
|
635
634
|
z-index: 10000;
|
|
636
635
|
}
|
|
636
|
+
.zIndex10001{
|
|
637
|
+
z-index: 10001;
|
|
638
|
+
}
|
|
637
639
|
.zIndexSlot{
|
|
638
640
|
position: absolute;
|
|
639
641
|
top: 0;
|