dolphin-weex-ui 2.2.18 → 2.2.19
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 +8 -3
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +9 -4
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-popup/index.vue +8 -3
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -31075,12 +31075,14 @@ exports.default = {
|
|
|
31075
31075
|
isOverShow: true,
|
|
31076
31076
|
bottomArc: 0,
|
|
31077
31077
|
show_: false,
|
|
31078
|
-
overlayShow: false
|
|
31078
|
+
overlayShow: false,
|
|
31079
|
+
sageHeight: 68
|
|
31079
31080
|
};
|
|
31080
31081
|
},
|
|
31081
31082
|
computed: {
|
|
31082
31083
|
isipx: function isipx() {
|
|
31083
31084
|
if (this.bottomArc) return true;
|
|
31085
|
+
if (weex && weex.config.env.platform == 'harmony' && weex.config.env.safeAreaBottomHeight) return true;
|
|
31084
31086
|
return weex && (weex.config.env.deviceModel === 'iPhone10,3' || weex.config.env.deviceModel === 'iPhone10,6' || // iphoneX
|
|
31085
31087
|
weex.config.env.deviceModel === 'iPhone11,8' || // iPhone XR
|
|
31086
31088
|
weex.config.env.deviceModel === 'iPhone11,2' || // iPhone XS
|
|
@@ -31102,7 +31104,7 @@ exports.default = {
|
|
|
31102
31104
|
pos = this.pos;
|
|
31103
31105
|
|
|
31104
31106
|
height = Number(height);
|
|
31105
|
-
height = isipx && pos == 'bottom' ? height +
|
|
31107
|
+
height = isipx && pos == 'bottom' ? height + this.sageHeight : height;
|
|
31106
31108
|
return height;
|
|
31107
31109
|
},
|
|
31108
31110
|
transformValue: function transformValue() {
|
|
@@ -31186,6 +31188,9 @@ exports.default = {
|
|
|
31186
31188
|
_dolphinNativeBridge.Bridge.getAllBarHeight().then(function (res) {
|
|
31187
31189
|
_this3.bottomArc = res.bottomArc || 0;
|
|
31188
31190
|
});
|
|
31191
|
+
if (weex && weex.config.env.platform == 'harmony' && weex.config.env.safeAreaBottomHeight) {
|
|
31192
|
+
this.sageHeight = weex.config.env.safeAreaBottomHeight;
|
|
31193
|
+
}
|
|
31189
31194
|
},
|
|
31190
31195
|
|
|
31191
31196
|
methods: {
|
|
@@ -50056,7 +50061,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
50056
50061
|
}, [_vm._v(_vm._s(btn.hasOwnProperty('text') ? btn.text : btn))])
|
|
50057
50062
|
})) : _vm._e(), _c('div', {
|
|
50058
50063
|
style: {
|
|
50059
|
-
height: _vm.show && _vm.isipx ? '
|
|
50064
|
+
height: _vm.show && _vm.isipx ? _vm.sageHeight + 'px' : '0px',
|
|
50060
50065
|
backgroundColor: _vm._isColmo ? '#151617' : _vm.padStyle.backgroundColor
|
|
50061
50066
|
}
|
|
50062
50067
|
})], 2) : _vm._e()])
|