|
@@ -6,6 +6,8 @@ import QrcodeVue from 'qrcode.vue'
|
|
|
import QrLogin from './components/qr-login'
|
|
|
import TeacherAuth from './components/teacher-auth'
|
|
|
import { state } from '@/state'
|
|
|
+import sutdentDownLoad from '@/common/images/student_download.png'
|
|
|
+import teacherDownLoad from '@/common/images/teacher_download.png'
|
|
|
|
|
|
export const getAssetsHomeFile = (fileName: string) => {
|
|
|
const path = `./images/${fileName}`
|
|
@@ -220,11 +222,22 @@ export default defineComponent({
|
|
|
|
|
|
{this.type === 'register-success' && (
|
|
|
<div class={'text-center pt-4'}>
|
|
|
- <QrcodeVue
|
|
|
+ {/* <QrcodeVue
|
|
|
value={this.qrCodeDownLoad}
|
|
|
size={178}
|
|
|
class="mx-auto shadow-lg w-[178px] h-[178px] align-middle"
|
|
|
- />
|
|
|
+ /> */}
|
|
|
+ {this.registerType === 'teacher' ? (
|
|
|
+ <img
|
|
|
+ src={teacherDownLoad}
|
|
|
+ class="mx-auto shadow-lg w-[178px] h-[178px] align-middle"
|
|
|
+ />
|
|
|
+ ) : (
|
|
|
+ <img
|
|
|
+ src={sutdentDownLoad}
|
|
|
+ class="mx-auto shadow-lg w-[178px] h-[178px] align-middle"
|
|
|
+ />
|
|
|
+ )}
|
|
|
|
|
|
<h3 class="text-lg text=[#1a1a1a] pt-4 pb-2">注册成功</h3>
|
|
|
<div class={[styles.scanTxt, 'leading-6']}>
|