Browse Source

02/18 22:52

111
261568008@qq.com 5 years ago
parent
commit
917d03c6d6

BIN
src/assets/images/start/bg.png


BIN
src/assets/images/start/button.png


BIN
src/assets/images/start/card.png


BIN
src/assets/images/start/excellent.png


BIN
src/assets/images/start/good.png


BIN
src/assets/images/start/normal.png


BIN
src/assets/images/start/topBanner.png


BIN
src/assets/images/start/topCard.png


BIN
src/assets/images/start/圆角矩形11.png


+ 186 - 135
src/router/teacherRouter.js

@@ -1,137 +1,188 @@
 let teacherRouter = [
-    {
-        path: '/callnames',
-        name: 'callnames',
-        component: () => import(/* webpackChunkName:'CallNames'*/'@/views/teacher/CallNames.vue'),
-        meta: {
-            descrition: '点名',
-            weight: 1 // 页面权重
-        }
-    }, {
-        path: '/attendance',
-        name: 'attendance',
-        component: () => import(/* webpackChunkName:'Attendance'*/'@/views/teacher/Attendance.vue'),
-        meta: {
-            descrition: '历史考勤统计',
-            weight: 1 // 页面权重
-        } 
-    }, {
-        path: '/bookingset',
-        name: 'bookingset',
-        component: () => import(/* webpackChunkName:'BookingSet'*/'@/views/teacher/BookingSet.vue'),
-        meta: {
-            descrition: '试听课设置',
-            weight: 1 // 页面权重
-        } 
-    }, {
-        path: '/teachingschool',
-        name: 'teachingschool',
-        component: () => import(/* webpackChunkName:'TeachingSchool'*/'@/views/teacher/TeachingSchool.vue'),
-        meta: {
-            descrition: '教学点设置',
-            weight: 1 // 页面权重
-        } 
-    }, {
-        path: '/teachingset',
-        name: 'teachingset',
-        component: () => import(/* webpackChunkName:'TeachingSet'*/'@/views/teacher/TeachingSet.vue'),
-        meta: {
-            descrition: '教学点设置',
-            weight: 2 // 页面权重
-        } 
-    }, {
-        path: '/business',
-        name: 'business',
-        component: () => import(/* webpackChunkName:'Business'*/'@/views/teacher/Business.vue'),
-        meta: {
-            descrition: '业务',
-            weight: 1 // 页面权重
-        } 
-    }, {
-        path: '/approval',
-        name: 'approval',
-        component: () => import(/* webpackChunkName:'Approval'*/'@/views/teacher/Approval.vue'),
-        meta: {
-            descrition: '需我审批',
-            weight: 2 // 页面权重
-        }
-    },
-    {
-        path: '/ccme',
-        name: 'ccme',
-        component: () => import(/* webpackChunkName:'CcMe'*/'@/views/teacher/CcMe.vue'),
-        meta: {
-            descrition: '抄送我的',
-            weight: 3 // 页面权重
-        }
-    },
-    {
-        path: '/istarted',
-        name: 'istarted',
-        component: () => import(/* webpackChunkName:'IStarted'*/'@/views/teacher/IStarted.vue'),
-        meta: {
-            descrition: '我发起的',
-            weight: 4 // 页面权重
-        }
-    },
-    {
-        path: '/starteddetail',
-        name: 'starteddetail',
-        component: () => import(/* webpackChunkName:'StartedDetail'*/'@/views/teacher/StartedDetail.vue'),
-        meta: {
-            descrition: '我发起的',
-            weight: 5 // 页面权重
-        }
-    }, {
-        path: '/periodadjust',
-        name: 'periodadjust',
-        component: () => import(/* webpackChunkName:'PeriodAdjust'*/'@/views/teacher/PeriodAdjust.vue'),
-        meta: {
-            descrition: '课程调整',
-            weight: 6 // 页面权重
-        }
-    },  {
-        path: '/periodchange',
-        name: 'periodchange',
-        component: () => import(/* webpackChunkName:'PeriodChange'*/'@/views/teacher/PeriodChange.vue'),
-        meta: {
-            descrition: '课时交换',
-            weight: 7 // 页面权重
-        }
-    }, {
-        path: '/leave',
-        name: 'leave',
-        component: () => import(/* webpackChunkName:'Leave'*/'@/views/teacher/Leave.vue'),
-        meta: {
-            descrition: '请假',
-            weight: 1 // 页面权重
-        }
-    }, {
-        path: '/vipapply',
-        name: 'vipapply',
-        component: () => import(/* webpackChunkName:'VIPApply'*/'@/views/teacher/VIPApply.vue'),
-        meta: {
-            descrition: 'VIP课程班申请',
-            weight: 1 // 页面权重
-        }
-    }, {
-        path: '/order',
-        name: 'order',
-        component: () => import(/* webpackChunkName:'order'*/'@/views/teacher/order.vue'),
-        meta: {
-            descrition: '订单列表',
-            weight: 1 // 页面权重
-        }
-    }, {
-        path: '/privacy',
-        name: 'privacy',
-        component: () => import(/* webpackChunkName: "privacy" */ '@/views/teacher/privacy'),
-        meta: {
-            descrition: '隐私协议',
-            weight: 8 // 页面权重
-        },
-        
-    }
-]
+  {
+    path: "/callnames",
+    name: "callnames",
+    component: () =>
+      import(/* webpackChunkName:'CallNames'*/ "@/views/teacher/CallNames.vue"),
+    meta: {
+      descrition: "点名",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/attendance",
+    name: "attendance",
+    component: () =>
+      import(
+        /* webpackChunkName:'Attendance'*/ "@/views/teacher/Attendance.vue"
+      ),
+    meta: {
+      descrition: "历史考勤统计",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/bookingset",
+    name: "bookingset",
+    component: () =>
+      import(
+        /* webpackChunkName:'BookingSet'*/ "@/views/teacher/BookingSet.vue"
+      ),
+    meta: {
+      descrition: "试听课设置",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/teachingschool",
+    name: "teachingschool",
+    component: () =>
+      import(
+        /* webpackChunkName:'TeachingSchool'*/ "@/views/teacher/TeachingSchool.vue"
+      ),
+    meta: {
+      descrition: "教学点设置",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/teachingset",
+    name: "teachingset",
+    component: () =>
+      import(
+        /* webpackChunkName:'TeachingSet'*/ "@/views/teacher/TeachingSet.vue"
+      ),
+    meta: {
+      descrition: "教学点设置",
+      weight: 2 // 页面权重
+    }
+  },
+  {
+    path: "/business",
+    name: "business",
+    component: () =>
+      import(/* webpackChunkName:'Business'*/ "@/views/teacher/Business.vue"),
+    meta: {
+      descrition: "业务",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/approval",
+    name: "approval",
+    component: () =>
+      import(/* webpackChunkName:'Approval'*/ "@/views/teacher/Approval.vue"),
+    meta: {
+      descrition: "需我审批",
+      weight: 2 // 页面权重
+    }
+  },
+  {
+    path: "/ccme",
+    name: "ccme",
+    component: () =>
+      import(/* webpackChunkName:'CcMe'*/ "@/views/teacher/CcMe.vue"),
+    meta: {
+      descrition: "抄送我的",
+      weight: 3 // 页面权重
+    }
+  },
+  {
+    path: "/istarted",
+    name: "istarted",
+    component: () =>
+      import(/* webpackChunkName:'IStarted'*/ "@/views/teacher/IStarted.vue"),
+    meta: {
+      descrition: "我发起的",
+      weight: 4 // 页面权重
+    }
+  },
+  {
+    path: "/starteddetail",
+    name: "starteddetail",
+    component: () =>
+      import(
+        /* webpackChunkName:'StartedDetail'*/ "@/views/teacher/StartedDetail.vue"
+      ),
+    meta: {
+      descrition: "我发起的",
+      weight: 5 // 页面权重
+    }
+  },
+  {
+    path: "/periodadjust",
+    name: "periodadjust",
+    component: () =>
+      import(
+        /* webpackChunkName:'PeriodAdjust'*/ "@/views/teacher/PeriodAdjust.vue"
+      ),
+    meta: {
+      descrition: "课程调整",
+      weight: 6 // 页面权重
+    }
+  },
+  {
+    path: "/periodchange",
+    name: "periodchange",
+    component: () =>
+      import(
+        /* webpackChunkName:'PeriodChange'*/ "@/views/teacher/PeriodChange.vue"
+      ),
+    meta: {
+      descrition: "课时交换",
+      weight: 7 // 页面权重
+    }
+  },
+  {
+    path: "/leave",
+    name: "leave",
+    component: () =>
+      import(/* webpackChunkName:'Leave'*/ "@/views/teacher/Leave.vue"),
+    meta: {
+      descrition: "请假",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/vipapply",
+    name: "vipapply",
+    component: () =>
+      import(/* webpackChunkName:'VIPApply'*/ "@/views/teacher/VIPApply.vue"),
+    meta: {
+      descrition: "VIP课程班申请",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/order",
+    name: "order",
+    component: () =>
+      import(/* webpackChunkName:'order'*/ "@/views/teacher/order.vue"),
+    meta: {
+      descrition: "订单列表",
+      weight: 1 // 页面权重
+    }
+  },
+  {
+    path: "/privacy",
+    name: "privacy",
+    component: () =>
+      import(/* webpackChunkName: "privacy" */ "@/views/teacher/privacy"),
+    meta: {
+      descrition: "隐私协议",
+      weight: 8 // 页面权重
+    }
+  },
+  {
+    path: "/studyReport",
+    name: "studyReport",
+    component: () =>
+      import(/* webpackChunkName: "privacy" */ "@/views/teacher/studyReport"),
+    meta: {
+      descrition: "陪练报告",
+      weight: 8 // 页面权重
+    }
+  }
+];
 
-export default teacherRouter
+export default teacherRouter;

+ 43 - 0
src/views/teacher/studyReport.vue

@@ -0,0 +1,43 @@
+<template>
+    <div class='m-container'>
+        <img :src="imgList.topBanner" width="100%" class="topBanner" alt="">
+        <div class="card"></div>
+        <!-- <img :src="imgList.topCard" class='card' alt=""> -->
+    </div>
+</template>
+<script>
+export default {
+    data(){
+        return {
+            imgList:{
+                topBanner:require('@/assets/images/start/topBanner.png'),
+                topCard:require('@/assets/images/start/topCard.png')
+            }
+        }
+    }
+}
+</script>
+<style lang="less">
+    .m-container {
+        background: url('../../assets/images/start/bg.png') no-repeat;
+        background-size: 100% 100%;
+        width: 100%;
+        min-height: 16.97rem;
+        display: flex;
+        flex-direction: column;
+        align-items: center;
+        .topBanner {
+            
+            padding-left: .41rem;
+            padding-right: .16rem;
+            position: relative;
+            top: .1rem
+        }
+        .card {
+             background: url('../../assets/images/start/topCard.png') no-repeat;
+        background-size: 100% 100%;
+            width: 3.38rem;
+            height: 3.28rem;
+        }
+    }
+</style>