|
@@ -1,18 +1,29 @@
|
|
<template>
|
|
<template>
|
|
<div class="teacherDevelop">
|
|
<div class="teacherDevelop">
|
|
<topBar title="教师发展" detail="资料收集 · 智能表单 · 教师管理 · 会议妙计"></topBar>
|
|
<topBar title="教师发展" detail="资料收集 · 智能表单 · 教师管理 · 会议妙计"></topBar>
|
|
-
|
|
|
|
|
|
+ <div class="cardBox">
|
|
|
|
+ <card v-for="item in cardArray" :key="item.title" :title="item.title" :icon="item.icon" :to="item.to" :type="item.type"></card>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import topBar from './components/topBar'
|
|
import topBar from './components/topBar'
|
|
|
|
+import card from './components/card.vue';
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
topBar,
|
|
topBar,
|
|
|
|
+ card
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ cardArray: [
|
|
|
|
+ { title: '年度考核', icon: require('../../../assets/icon/liyuan/niandukaohe.svg'), type: 1, to: "/course" },
|
|
|
|
+ { title: '个人档案', icon: require('../../../assets/icon/liyuan/gerendangan.svg'), type: 1, to: "/course" },
|
|
|
|
+ { title: '教师画像', icon: require('../../../assets/icon/liyuan/jiaoshihuaxiang.svg'), type: 1, to: "/course" },
|
|
|
|
+ { title: '课堂观察', icon: require('../../../assets/icon/liyuan/ketangguancha.svg'), type: 1, to: "/course" },
|
|
|
|
+ { title: '智能表单', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: "/course" },
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
}
|
|
}
|
|
@@ -26,5 +37,11 @@ export default {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+.cardBox{
|
|
|
|
+ display: grid;
|
|
|
|
+ grid-template-columns: repeat(5, 1fr);
|
|
|
|
+ gap: 20px;
|
|
|
|
+ width: 100%;
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|