|
@@ -59,7 +59,7 @@ export default defineComponent({
|
|
|
// ColexiuStudent 唤起学生端
|
|
|
// ColexiuTeacher 唤起老师端
|
|
|
window.location.href = `ColexiuStudent://linkUrl=${iosStr}`
|
|
|
- } else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
+ } else if (browser().huawei || /(Android)/i.test(navigator.userAgent)) {
|
|
|
window.location.href = `colexiustudent://html:8888/SplashActivity?url=${iosStr}`
|
|
|
} else {
|
|
|
Toast('请用手机或移动设备打开')
|
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
) {
|
|
|
window.location.href =
|
|
|
'https://itunes.apple.com/cn/app/id1626971695?mt=8'
|
|
|
- } else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
+ } else if (browser().huawei || /(Android)/i.test(navigator.userAgent)) {
|
|
|
window.location.href = this.androidUrl // 'https://oss.dayaedu.com/appstore/clx-student-domain.apk'
|
|
|
} else {
|
|
|
this.$toast('请用手机或移动设备打开')
|