Commit 9b92da79 authored by 黄奎's avatar 黄奎
parents 7d8a6dba 4d7b9f8b
...@@ -193,6 +193,7 @@ ...@@ -193,6 +193,7 @@
} }
.trip-block .block-item .item .up img{ .trip-block .block-item .item .up img{
width: 490px; width: 490px;
height: 295px;object-fit: cover;
/* width: 100%; */ /* width: 100%; */
/* zk新增 */ /* zk新增 */
position: relative; position: relative;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[0].img!='' && day.details[0].scenicJson" <img v-if="day.details[0].img!='' && day.details[0].scenicJson"
:style="{'top':day.details[0].scenicJson.y+'px'}" :style="{'top':day.details[0].scenicJson.y+'px', 'height': (295-day.details[0].scenicJson.y) +'px'}"
:src='compressImg(day.details[0].img, "filt", 663, "")' /> :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' />
</template> </template>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</video> </video>
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[0].img!='' && day.details[0].scenicJson" :style="{'top':day.details[0].scenicJson.y+'px'}" :src='compressImg(day.details[0].img, "filt", 663, "")' /> <img v-if="day.details[0].img!='' && day.details[0].scenicJson" :style="{'top':day.details[0].scenicJson.y+'px', 'height': (295-day.details[0].scenicJson.y) +'px'}" :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' />
</template> </template>
</div> </div>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[0].img!='' && day.details[0].scenicJson" <img v-if="day.details[0].img!='' && day.details[0].scenicJson"
:style="{'top':day.details[0].scenicJson.y+'px'}" :style="{'top':day.details[0].scenicJson.y+'px', 'height': (295-day.details[0].scenicJson.y) +'px'}"
:src='compressImg(day.details[0].img, "filt", 663, "")' /> :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src="domainManager().ViittoFileUrl+'/Upload/DefalutImage/DMC/defaultairline.png'" /> <img v-else :src="domainManager().ViittoFileUrl+'/Upload/DefalutImage/DMC/defaultairline.png'" />
<img v-else-if="day.dayNum==1 && day.details[0].img==''" <img v-else-if="day.dayNum==1 && day.details[0].img==''"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[0].img!='' && day.details[0].scenicJson" <img v-if="day.details[0].img!='' && day.details[0].scenicJson"
:style="{'top':day.details[0].scenicJson.y+'px'}" :style="{'top':day.details[0].scenicJson.y+'px', 'height': (295-day.details[0].scenicJson.y) +'px'}"
:src='compressImg(day.details[0].img, "filt", 663, "")' /> :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' />
</template> </template>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[1].img!='' && day.details[1].scenicJson" <img v-if="day.details[1].img!='' && day.details[1].scenicJson"
:style="{'top':day.details[1].scenicJson.y+'px'}" :style="{'top':day.details[1].scenicJson.y+'px', 'height': (295-day.details[1].scenicJson.y) +'px'}"
:src='compressImg(day.details[1].img, "filt", 663, "")' /> :src='compressImg(day.details[1].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[1].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[1].img, "filt", 663, "")' />
</template> </template>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</template> </template>
<template v-else> <template v-else>
<img v-if="day.details[2].img!='' && day.details[2].scenicJson" <img v-if="day.details[2].img!='' && day.details[2].scenicJson"
:style="{'top':day.details[2].scenicJson.y+'px'}" :style="{'top':day.details[2].scenicJson.y+'px', 'height': (295-day.details[2].scenicJson.y) +'px'}"
:src='compressImg(day.details[2].img, "filt", 663, "")' /> :src='compressImg(day.details[2].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[2].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[2].img, "filt", 663, "")' />
</template> </template>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</video> </video>
</template> </template>
<template v-else> <template v-else>
<img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px'}" :src='compressImg(item.img, "filt", 663, "")'/> <img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px', 'height': (295-item.scenicJson.y) +'px'}" :src='compressImg(item.img, "filt", 663, "")'/>
<img v-else :src='compressImg(item.img, "filt", 663, "")' /> <img v-else :src='compressImg(item.img, "filt", 663, "")' />
</template> </template>
</div> </div>
......
...@@ -342,14 +342,19 @@ ...@@ -342,14 +342,19 @@
<div class="short-line"></div> <div class="short-line"></div>
<div class="english-title">Scheduling</div> <div class="english-title">Scheduling</div>
</div> </div>
11
<oneday v-if="item.details && item.details.length==1" :day='item' :dayNum="item.dayNum" <oneday v-if="item.details && item.details.length==1" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></oneday> :title="item.title" :isDirect="isDirect" :showTime="isShowTime"></oneday>
22
<twoday v-if="item.details && item.details.length==2" :day='item' :dayNum="item.dayNum" <twoday v-if="item.details && item.details.length==2" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></twoday> :title="item.title" :isDirect="isDirect" :showTime="isShowTime"></twoday>
33
<threeday v-if="item.details && item.details.length==3" :day='item' :dayNum="item.dayNum" <threeday v-if="item.details && item.details.length==3" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></threeday> :title="item.title" :isDirect="isDirect" :showTime="isShowTime"></threeday>
44
<fourday v-if="item.details && item.details.length==4" :day='item' :dayNum="item.dayNum" <fourday v-if="item.details && item.details.length==4" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fourday> :title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fourday>
55
<fiveday v-if="item.details && item.details.length>=5" :day='item' :dayNum="item.dayNum" <fiveday v-if="item.details && item.details.length>=5" :day='item' :dayNum="item.dayNum"
:title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fiveday> :title="item.title" :isDirect="isDirect" :showTime="isShowTime"></fiveday>
</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