增加了引导弹窗

This commit is contained in:
GaoHao
2024-12-13 16:03:33 +08:00
parent 9083c9a454
commit 073f8a0797
6 changed files with 60 additions and 10 deletions

View File

@@ -45,6 +45,9 @@
<navigator url="/me/setting/xieyi" open-type="navigate" style="color: #37A6FF;">用户协议</navigator>
</view>
</view>
<!-- #ifdef H5 -->
<div v-if="isWeixin" style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/open_guide.png') no-repeat center bottom / cover;"></div>
<!-- #endif -->
</view>
</template>
@@ -63,6 +66,7 @@
invitation: '',
registerCode: '',
qdCodeion: '',
isWeixin: false,
};
},
onLoad(e) {
@@ -79,6 +83,10 @@
this.registerCode = res.data.value
}
});
let u = navigator.userAgent;
if ( u.toLowerCase().indexOf('micromessenger') !== -1) {
this.isWeixin = true
}
},
methods: {
isShowAgree() {