dolphin-weex-ui 2.2.4 → 2.2.6

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.4",
3
+ "version": "2.2.6",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -253,6 +253,15 @@ export default {
253
253
  const { barStyle, backgroundColor_ } = this
254
254
  const backgroundColor = backgroundColor_
255
255
  let isIPhoneSE = weex.config.env.deviceModel.substr(6) === '12,8'
256
+ // harmony
257
+ if (Utils.env.isWeb())
258
+ return {
259
+ backgroundColor,
260
+ height: '44wx',
261
+ 'padding-top': '20wx',
262
+ ...barStyle
263
+ }
264
+
256
265
  if (this.isImmersion) {
257
266
  // 全屏显示,weex自行处理状态栏高度
258
267
  result = {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="container">
3
3
  <dof-overlay :show="show" :hasAnimation="false" v-if="show"></dof-overlay>
4
- <div v-if="show" class="wrapper" @click="layoutClick">
4
+ <div v-if="show" class="dofModalWrapper" @click="layoutClick">
5
5
  <div class="modal-box" @click="() => {}" :style="_modalStyle">
6
6
  <div class="modal-content" :style="modalContentStyle">
7
7
  <slot name="title">
@@ -90,7 +90,7 @@
90
90
  justify-content: center;
91
91
  align-items: center;
92
92
  } */
93
- .wrapper {
93
+ .dofModalWrapper {
94
94
  position: fixed;
95
95
  top: 0px;
96
96
  bottom: 0px;