Commit b3db40d3 authored by zhengke's avatar zhengke

xiugai

parent b5fe1136
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div style="margin-top:-60px"> <div style="margin-top:-60px">
<q-carousel v-model="slide" :autoplay="5000" swipeable animated control-color="white" padding infinite <q-carousel v-model="slide" :autoplay="5000" swipeable animated control-color="white" padding infinite
height="550px" class="bg-primary text-white shadow-1"> height="550px" class="bg-primary text-white shadow-1">
<q-carousel-slide v-for="(x, i) in plugData.Details" :key="i" @click="clickSlideHandler(x.LinkUrl)" :name="i" <q-carousel-slide v-for="(x, i) in plugData.Details" v-if="x.ImageUrl!=''" :key="i" @click="clickSlideHandler(x.LinkUrl)" :name="i"
:img-src="x.ImageUrl" /> :img-src="x.ImageUrl" />
</q-carousel> </q-carousel>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<q-carousel v-model="slide" :autoplay="5000" swipeable animated control-color="white" padding arrows navigation <q-carousel v-model="slide" :autoplay="5000" swipeable animated control-color="white" padding arrows navigation
transition-prev="slide-right" transition-next="slide-left" infinite height="666px" transition-prev="slide-right" transition-next="slide-left" infinite height="666px"
class="bg-primary text-white shadow-1"> class="bg-primary text-white shadow-1">
<q-carousel-slide v-for="(x, i) in plugData.Details" :key="i" @click="clickSlideHandler(x.LinkUrl)" :name="i" <q-carousel-slide v-for="(x, i) in plugData.Details" v-if="x.ImageUrl!=''" :key="i" @click="clickSlideHandler(x.LinkUrl)" :name="i"
:img-src="x.ImageUrl" /> :img-src="x.ImageUrl" />
</q-carousel> </q-carousel>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment