|
@@ -8,17 +8,15 @@ import { isWeChat } from "@/helpers/utils";
|
|
|
export default defineComponent({
|
|
|
name: "TheDown",
|
|
|
setup(props, { emit, expose }) {
|
|
|
- const downLoadApp = (downType: string = 'student') => {
|
|
|
- // if (isWeChat()) {
|
|
|
- // alert("请点击右上角,使用浏览器打开");
|
|
|
- // return;
|
|
|
- // }
|
|
|
+ const downLoadApp = (downType: string = "student") => {
|
|
|
+ // if (isWeChat()) {
|
|
|
+ // alert("请点击右上角,使用浏览器打开");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
// 线上地址
|
|
|
// https://itunes.apple.com/cn/app/id1626971149?mt=8 学院
|
|
|
// https://itunes.apple.com/cn/app/id1626971695?mt=8 酷乐秀
|
|
|
- // https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk
|
|
|
- // https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk
|
|
|
|
|
|
// 酷乐秀 安卓 DEV:
|
|
|
// 老师端:https://www.pgyer.com/N2U3https://www.pgyer.com/cooleshow
|
|
@@ -31,10 +29,10 @@ export default defineComponent({
|
|
|
let type = downType;
|
|
|
if (type === "student") {
|
|
|
urlIos = "https://itunes.apple.com/cn/app/id1626971695?mt=8";
|
|
|
- urlAndroid = "https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk";
|
|
|
+ urlAndroid = "https://oss.dayaedu.com/appstore/clx-student-domain.apk";
|
|
|
} else if (type === "teacher") {
|
|
|
urlIos = "https://itunes.apple.com/cn/app/id1626971149?mt=8";
|
|
|
- urlAndroid = "https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk";
|
|
|
+ urlAndroid = "https://oss.dayaedu.com/appstore/clx-teacher-domain.apk";
|
|
|
}
|
|
|
|
|
|
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
|
|
@@ -42,10 +40,10 @@ export default defineComponent({
|
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
window.location.href = urlAndroid;
|
|
|
} else {
|
|
|
- if (type == 'student') {
|
|
|
- window.location.href = 'https://online.colexiu.com/student/#/download'
|
|
|
+ if (type == "student") {
|
|
|
+ window.location.href = "https://online.colexiu.com/student/#/download";
|
|
|
} else {
|
|
|
- window.location.href = 'https://online.colexiu.com/student/#/download?type=teacher'
|
|
|
+ window.location.href = "https://online.colexiu.com/student/#/download?type=teacher";
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -67,21 +65,14 @@ export default defineComponent({
|
|
|
<div class={styles.top}>
|
|
|
<img src={IconTitle} alt="" />
|
|
|
<span class={styles.title}>下载酷乐秀APP 发现更大的世界</span>
|
|
|
- <img
|
|
|
- style={{ transform: "rotateY(180deg)" }}
|
|
|
- src={IconTitle}
|
|
|
- alt=""
|
|
|
- />
|
|
|
+ <img style={{ transform: "rotateY(180deg)" }} src={IconTitle} alt="" />
|
|
|
</div>
|
|
|
<img class={styles.icon} src={IconDown} />
|
|
|
<div class={styles.btns}>
|
|
|
<div class={[styles.btn, styles.down]} onClick={() => downLoadApp()}>
|
|
|
打开APP
|
|
|
</div>
|
|
|
- <div
|
|
|
- class={[styles.btn, styles.text]}
|
|
|
- onClick={() => (show.value = false)}
|
|
|
- >
|
|
|
+ <div class={[styles.btn, styles.text]} onClick={() => (show.value = false)}>
|
|
|
继续浏览
|
|
|
</div>
|
|
|
</div>
|