diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 198cc45c..8be888c9 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -3,26 +3,30 @@
-
- 首页 -
-
-
+
+ 首页 +
+
+
+
课程 -
-
-
+
+ +
+
文章 -
-
-
- 问答 -
-
+
+ +
+
+ 问答 +
+
+
专区 @@ -35,12 +39,16 @@
-
推荐案例 -
-
-
我的关注 -
-
+
+ 推荐案例 +
+
+
+
+ 我的关注 +
+
+
@@ -75,7 +83,7 @@
- 学员 + 学员 @@ -153,6 +161,12 @@ export default { avatarText(){ return userAvatarText(this.userInfo.name); + }, + activeNav(){ + return { + 'top-nav-active-blue': this.textColor=='#000000', + 'top-nav-active-white': this.textColor=='#fff' || this.textColor=='#ffffff', + } } }, data() { @@ -292,6 +306,33 @@ export default { diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 4a0a0834..a3ff5205 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -1,7 +1,7 @@