Authored by TaoHuang

fix

... ... @@ -128,7 +128,7 @@ export default function openApp() {
let appPath = getAppPath();
toAppPage(appPath, false);
}, 1000);
}, 3000);
}
}
... ...
... ... @@ -29,7 +29,7 @@ const clientDownloadMixin = {
isMiniapp() {
/* eslint-disable-next-line */
return window.__wxjs_environment === 'miniprogram' && typeof wx !== 'undefined' && wx.miniProgram
return this.$store.$context.env.isMiniApp;
},
sleep(ns) {
... ...
... ... @@ -24,7 +24,7 @@ export default {
},
methods: {
toDownloadPage() {
if (this.$yoho.isAndroid & (this.$yoho.isWechat || this.$yoho.isMobileQQ)) {
if (this.$yoho.isAndroid && (this.$yoho.isWechat || this.$yoho.isMobileQQ)) {
this.openByBrowser();
} else {
this.$openApp();
... ...
... ... @@ -42,7 +42,7 @@ export default {
checkForDownload();
},
openApp() {
if (this.$yoho.isAndroid & (this.$yoho.isWechat || this.$yoho.isMobileQQ)) {
if (this.$yoho.isAndroid && (this.$yoho.isWechat || this.$yoho.isMobileQQ)) {
this.openByBrowser();
} else {
this.$openApp();
... ...
<template>
<div class="bg">
<div class="bg" v-if="image">
<div class="guide"></div>
<a class="btn" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445"></a>
</div>
... ... @@ -15,6 +15,11 @@ export default {
this.$openApp();
});
}
},
computed: {
image() {
return this.$yoho.isWechat || this.$yoho.isMobileQQ;
}
}
};
</script>
... ...
{
"name": "yoho-community-web",
"version": "6.9.10-beta5",
"version": "6.9.10-beta6",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...