소스 검색

默认头像

liushengqiang 2 년 전
부모
커밋
4b93d17554
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/schedule-manage/detial/item.tsx
  2. 3 0
      src/views/schedule-manage/index.module.less

+ 2 - 2
src/views/schedule-manage/detial/item.tsx

@@ -1,7 +1,7 @@
 import { PropType, defineComponent, toRefs } from 'vue';
 import styles from './index.module.less';
 import icontimer from '@/common/images/icon-timer.png';
-import iconTeacher from '@/common/images/icon-teacher-default.png';
+import icon_student_man from '@/common/images/icon-student-default.png';
 import iconIm from '@/common/images/icon-im.png';
 import { Cell, Image } from 'vant';
 import icon_cancel from './icons/icon-cancel.png';
@@ -43,7 +43,7 @@ export default defineComponent({
             {{
               icon: () => (
                 <Image
-                  src={item.value.studentAvatar || iconTeacher}
+                  src={item.value.studentAvatar || icon_student_man}
                   class={styles.iconTeacher}
                   fit="cover"
                   round

+ 3 - 0
src/views/schedule-manage/index.module.less

@@ -85,6 +85,9 @@
       &.success {
         color: var(--van-primary-color);
       }
+      &.error {
+        color: #FF5A56;
+      }
     }
   }