tanxue 2 лет назад
Родитель
Сommit
ffec76f161
1 измененных файлов с 50 добавлено и 2 удалено
  1. 50 2
      components/header.vue

+ 50 - 2
components/header.vue

@@ -10,7 +10,7 @@
             mode="horizontal"
             :router="false"
           >
-            <template v-for="(item,index) in headerArr">
+            <template v-for="(item,index) in headerArrPhone">
               <el-submenu :index="`${item.keyPath}`" v-if="item.children && item.children.length > 0"
                           popper-class="mta-menu-two">
                 <template slot="title">{{item.content}}</template>
@@ -106,7 +106,7 @@
       return {
         showBtnFlag:false,
         navClass:'head-nav-up',
-        headerArr:   [
+        headerArrPhone:   [
           {
             content: '首页',
             keyPath: '/',
@@ -128,6 +128,54 @@
           },*/
           {
             content:  '课程资源',
+            keyPath:  'https://p.qiao.baidu.com/cps/chat?siteId=17930048&userId=40179606&siteToken=e767a987c8404575246ab0084fb2c9bd',
+            children: [],
+            hrefFlag:true,
+          },
+          {
+            content:  '课程开发',
+            keyPath:  '/courseware',
+            children: [],
+          },
+          {
+            content:  '客户案例',
+            keyPath:  '/news',
+            children: [],
+          },
+          /*      {
+                  content:  '帮助中心',
+                  keyPath:  '/helpCenter',
+                  children: [],
+                },*/
+          {
+            content:  '关于我们',
+            keyPath:  '/introduction',
+            children: [],
+          },
+
+        ],
+        headerArr:   [
+          {
+            content: '首页',
+            keyPath: '/',
+          },
+          {
+            content:  '考试系统',
+            keyPath:  '/examsystem',
+            children: [],
+          },
+          {
+            content:  '培训系统',
+            keyPath:  '/trainsystem',
+            children: [],
+          },
+          /*   {
+               content:  '课程资源',
+               keyPath:  '/resources',
+               children: [],
+             },*/
+          {
+            content:  '课程资源',
             keyPath:  'https://www.lliedu.com/c/mainPage',
             children: [],
             hrefFlag:true,