guhongwei 3 年之前
父節點
當前提交
40409f7ba3
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/components/common/top.vue

+ 5 - 2
src/components/common/top.vue

@@ -34,6 +34,9 @@
                 <li :class="isTab('live') ? 'active' : ''">
                   <a @click="turnTo('live')" target="">直播大厅</a>
                 </li>
+                <li :class="isTab('channel') ? 'active' : ''">
+                  <a @click="turnTo('channel')" target="">科技频道</a>
+                </li>
                 <li :class="isTab('market') ? 'active' : ''">
                   <a @click="turnTo('market')" target="">科技超市</a>
                 </li>
@@ -174,7 +177,7 @@ export default {
         padding: 0;
         li {
           float: left;
-          width: 239px;
+          width: 199px;
           height: 50px;
           line-height: 50px;
           list-style: none;
@@ -198,7 +201,7 @@ export default {
         background-color: #fe950e;
       }
       ul li:last-child {
-        width: 240px;
+        width: 199px;
         border-right: 0;
       }
     }