gxd-uni-library-editx 1.0.8-beta21 → 1.0.8-beta22
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
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
v-if="initStatus"
|
|
5
5
|
class="xd-Layout__animation"
|
|
6
6
|
>
|
|
7
|
-
|
|
8
7
|
<!--topBar-->
|
|
9
8
|
<view class="xd-Layout__top-height"
|
|
10
9
|
:style="{
|
|
11
10
|
height: (topHeight +navBarHeight + statusBarHeight) +'rpx',
|
|
12
|
-
backgroundColor: barBgColor,
|
|
11
|
+
backgroundColor: navigationStyle ? barBgColor: '',
|
|
13
12
|
backgroundImage: getNavBackImage,
|
|
14
13
|
backgroundPosition: 'top center',
|
|
15
14
|
backgroundSize: '100%',
|
|
@@ -287,8 +286,7 @@
|
|
|
287
286
|
observer: null,
|
|
288
287
|
|
|
289
288
|
//底部是否插槽模式
|
|
290
|
-
isFooterSolt: true
|
|
291
|
-
|
|
289
|
+
isFooterSolt: true
|
|
292
290
|
|
|
293
291
|
}
|
|
294
292
|
},
|
package/src/utils/helper.js
CHANGED
|
@@ -833,9 +833,13 @@ class Helpers {
|
|
|
833
833
|
}
|
|
834
834
|
// #endif
|
|
835
835
|
|
|
836
|
+
|
|
837
|
+
|
|
836
838
|
if (isH5) {
|
|
839
|
+
console.warn(`window.location.href: ${JSON.stringify(obj)}`);
|
|
837
840
|
window.location.href = obj['url'];
|
|
838
841
|
} else {
|
|
842
|
+
console.warn(`${type?'navigateTo.jump': 'redirectTo'}: ${JSON.stringify(obj)}`);
|
|
839
843
|
if (type) uni.navigateTo(obj);
|
|
840
844
|
else uni.redirectTo(obj);
|
|
841
845
|
}
|