lex 2 rokov pred
rodič
commit
4d2baeacd5

BIN
src/common/images/student_download.png


BIN
src/common/images/teacher_download.png


+ 6 - 5
src/components/albumItem/index.module.less

@@ -2,19 +2,18 @@
   &:hover {
     .hold {
       img {
-        transform:scale(1.1);
+        transform: scale(1.1);
+        transition: all 0.3s ease-in-out;
       }
-
     }
   }
   cursor: pointer;
-  &:nth-child(5n){
+  &:nth-child(5n) {
     margin-right: 0;
   }
   margin-bottom: 28px;
   margin-right: 26px;
 
-
   h2 {
     line-height: 30px;
     font-size: 18px;
@@ -32,6 +31,7 @@
     transition: 2s;
     img {
       width: 100%;
+      transition: all 0.3s ease-in-out;
     }
   }
   span {
@@ -50,7 +50,8 @@
     .itemBottomL {
       margin-right: 21px;
     }
-    .itemBottomL, .itemBottomR{
+    .itemBottomL,
+    .itemBottomR {
       display: flex;
       flex-direction: row;
       justify-content: flex-start;

+ 1 - 2
src/components/albumItem/index.tsx

@@ -54,13 +54,12 @@ export default defineComponent({
             gotoAlbum()
           }}
         >
-          <div   class={classes.hold}>
+          <div class={classes.hold}>
             <img
               src={
                 state.detail.albumCoverUrl ? state.detail.albumCoverUrl : hold
               }
               alt=""
-
             />
           </div>
 

+ 15 - 2
src/views/login/index.tsx

@@ -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']}>