dolphin-weex-ui 2.2.8 → 2.2.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dolphin-weex-ui",
3
- "version": "2.2.8",
3
+ "version": "2.2.10",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -238,7 +238,7 @@ export default {
238
238
  statusBarHeight: function() {
239
239
  let result = '20'
240
240
  if (weex.config.env.statusBarHeight) {
241
- if (weex.config.env.platform === 'iOS') {
241
+ if (weex.config.env.platform === 'iOS' || weex.config.env.platform == 'harmony') {
242
242
  // iOS使用pt为单位
243
243
  result = weex.config.env.statusBarHeight
244
244
  } else {
@@ -257,8 +257,8 @@ export default {
257
257
  if (Utils.env.isHarmony())
258
258
  return {
259
259
  backgroundColor,
260
- height: '44wx',
261
- 'padding-top': '20wx',
260
+ height: +this.statusBarHeight + 44 + 'wx',
261
+ 'padding-top': this.statusBarHeight + 'wx',
262
262
  ...barStyle
263
263
  }
264
264
 
@@ -99,6 +99,7 @@
99
99
  /* width: 750px; */
100
100
  align-items: center;
101
101
  justify-content: center;
102
+ z-index: 1000;
102
103
  }
103
104
  .modal-box {
104
105
  /* background-color: #ffffff; */
@@ -12,6 +12,7 @@
12
12
  top: 0;
13
13
  bottom: 0;
14
14
  right: 0;
15
+ z-index: 1000;
15
16
  }
16
17
  </style>
17
18