fubin 1 rok temu
rodzic
commit
36802757bc
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      src/view/single-page/home/home.vue

+ 2 - 3
src/view/single-page/home/home.vue

@@ -321,9 +321,8 @@
         <Card class="card card-upcoming" style="margin-top: 8px;height: 367px" @contextmenu.native.prevent>
         <Card class="card card-upcoming" style="margin-top: 8px;height: 367px" @contextmenu.native.prevent>
           <Carousel autoplay :height="350" :autoplay-speed="5000" :radius-dot="true" loop>
           <Carousel autoplay :height="350" :autoplay-speed="5000" :radius-dot="true" loop>
             <CarouselItem v-for="(item, index) in dataCarouselItems">
             <CarouselItem v-for="(item, index) in dataCarouselItems">
-              <a @click="showActivity(item)">
-                <img :src="$config.imgUrl + item.annexPaths[0].url" style="width: 100%;height: 100%;">
-              </a>
+              <a><img :src="$config.imgUrl + item.annexPaths[0].url" style="width: 100%;height: 100%;"
+                      @click="showActivity(item)"></a>
             </CarouselItem>
             </CarouselItem>
           </Carousel>
           </Carousel>
         </Card>
         </Card>