|
@@ -300,7 +300,7 @@ export default {
|
|
|
if (this.$route.query.type === 'pc') {
|
|
|
this.$router.push({ path: '/activity/lottery/pc', query: { token: this.$route.query.token } })
|
|
|
}
|
|
|
- if (this.$userAgent.isAndroid) {
|
|
|
+ if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
|
|
|
this.token = await window.native.getToken();
|
|
|
} else {
|
|
|
this.token = this.$route.query.token;
|
|
@@ -490,7 +490,7 @@ export default {
|
|
|
this.prizeIndex = res.data.luckDrawType === 1 ? 5 : 2;
|
|
|
if (this.num === 0) {
|
|
|
this.showPay = true
|
|
|
- if (this.$userAgent.isAndroid) {
|
|
|
+ if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
|
|
|
window.native.isMembersLotto(true)
|
|
|
}
|
|
|
}
|
|
@@ -532,7 +532,7 @@ export default {
|
|
|
this.showPay = true;
|
|
|
// 解锁
|
|
|
this.isLocking = false;
|
|
|
- if (this.$userAgent.isAndroid) {
|
|
|
+ if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
|
|
|
window.native.isMembersLotto(true)
|
|
|
}
|
|
|
|
|
@@ -580,7 +580,7 @@ export default {
|
|
|
}
|
|
|
if (this.num === 0) {
|
|
|
this.showPay = true;
|
|
|
- if (this.$userAgent.isAndroid) {
|
|
|
+ if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
|
|
|
window.native.isMembersLotto(true)
|
|
|
}
|
|
|
return false;
|