dolphin-weex-ui 2.2.5 → 2.2.7
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/dist/index.native.js
CHANGED
|
@@ -257,6 +257,11 @@ var Utils = {
|
|
|
257
257
|
|
|
258
258
|
return (typeof window === 'undefined' ? 'undefined' : _typeof2(window)) === 'object' && platform.toLowerCase() === 'web';
|
|
259
259
|
},
|
|
260
|
+
isHarmony: function isHarmony() {
|
|
261
|
+
var platform = weex.config.env.platform;
|
|
262
|
+
|
|
263
|
+
return platform.toLowerCase() === 'harmony';
|
|
264
|
+
},
|
|
260
265
|
isIOS: function isIOS() {
|
|
261
266
|
var platform = weex.config.env.platform;
|
|
262
267
|
|
|
@@ -27136,7 +27141,7 @@ exports.default = {
|
|
|
27136
27141
|
var backgroundColor = backgroundColor_;
|
|
27137
27142
|
var isIPhoneSE = weex.config.env.deviceModel.substr(6) === '12,8';
|
|
27138
27143
|
// harmony
|
|
27139
|
-
if (_utils2.default.env.
|
|
27144
|
+
if (_utils2.default.env.isHarmony()) return _extends({
|
|
27140
27145
|
backgroundColor: backgroundColor,
|
|
27141
27146
|
height: '44wx',
|
|
27142
27147
|
'padding-top': '20wx'
|
|
@@ -43034,7 +43039,7 @@ module.exports = {
|
|
|
43034
43039
|
"alignItems": "center",
|
|
43035
43040
|
"justifyContent": "center"
|
|
43036
43041
|
},
|
|
43037
|
-
"
|
|
43042
|
+
"dofModalWrapper": {
|
|
43038
43043
|
"position": "fixed",
|
|
43039
43044
|
"top": "0",
|
|
43040
43045
|
"bottom": "0",
|
|
@@ -48595,7 +48600,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
48595
48600
|
"hasAnimation": false
|
|
48596
48601
|
}
|
|
48597
48602
|
}) : _vm._e(), (_vm.show) ? _c('div', {
|
|
48598
|
-
staticClass: ["
|
|
48603
|
+
staticClass: ["dofModalWrapper"],
|
|
48599
48604
|
on: {
|
|
48600
48605
|
"click": _vm.layoutClick
|
|
48601
48606
|
}
|