gxd-uni-library-editx 1.0.27 → 1.0.28
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,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="xd-Layout" id="xd-Layout">
|
|
3
3
|
<view
|
|
4
|
-
v-if="initStatus"
|
|
4
|
+
v-if="initStatus && websiteStatus === true"
|
|
5
5
|
class="xd-Layout__animation"
|
|
6
6
|
>
|
|
7
7
|
<!--topBar-->
|
|
@@ -114,6 +114,9 @@
|
|
|
114
114
|
<!--tabbar-->
|
|
115
115
|
<view class="xd-Layout__footer-height" :style="{height: (bottomHeight + (isFooterSolt ? footerHeight: 110)) + 'rpx' }"></view>
|
|
116
116
|
</view>
|
|
117
|
+
<view v-if="websiteStatus === false" class="website-disable">
|
|
118
|
+
<image src="//img.jufubao.cn/component/disabel_phone.png" mode="widthFix"></image>
|
|
119
|
+
</view>
|
|
117
120
|
<xd-confirm v-if="getLayoutInfo" :get-layout-info="getLayoutInfo"></xd-confirm>
|
|
118
121
|
<xd-loading v-if="getLayoutInfo" :get-layout-info="getLayoutInfo"></xd-loading>
|
|
119
122
|
<xd-tips v-if="getLayoutInfo" :get-layout-info="getLayoutInfo"></xd-tips>
|
|
@@ -269,6 +272,7 @@
|
|
|
269
272
|
open: false,
|
|
270
273
|
layoutLoading: false,
|
|
271
274
|
startTime: new Date().getTime(),
|
|
275
|
+
websiteStatus: null,
|
|
272
276
|
|
|
273
277
|
startAnimation : false, //开始动画效果
|
|
274
278
|
doneAnimation: false, //完成动画效果
|
|
@@ -328,7 +332,8 @@
|
|
|
328
332
|
'errorLogs',
|
|
329
333
|
'logs',
|
|
330
334
|
'networkStatus',
|
|
331
|
-
'brandInfo'
|
|
335
|
+
'brandInfo',
|
|
336
|
+
'siteInfo'
|
|
332
337
|
]),
|
|
333
338
|
|
|
334
339
|
isPreviewShowBar(){
|
|
@@ -510,7 +515,7 @@
|
|
|
510
515
|
this.wiewType = this.$configProject.isPreview;
|
|
511
516
|
this.systemInfoSyn = uni.getSystemInfoSync();
|
|
512
517
|
this.gWindowHeight = uni.getSystemInfoSync().windowHeight;
|
|
513
|
-
|
|
518
|
+
this.websiteStatus = this.siteInfo && this.siteInfo.site && this.siteInfo.site.status === 'Y'
|
|
514
519
|
|
|
515
520
|
// #ifdef H5
|
|
516
521
|
if(!uni.getStorageSync('xd-max-window-height')) {
|
|
@@ -906,4 +911,16 @@
|
|
|
906
911
|
|
|
907
912
|
}
|
|
908
913
|
}
|
|
914
|
+
|
|
915
|
+
.website-disable {
|
|
916
|
+
width: 100%;
|
|
917
|
+
min-height: calc(100vh - var(--window-top));
|
|
918
|
+
display: flex;
|
|
919
|
+
justify-content: center;
|
|
920
|
+
align-items: center;
|
|
921
|
+
|
|
922
|
+
& > image {
|
|
923
|
+
max-width: 70vw;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
909
926
|
</style>
|