|
@@ -4,9 +4,9 @@ import { useRoute } from 'vue-router'
|
|
|
import styles from './index.module.less'
|
|
|
import wxBg from './images/wx_bg.png'
|
|
|
import { browser } from '@/helpers/utils'
|
|
|
-import student from './images/student_bg.png'
|
|
|
-import teacher from './images/teacher_bg.png'
|
|
|
-import manage from './images/manage_bg.png'
|
|
|
+import student from './images/student-center.png'
|
|
|
+import teacher from './images/teacher-center.png'
|
|
|
+import manage from './images/manage-center.png'
|
|
|
import OSticky from '@/components/o-sticky'
|
|
|
|
|
|
// 唤起前缀
|
|
@@ -79,24 +79,16 @@ export default defineComponent({
|
|
|
document.title = state.buttonText
|
|
|
})
|
|
|
return () => (
|
|
|
- <div
|
|
|
- class={[
|
|
|
- styles.student,
|
|
|
- state.type === 'teacher' && styles.teacher,
|
|
|
- state.type === 'manage' && styles.manage
|
|
|
- ]}
|
|
|
- >
|
|
|
- {/* {state.type !== 'teacher' && state.type !== 'manage' && <Image src={student} />}
|
|
|
+ <div class={[styles.downloadContainer]}>
|
|
|
+ {state.type !== 'teacher' && state.type !== 'manage' && <Image src={student} />}
|
|
|
{state.type === 'teacher' && <Image src={teacher} />}
|
|
|
- {state.type === 'manage' && <Image src={manage} />} */}
|
|
|
+ {state.type === 'manage' && <Image src={manage} />}
|
|
|
|
|
|
- <OSticky background="white" position="bottom">
|
|
|
- <div class={[styles.buttonGroup, 'btnGroup']}>
|
|
|
- <Button round size="large" color="#FF8057" class={styles.btn} onClick={onDownload}>
|
|
|
- {state.buttonText}
|
|
|
- </Button>
|
|
|
- </div>
|
|
|
- </OSticky>
|
|
|
+ <div class={styles.buttonGroup}>
|
|
|
+ <Button round size="large" color="#FF8057" class={styles.btn} onClick={onDownload}>
|
|
|
+ {state.buttonText}
|
|
|
+ </Button>
|
|
|
+ </div>
|
|
|
|
|
|
{state.wxStatus && (
|
|
|
<div
|