Compare commits
2 Commits
0843a77520
...
7b2f31b8d9
| Author | SHA1 | Date |
|---|---|---|
|
|
7b2f31b8d9 | |
|
|
06ff3180e5 |
|
|
@ -5,6 +5,7 @@
|
|||
>
|
||||
<view id="shareContainer" class="share-container">
|
||||
<!-- 默认场景 -->
|
||||
<div class="loading-mask" v-if="loading"></div>
|
||||
<DefaultSharePage
|
||||
v-if="isDefaultScene"
|
||||
:qrCodeImage="qrCodeImage"
|
||||
|
|
@ -66,6 +67,7 @@ export default {
|
|||
generatedImageUrl: '',
|
||||
userInfo: uni.getStorageSync('User'),
|
||||
sourceVisible: true,
|
||||
loading: true,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -151,7 +153,7 @@ export default {
|
|||
this.sourceVisible = false
|
||||
})
|
||||
uni.hideLoading()
|
||||
|
||||
this.loading = false
|
||||
if (this.isWechat) {
|
||||
// 微信环境:设置图片供长按保存
|
||||
this.generatedImageUrl = dataUrl
|
||||
|
|
@ -184,6 +186,15 @@ export default {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
.loading-mask {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
/* 微信环境全屏覆盖样式 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue