dolphin-weex-ui 2.2.8 → 2.2.9
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 +7 -1
- package/dist/index.native.js +3 -3
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +6 -6
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-minibar/index.vue +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -27149,7 +27149,7 @@ exports.default = {
|
|
|
27149
27149
|
statusBarHeight: function statusBarHeight() {
|
|
27150
27150
|
var result = '20';
|
|
27151
27151
|
if (weex.config.env.statusBarHeight) {
|
|
27152
|
-
if (weex.config.env.platform === 'iOS') {
|
|
27152
|
+
if (weex.config.env.platform === 'iOS' || weex.config.env.platform == 'harmony') {
|
|
27153
27153
|
// iOS使用pt为单位
|
|
27154
27154
|
result = weex.config.env.statusBarHeight;
|
|
27155
27155
|
} else {
|
|
@@ -27169,8 +27169,8 @@ exports.default = {
|
|
|
27169
27169
|
// harmony
|
|
27170
27170
|
if (_utils2.default.env.isHarmony()) return _extends({
|
|
27171
27171
|
backgroundColor: backgroundColor,
|
|
27172
|
-
height: '
|
|
27173
|
-
'padding-top': '
|
|
27172
|
+
height: +this.statusBarHeight + 44 + 'wx',
|
|
27173
|
+
'padding-top': this.statusBarHeight + 'wx'
|
|
27174
27174
|
}, barStyle);
|
|
27175
27175
|
|
|
27176
27176
|
if (this.isImmersion) {
|