internalheader.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <template>
  2. <div class="internalheader_box">
  3. <div class="u-zy-tit u-zy-tit2 zy-new">
  4. <div class="w1200 clearfix">
  5. <ul class="zy-nav2">
  6. <li><a href="resNationListPage.html">国家基础教育资源</a></li>
  7. <li class="on"><a class="" href="resLocalListPage.html">区域基础教育资源</a></li>
  8. </ul>
  9. <div class="fr ni_g_pr">
  10. <div class="fr search-rect ni_g_z_index2">
  11. <p class="ipt-text">
  12. <input type="text" placeholder="请输入关键字" class="" id="title">
  13. </p>
  14. <input type="button" value="" class="ipt-btn" id="searchBtn">
  15. </div>
  16. <div class="ni_g_sel_plus" style="width:202px;padding-top: 25px;display: none">
  17. <ul class="ni_ul"></ul>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="site-otherNav">
  23. <p class="w1200">
  24. <a href="javascript:titleQuery('resLocalListPage.html');" :class="status">备课</a>
  25. <a href="javascript:changeQuery('examResLocalListPage.html' );" :class="status_one">卷库</a>
  26. <a href="resNewSpecialTopicPage.html">特色<i></i></a>
  27. <a href="microLessonList.html?periodId=cz&amp;subjectId=jcsub02"><i></i>微课</a>
  28. <a href="resLocalListPage.html?fromPage=ZJ"><i></i>职教</a>
  29. <a href="resLocalListPage.html?fromPage=YJ"><i></i>学前</a>
  30. </p>
  31. </div>
  32. </div>
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. status: '',
  39. status_one: '',
  40. }
  41. },
  42. created() {
  43. this.path();
  44. },
  45. methods: {
  46. path() {
  47. let now_url = '';
  48. now_url = this.$route.path;
  49. console.log(this.$route.path)
  50. if (now_url == '/synch') {
  51. this.status = 'on'
  52. } else if (now_url == '/library') {
  53. this.status_one = 'on'
  54. }
  55. },
  56. }
  57. }
  58. </script>
  59. <style scoped>
  60. .internalheader_box {
  61. width:100%;
  62. }
  63. .u-zy-tit2 {
  64. width: 100%;
  65. min-width: 1200px;
  66. background: #26b5ff;
  67. }
  68. .w1200 {
  69. width: 1200px;
  70. margin: 0 auto;
  71. }
  72. .u-zy-tit {
  73. height: 64px;
  74. line-height: 64px;
  75. }
  76. .clearfix {
  77. display: block;
  78. }
  79. ol, ul, li {
  80. list-style: none;
  81. }
  82. .zy-nav2 li {
  83. float: left;
  84. font-size: 14px;
  85. }
  86. .zy-nav2 li a {
  87. color: #fff;
  88. padding: 0 20px;
  89. height: 64px;
  90. line-height: 64px;
  91. display: block;
  92. font-size: 16px;
  93. }
  94. a, a:visited {
  95. text-decoration: none;
  96. }
  97. .zy-nav2 li {
  98. float: left;
  99. font-size: 14px;
  100. }
  101. .ni_g_pr {
  102. position: relative;
  103. }
  104. .fr {
  105. float: right;
  106. }
  107. .u-zy-tit .search-rect {
  108. width: 270px;
  109. height: 38px;
  110. border-radius: 19px;
  111. overflow: hidden;
  112. zoom: 1;
  113. margin-top: 12px;
  114. }
  115. .ni_g_z_index2 {
  116. position: relative;
  117. z-index: 2;
  118. }
  119. .u-zy-tit .ipt-text {
  120. float: left;
  121. width: 164px;
  122. padding: 10px 19px 0 19px;
  123. height: 54px;
  124. background: #fff;
  125. }
  126. .u-zy-tit .ipt-text input {
  127. height: 18px;
  128. line-height: 18px;
  129. border: 0;
  130. float: left;
  131. width: 100%;
  132. }
  133. input, select, textarea {
  134. color: #222;
  135. font-size: 12px;
  136. resize: none;
  137. outline: none;
  138. font-family: "microsoft yahei";
  139. }
  140. .u-zy-tit .ipt-btn {
  141. float: left;
  142. background: url(../../assets/image/resource/search.png) no-repeat 0 0;
  143. width: 68px;
  144. height: 64px;
  145. cursor: pointer;
  146. border: 0;
  147. }
  148. input, select, textarea {
  149. color: #222;
  150. font-size: 12px;
  151. line-height: 140%;
  152. resize: none;
  153. outline: none;
  154. }
  155. .site-otherNav {
  156. height: 40px;
  157. background: #e5e5e5;
  158. }
  159. .site-otherNav p {
  160. padding-left: 158px;
  161. width: 1042px;
  162. }
  163. .site-otherNav a:hover, .site-otherNav a.on {
  164. background: #d2d2d2;
  165. text-decoration: none;
  166. }
  167. .site-otherNav a {
  168. font-size: 14px;
  169. line-height: 40px;
  170. margin: 0 10px;
  171. color: #888;
  172. display: inline-block;
  173. padding: 0 10px;
  174. height: 40px;
  175. }
  176. </style>