dolphin-weex-ui 2.0.7 → 2.0.8
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/CHANGELOG.md +5 -0
- package/dist/index.native.js +14 -9
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +18 -13
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-overlay/index.vue +5 -5
- package/packages/dof-popup/index.vue +8 -4
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -28218,11 +28218,12 @@ exports.default = {
|
|
|
28218
28218
|
this.show_ = true;
|
|
28219
28219
|
this.hasAnimation && setTimeout(function () {
|
|
28220
28220
|
_this.appearOverlay(true);
|
|
28221
|
-
},
|
|
28221
|
+
}, 20);
|
|
28222
28222
|
} else {
|
|
28223
|
-
this.hasAnimation && this.appearOverlay(false, this.duration, function () {
|
|
28223
|
+
this.hasAnimation && this.appearOverlay(false, this.duration, function () {});
|
|
28224
|
+
setTimeout(function () {
|
|
28224
28225
|
_this.show_ = false;
|
|
28225
|
-
});
|
|
28226
|
+
}, 0);
|
|
28226
28227
|
}
|
|
28227
28228
|
},
|
|
28228
28229
|
|
|
@@ -30438,11 +30439,12 @@ exports.default = {
|
|
|
30438
30439
|
if (val) {
|
|
30439
30440
|
setTimeout(function () {
|
|
30440
30441
|
_this2.show_ = true;
|
|
30441
|
-
},
|
|
30442
|
+
}, 0);
|
|
30442
30443
|
} else {
|
|
30443
|
-
this.appearPopup(false, 300, function () {
|
|
30444
|
+
this.appearPopup(false, 300, function () {});
|
|
30445
|
+
setTimeout(function () {
|
|
30444
30446
|
_this2.show_ = false;
|
|
30445
|
-
});
|
|
30447
|
+
}, 0);
|
|
30446
30448
|
}
|
|
30447
30449
|
},
|
|
30448
30450
|
|
|
@@ -30474,11 +30476,14 @@ exports.default = {
|
|
|
30474
30476
|
this.$refs.overlay.appearOverlay(false);
|
|
30475
30477
|
},
|
|
30476
30478
|
dofOverlayBodyClicking: function dofOverlayBodyClicking() {
|
|
30479
|
+
var _this4 = this;
|
|
30480
|
+
|
|
30477
30481
|
this.isShow && this.appearPopup(false);
|
|
30482
|
+
setTimeout(function () {
|
|
30483
|
+
_this4.$emit('dofPopupOverlayClicked');
|
|
30484
|
+
}, 100);
|
|
30478
30485
|
},
|
|
30479
30486
|
appearPopup: function appearPopup(bool) {
|
|
30480
|
-
var _this4 = this;
|
|
30481
|
-
|
|
30482
30487
|
var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;
|
|
30483
30488
|
var cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};
|
|
30484
30489
|
|
|
@@ -30496,7 +30501,7 @@ exports.default = {
|
|
|
30496
30501
|
}, this.animation), function () {
|
|
30497
30502
|
cb();
|
|
30498
30503
|
if (!bool) {
|
|
30499
|
-
|
|
30504
|
+
// this.$emit('dofPopupOverlayClicked', { pos: this.pos })
|
|
30500
30505
|
}
|
|
30501
30506
|
});
|
|
30502
30507
|
},
|