|
@@ -34,6 +34,8 @@ export default defineComponent({
|
|
|
|
|
|
// https://itunes.apple.com/cn/app/id1626971149?mt=8 学院
|
|
|
// https://itunes.apple.com/cn/app/id1626971695?mt=8 酷乐秀
|
|
|
+ // clx-teacher-domain.apk
|
|
|
+ // clx-student-domain.apk
|
|
|
if (
|
|
|
browser().ios ||
|
|
|
/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)
|
|
@@ -48,10 +50,10 @@ export default defineComponent({
|
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
if (this.type == 'student') {
|
|
|
window.location.href =
|
|
|
- 'https://sj.qq.com/myapp/detail.htm?apkName=com.daya.studaya_android'
|
|
|
+ 'https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk'
|
|
|
} else if (this.type == 'teacher') {
|
|
|
window.location.href =
|
|
|
- 'https://sj.qq.com/myapp/detail.htm?apkName=com.daya.studaya_android'
|
|
|
+ 'https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk'
|
|
|
}
|
|
|
} else {
|
|
|
this.$toast('请用手机或移动设备打开')
|