CourseCon.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <div class="teacherDevelop">
  3. <topBar title="课程建设" detail="智能课程管理 · 数字化教学资源 · 协同教研平台"></topBar>
  4. <div class="cardBox">
  5. <card v-for="item in cardArray" :key="item.title" :title="item.title" :icon="item.icon" :to="item.to" :type="item.type"></card>
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. import topBar from './components/topBar'
  11. import card from './components/card.vue';
  12. export default {
  13. components: {
  14. topBar,
  15. card
  16. },
  17. data() {
  18. return {
  19. cardArray: [
  20. { title: '课程管理', icon: require('../../../assets/icon/liyuan/niandukaohe.svg'), type: 1, to: "/course" },
  21. { title: '课程中心', icon: require('../../../assets/icon/liyuan/gerendangan.svg'), type: 2, to: `http://localhost:8082/#/index?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&tType=${this.$route.query.tType}&cid=&screenType=3&gotype=1` },
  22. { title: 'AI应用', icon: require('../../../assets/icon/liyuan/jiaoshihuaxiang.svg'), type: 2, to: `//app.cocorobo.cn/#/?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tab=0` },
  23. { title: '工作空间', icon: require('../../../assets/icon/liyuan/ketangguancha.svg'), type: 1, to:`//app.cocorobo.cn/#/?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tab=1` },
  24. { title: '知识库', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: `//app.cocorobo.cn/#/?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tab=2` },
  25. { title: '协同建构', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: "/synergyCourse" },
  26. ]
  27. }
  28. },
  29. }
  30. </script>
  31. <style scoped>
  32. .teacherDevelop{
  33. width: 100%;
  34. height: 100%;
  35. padding: 40px;
  36. box-sizing: border-box;
  37. }
  38. .cardBox{
  39. display: grid;
  40. grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  41. gap: 20px;
  42. width: 100%;
  43. margin-top: 20px;
  44. }
  45. </style>