dolphin-weex-ui 2.1.0 → 2.1.2
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 +10 -0
- package/dist/index.native.js +13 -4
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +14 -5
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-popup/index.vue +12 -4
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -30718,6 +30718,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
30718
30718
|
//
|
|
30719
30719
|
//
|
|
30720
30720
|
//
|
|
30721
|
+
//
|
|
30721
30722
|
|
|
30722
30723
|
var animation = weex.requireModule('animation');
|
|
30723
30724
|
var platform = weex.config.env.platform;
|
|
@@ -30780,6 +30781,10 @@ exports.default = {
|
|
|
30780
30781
|
borderRadius: {
|
|
30781
30782
|
type: String,
|
|
30782
30783
|
default: '32px'
|
|
30784
|
+
},
|
|
30785
|
+
isOverLayClickHide: {
|
|
30786
|
+
type: Boolean,
|
|
30787
|
+
default: true
|
|
30783
30788
|
}
|
|
30784
30789
|
},
|
|
30785
30790
|
data: function data() {
|
|
@@ -30787,7 +30792,8 @@ exports.default = {
|
|
|
30787
30792
|
haveOverlay: true,
|
|
30788
30793
|
isOverShow: true,
|
|
30789
30794
|
bottomArc: 0,
|
|
30790
|
-
show_: false
|
|
30795
|
+
show_: false,
|
|
30796
|
+
overlayShow: false
|
|
30791
30797
|
};
|
|
30792
30798
|
},
|
|
30793
30799
|
computed: {
|
|
@@ -30876,6 +30882,7 @@ exports.default = {
|
|
|
30876
30882
|
var _this2 = this;
|
|
30877
30883
|
|
|
30878
30884
|
if (val) {
|
|
30885
|
+
this.overlayShow = true;
|
|
30879
30886
|
setTimeout(function () {
|
|
30880
30887
|
_this2.show_ = true;
|
|
30881
30888
|
}, 0);
|
|
@@ -30883,7 +30890,8 @@ exports.default = {
|
|
|
30883
30890
|
this.appearPopup(false, 300, function () {});
|
|
30884
30891
|
setTimeout(function () {
|
|
30885
30892
|
_this2.show_ = false;
|
|
30886
|
-
|
|
30893
|
+
_this2.overlayShow = false;
|
|
30894
|
+
}, 400);
|
|
30887
30895
|
}
|
|
30888
30896
|
},
|
|
30889
30897
|
|
|
@@ -30917,7 +30925,7 @@ exports.default = {
|
|
|
30917
30925
|
dofOverlayBodyClicking: function dofOverlayBodyClicking() {
|
|
30918
30926
|
var _this4 = this;
|
|
30919
30927
|
|
|
30920
|
-
this.isShow && this.appearPopup(false);
|
|
30928
|
+
this.isOverLayClickHide && this.isShow && this.appearPopup(false);
|
|
30921
30929
|
setTimeout(function () {
|
|
30922
30930
|
_this4.$emit('dofPopupOverlayClicked');
|
|
30923
30931
|
}, 100);
|
|
@@ -49534,7 +49542,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
49534
49542
|
}, [_c('dof-overlay', _vm._b({
|
|
49535
49543
|
ref: "overlay",
|
|
49536
49544
|
attrs: {
|
|
49537
|
-
"show": _vm.
|
|
49545
|
+
"show": _vm.overlayShow,
|
|
49546
|
+
"canAutoClose": _vm.isOverLayClickHide
|
|
49538
49547
|
},
|
|
49539
49548
|
on: {
|
|
49540
49549
|
"dofOverlayBodyClicked": _vm.dofOverlayBodyClicking
|