checkin.js 1.81 KB
/*
 * @Date: 2025-03-21 13:28:30
 * @LastEditors: hookehuyr hookehuyr@gmail.com
 * @LastEditTime: 2025-06-06 15:45:36
 * @FilePath: /mlaj/src/router/checkin.js
 * @Description: 文件描述
 */
export default [
  {
    path: '/checkin/reading',
    name: 'ReadingCheckIn',
    component: () => import('@/views/checkin/ReadingCheckInPage.vue'),
    meta: {
      title: '阅读打卡',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/exercise',
    name: 'ExerciseCheckIn',
    component: () => import('@/views/checkin/ExerciseCheckInPage.vue'),
    meta: {
      title: '运动打卡',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/study',
    name: 'StudyCheckIn',
    component: () => import('@/views/checkin/StudyCheckInPage.vue'),
    meta: {
      title: '学习打卡',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/writing',
    name: 'WritingCheckIn',
    component: () => import('@/views/checkin/WritingCheckInPage.vue'),
    meta: {
      title: '反思打卡',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/index',
    name: 'IndexCheckIn',
    component: () => import('@/views/checkin/IndexCheckInPage.vue'),
    meta: {
      title: '',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/image',
    name: 'ImageCheckIn',
    component: () => import('@/views/checkin/upload/image.vue'),
    meta: {
      title: '打卡图片',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/video',
    name: 'VideoCheckIn',
    component: () => import('@root/src/views/checkin/upload/video.vue'),
    meta: {
      title: '打卡视频',
      requiresAuth: true
    }
  },
  {
    path: '/checkin/audio',
    name: 'AudioCheckIn',
    component: () => import('@root/src/views/checkin/upload/audio.vue'),
    meta: {
      title: '打卡音频',
      requiresAuth: true
    }
  },
]