Browse Source

修改图片跳转 测试一版

xusonglin 5 years ago
parent
commit
00c0025232
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/index.vue

+ 3 - 1
src/views/index.vue

@@ -12,7 +12,9 @@
           <div class="swiper-wrapper">
 
             <div class="swiper-slide" v-for="(item, index) in picOne">
-              <img :src="item.url">
+              <a :href="item.goPageUrl">
+                <img :src="item.url">
+              </a>
             </div>
           </div>