Commit 948fdf26 authored by zhengke's avatar zhengke

xiugai

parent ba0e43d0
......@@ -6,7 +6,7 @@
<p class="title-teaser">{{plugData.SubTitle}}
</p>
<ul class="pd-list">
<li class="pd-box" v-for="(item,index) in plugData.Details" :key="index" v-if="item.TripImageUrl">
<li class="pd-box" v-for="(item,index) in plugData.Details" :key="index" v-if="item.TripImageUrl||item.ImageUrl">
<a @click="OpenNewUrl(item.LinkUrl)" :title="item.TripTitle" class="pd-link">
<div class="pd-img"
:style="{backgroundImage:`url('${(item.TripImageUrl&&item.TripImageUrl!=''?item.TripImageUrl:item.ImageUrl)}')`}">
......
......@@ -6,7 +6,7 @@
<q-carousel v-model="slide" transition-prev="slide-right" transition-next="slide-left" swipeable animated
control-color="primary" navigation padding arrows height="100%"
class="my-bg-grey text-black shadow-1 rounded-borders no-shadow">
<template v-for="(x, i) in showImages">
<template v-for="(x, i) in showImages" v-if="x.length>0">
<q-carousel-slide :name="i" :key="i" class="column no-wrap">
<div class="row fit justify-start q-col-gutter no-wrap" :class="{'q-gutter-lg':x.length>1}">
<div style="flex:1" v-for="(y, yi) in x" :key="yi" v-if="y.TripImageUrl!=''||y.ImageUrl!=''">
......@@ -43,7 +43,6 @@
temp = [];
}
});
} else if (size.width >= 560) {
let temp = [];
this.plugData.Details.forEach((x, i) => {
......
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