TeacherZones.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <div class="zone">
  3. <div class="banner">
  4. <div class="w1200">
  5. <p>李朝华高中物理名师网络工作室</p>
  6. </div>
  7. </div>
  8. <div class="item-nav">
  9. <div class="w1200">
  10. <ul class="nav-li">
  11. <li><router-link to="/TeacherZone/ZonesHome">首页</router-link></li>
  12. <li><router-link to="/TeacherZone/TeachSource">教学资源</router-link></li>
  13. <li><router-link to="/TeacherZone/TeachResearch">课题研究</router-link></li>
  14. <li><router-link to="/TeacherZone/TeachTopclass">名师课堂</router-link></li>
  15. <li><router-link to="/TeacherZone/TeachClass">在线评课</router-link></li>
  16. <li><router-link to="/TeacherZone/TeachActivies">教研活动</router-link></li>
  17. <li><router-link to="/TeacherZone/TeachTopic">话题研讨</router-link></li>
  18. </ul>
  19. </div>
  20. </div>
  21. <div class="content">
  22. <router-view></router-view>
  23. </div>
  24. </div>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. }
  31. }
  32. }
  33. </script>
  34. <style scoped>
  35. .zone {
  36. width: 100%;
  37. }
  38. .banner {
  39. height: 340px;
  40. background: url('../../assets/image/resource/banner-t.jpg') center center no-repeat;
  41. }
  42. .w1200 {
  43. width: 1200px;
  44. margin: 0 auto;
  45. }
  46. .banner p {
  47. position: absolute;
  48. left: 30px;
  49. top: 15px;
  50. color: #fff;
  51. font-size: 50px;
  52. }
  53. .item-nav {
  54. background: #FDB7AD;
  55. height: 60px;
  56. line-height: 60px;
  57. }
  58. .nav-li {
  59. float: left;
  60. list-style: none;
  61. }
  62. .nav-li li {
  63. float: left;
  64. position: relative;
  65. }
  66. .item-nav a {
  67. font-size: 16px;
  68. line-height: 60px;
  69. height: 60px;
  70. width: 120px;
  71. display: block;
  72. text-align: center;
  73. color: #fff;
  74. }
  75. .content{
  76. width:100%;
  77. min-height:1000px;
  78. background-color:#f9f9f9;
  79. }
  80. </style>