Bläddra i källkod

'去除测试'

chending1994 5 år sedan
förälder
incheckning
ce85c0d10d
4 ändrade filer med 9 tillägg och 6 borttagningar
  1. 2 0
      components/about/banner.vue
  2. 5 5
      components/home/footer.vue
  3. 2 0
      components/home/header.vue
  4. 0 1
      pages/product/list.vue

+ 2 - 0
components/about/banner.vue

@@ -42,6 +42,8 @@ export default {
   font-family:PingFangSC-Medium,PingFang SC;
   font-weight:500;
   color:#ffffff;
+  background-size: 100% 100%;
+  background-repeat: no-repeat;
 }
 
 </style>

+ 5 - 5
components/home/footer.vue

@@ -17,10 +17,10 @@
 							<nuxt-link class="title" to="/">产品与服务</nuxt-link>
 							<ul class="footer-nav-child">
 								<li>
-									<nuxt-link to="/">产品商城</nuxt-link>
+									<nuxt-link to="/product/list">产品商城</nuxt-link>
 								</li>
 								<li>
-									<nuxt-link to="/">多端课堂</nuxt-link>
+									<nuxt-link to="/product/course">多端课堂</nuxt-link>
 								</li>
 							</ul>
 						</li>
@@ -28,13 +28,13 @@
 							<nuxt-link class="title" to="/">关于我们</nuxt-link>
 							<ul class="footer-nav-child">
 								<li>
-									<nuxt-link to="/">品牌故事</nuxt-link>
+									<nuxt-link to="/about/brand">品牌故事</nuxt-link>
 								</li>
 								<li>
-									<nuxt-link to="/">专家团队</nuxt-link>
+									<nuxt-link to="/about/team">专家团队</nuxt-link>
 								</li>
 								<li>
-									<nuxt-link to="/">联系我们</nuxt-link>
+									<nuxt-link to="/about/contact">联系我们</nuxt-link>
 								</li>
 								<li>
 									<nuxt-link to="/">线下门店</nuxt-link>

+ 2 - 0
components/home/header.vue

@@ -88,6 +88,8 @@ export default {
   mounted() {
     //监听滚动条
     window.addEventListener("scroll", this.handleScroll);
+    console.log(this.$route.parmas);
+    console.log(this.$route.fullPath);
   },
   methods: {
     handleScroll() {

+ 0 - 1
pages/product/list.vue

@@ -65,7 +65,6 @@
        </div>
      </div>
    </div>
-   <h1 class="">ceshi1</h1>
   </section>
 </template>