TeachClass.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <div class="home">
  3. <div class="title">
  4. <Icon type="ios-home-outline" size="22" />
  5. <p><router-link to="/TeacherZone/ZonesHome">工作室首页</router-link></p><span>>评课列表</span>
  6. </div>
  7. <div class="list-info">
  8. <h1 class="list-title">网上评课</h1>
  9. <Tabs class="list" value="name1">
  10. <TabPane label="全部" name="name1">暂无数据</TabPane>
  11. <TabPane label="进行中" name="name2">暂无数据</TabPane>
  12. <TabPane label="未开始" name="name3">暂无数据</TabPane>
  13. <TabPane label="已结束" name="name4">暂无数据</TabPane>
  14. </Tabs>
  15. </div>
  16. <div class="content-info">
  17. <h1 class="list-title">最新评课</h1>
  18. <p>暂无数据</p>
  19. </div>
  20. </div>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. }
  27. },
  28. methods: {
  29. viewDetails() {
  30. this.$router.push({ path: '/TeacherZone/TeachDetails' })
  31. },
  32. chooseTab() {
  33. this.info = this.data;
  34. }
  35. }
  36. }
  37. </script>
  38. <style scoped>
  39. .home {
  40. width: 66%;
  41. height: 500px;
  42. position: absolute;
  43. top: 70%;
  44. left: 53%;
  45. transform: translate(-50%,-50%);
  46. float: left;
  47. display: inline-flex;
  48. }
  49. .title {
  50. font-size: 16px;
  51. text-align: left;
  52. font-weight: 600;
  53. width: 300px;
  54. }
  55. .title p {
  56. display: inline;
  57. }
  58. .list-info {
  59. margin-top: 35px;
  60. width: 50%;
  61. background: #fff;
  62. /* float: left; */
  63. margin-left: -24%;
  64. height: 200px;
  65. border: 1px solid #ededed;
  66. }
  67. .list-title {
  68. float: left;
  69. height: 57px;
  70. line-height: 57px;
  71. font-size: 20px;
  72. margin-left: 10px;
  73. color: #288add;
  74. border-bottom: 1px solid #288add;
  75. }
  76. .list {
  77. margin-top: 10%;
  78. margin-left: 1%;
  79. font-size: 15px;
  80. }
  81. .content-info {
  82. width: 25%;
  83. height: 200px;
  84. border: 1px solid #ededed;
  85. margin-top: 3%;
  86. margin-left: 4%;
  87. background-color: #ffffff;
  88. }
  89. .content-info p {
  90. margin-top: 25%;
  91. font-size: 15px;
  92. margin-left: 10px;
  93. }
  94. </style>