wangguoyu vor 4 Jahren
Ursprung
Commit
a30a785824

+ 0 - 21
components/footer.vue

@@ -42,28 +42,7 @@
          <div class="link-box">
            <h4>友情链接</h4>
            <div class="link-a-box">
-             <!--<a v-for="(item,index) in requestData" :key="index" @click="goToPage(item)">{{item.name}}</a>-->
              <a :href="item.url" v-for="(item,index) in requestData" :key="index">{{item.name}}</a>
-             <!--     <a>物流软件</a>
-                  <a>免费erp管理系统</a>
-                  <a>物流软件</a>
-                  <a>免费erp管理系统</a>
-                  <a>物流软件</a>
-                  <a>免费erp管理系统</a>
-                  <a>物流软件</a>
-                  <a>免费erp管理系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>
-                  <a>物流软件</a>
-                  <a>新零售系统</a>-->
            </div>
          </div>
          <h5>Copyright © 2019 llisoft.com All rights reserved 大连栋科软件工程有限公司 版权所有 辽ICP备09022904号-19</h5>

+ 7 - 6
components/header.vue

@@ -66,26 +66,27 @@
           },
           {
             content:  '培训平台',
-            keyPath:  '/pages/trainsystem',
+            keyPath:  '/trainsystem',
             children: [],
           },
           {
             content:  '课程开发',
-            keyPath:  '/pages/courseDev',
+            keyPath:  '/courseware',
             children: [],
           },
           {
             content:  '新闻资讯',
-            keyPath:  '/pages/newsInfor',
+            keyPath:  '/news',
             children: [],
           },
           {
             content:  '帮助中心',
-            keyPath:  '/pages/helpCenter',
+            keyPath:  '/helpCenter',
             children: [],
-          }, {
+          },
+          {
             content:  '关于我们',
-            keyPath:  '/pages/aboutUs',
+            keyPath:  '/introduction',
             children: [],
           },
 

+ 37 - 0
pages/courseware/index.vue

@@ -0,0 +1,37 @@
+<template>
+  <div>
+    课程开发
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'examsystem',
+    layout:'templateA',
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>

+ 0 - 0
pages/examsystem.vue → pages/examsystem/index.vue


+ 37 - 0
pages/introduction/index.vue

@@ -0,0 +1,37 @@
+<template>
+  <div>
+    关于我们
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'introduction',
+    layout:'templateA',
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>

+ 45 - 0
pages/news/_id.vue

@@ -0,0 +1,45 @@
+<template>
+
+  <div>
+    <h2>123</h2>
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'news',
+    async asyncData({params,req,query}){
+
+      console.log(params);
+      console.log(req);
+      console.log(query);
+    },
+
+
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>

+ 45 - 0
pages/news/_name.vue

@@ -0,0 +1,45 @@
+<template>
+
+  <div>
+    <h2>12321321321</h2>
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'news',
+    async asyncData({params,req,query}){
+
+      console.log(params);
+      console.log(req);
+      console.log(query);
+    },
+
+
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>

+ 42 - 0
pages/news/index.vue

@@ -0,0 +1,42 @@
+<template>
+
+  <div>
+    <h2>News Index page123</h2>
+    <ul>
+      <!-- vue中简单方式实现路由 -->
+      <li><nuxt-link to="/news">NEWS</nuxt-link></li>
+    </ul>
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'news',
+
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>

+ 37 - 0
pages/trainsystem/index.vue

@@ -0,0 +1,37 @@
+<template>
+  <div>
+    培训平台
+  </div>
+
+
+</template>
+
+<script>
+  export default {
+    name:       'examsystem',
+    layout:'templateA',
+    components: {
+    },
+    props:      {
+    },
+    data() {
+      return {
+
+      };
+    },
+    computed:   {},
+    methods:    {
+
+    },
+    created() {
+
+    },
+    mounted() {
+    },
+    beforeDestroy() {
+    },
+  };
+</script>
+<style>
+
+</style>