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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # 升级日志
2
2
 
3
+ ## 2.1.2
4
+
5
+ - [ ! ] 优化dof-overlay组件点击蒙层自动关闭问题
6
+ - [ ! ] date: 2024/04/23
7
+
8
+ ## 2.1.1
9
+
10
+ - [ ! ] 优化dof-popup组件点击蒙层自动关闭问题
11
+ - [ ! ] date: 2024/04/22
12
+
3
13
  ## 2.1.0
4
14
 
5
15
  - [ ! ] 优化dof-slider动效卡顿问题
@@ -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
- }, 0);
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.show
49545
+ "show": _vm.overlayShow,
49546
+ "canAutoClose": _vm.isOverLayClickHide
49538
49547
  },
49539
49548
  on: {
49540
49549
  "dofOverlayBodyClicked": _vm.dofOverlayBodyClicking