Bläddra i källkod

Merge branch 'master' of http://git.cc-lotus.info/smart-jobs/web-center

lrf402788946 5 år sedan
förälder
incheckning
65a4f7caa1
2 ändrade filer med 20 tillägg och 4 borttagningar
  1. 2 2
      src/layout/index/news.vue
  2. 18 2
      src/views/detail.vue

+ 2 - 2
src/layout/index/news.vue

@@ -17,7 +17,7 @@
             <el-carousel :interval="5000" arrow="always" ref="shubiao">
               <el-carousel-item v-for="(item, index) in infoList" :key="index" :name="`${index}`">
                 <!-- @click="$router.push({ path: `/info/detail?id=${item.id}` })" -->
-                <el-link :underline="false" @click="$router.push({ path: `/info/detail?id=${item.id}` })">
+                <el-link :underline="false" @click="$router.push({ path: `/detail?id=${item.id}` })">
                   <el-image style="width:369px;height:242px;" :src="item.pic"></el-image>
                   <el-col :span="24" class="cont">
                     <p>{{ item.title }}</p>
@@ -34,7 +34,7 @@
               :class="newListActive(item)"
               v-for="(item, index) in infoList"
               :key="index"
-              @click="$router.push({ path: `/info/detail?id=${tag.id}` })"
+              @click="$router.push({ path: `/detail?id=${tag.id}` })"
             >
               <span class="shu"></span>
               <!-- @click="$router.push({ path: `/info/detail?id=${tag.id}` })" -->

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 18 - 2
src/views/detail.vue