Commit f9858942 authored by youjie's avatar youjie
parents 514cdc9b 7be66fab
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
<div class="left"> <div class="left">
<div class="image"> <div class="image">
<template v-if="day.details[0].fileType&&day.details[0].fileType=='.mp4'"> <template v-if="day.details[0].fileType&&day.details[0].fileType=='.mp4'">
<video ref="myVideo" width="100%" height="100%" :src="day.details[0].videoPath" controls="controls"> <video ref="myVideo" width="100%" height="100%" :src="day.details[0].videoPath" controls="controls">
</video> </video>
</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'}"
:src='compressImg(day.details[2].img, "filt", 663, "")' /> :src='compressImg(day.details[0].img, "filt", 663, "")' />
<img v-else :src='compressImg(day.details[2].img, "filt", 663, "")' /> <img v-else :src='compressImg(day.details[0].img, "filt", 663, "")' />
</template> </template>
</div> </div>
<table class="day_table"> <table class="day_table">
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
</h4> </h4>
<div class="playInfo"> <div class="playInfo">
<span class="playInfo-item" v-if='day.details[0].ticketName!=""'> <span class="playInfo-item" v-if='day.details[0].ticketName!=""'>
<!--<i class="iconfont icon-menpiao"></i>-->
<!--{{day.details[0].ticketName}}-->
</span> </span>
<span class="playInfo-item" v-if='day.details[0].playTimeHour || day.details[0].playTimeMinutes'> <span class="playInfo-item" v-if='day.details[0].playTimeHour || day.details[0].playTimeMinutes'>
<i class="iconfont icon-shijian1"></i> <i class="iconfont icon-shijian1"></i>
...@@ -52,18 +50,15 @@ ...@@ -52,18 +50,15 @@
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
<div class="right"> <div class="right">
<div class="fiveday"> <div class="fiveday">
<div v-for="(item,i) in day.details" v-if="i>0&&i<5" :key="i"> <div v-for="(item,i) in day.details" v-if="i>0&&i<5" :key="i">
<div class="item item5"> <div class="item item5">
<div class="upFour"> <div class="upFour">
<!-- <img :style="{'top':item.scenicJson.y+'px'}" :src="$commonUtils.replaceHttps(item.img)+'?x-oss-process=image/resize,w_663,image/crop,g_west,w_663'" /> -->
<template v-if="item.fileType&&item.fileType=='.mp4'"> <template v-if="item.fileType&&item.fileType=='.mp4'">
<video ref="myVideo" width="100%" height="100%" :src="item.videoPath" controls="controls"> <video ref="myVideo" width="100%" height="100%" :src="item.videoPath" controls="controls">
</video> </video>
</template> </template>
<template v-else> <template v-else>
<img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px'}" <img v-if="item.img!=''&& item.scenicJson" :style="{'top':item.scenicJson.y+'px'}"
...@@ -75,8 +70,6 @@ ...@@ -75,8 +70,6 @@
<h4 v-html="item.title" @click.stop="goUrl(item.url)" style="cursor: pointer"></h4> <h4 v-html="item.title" @click.stop="goUrl(item.url)" style="cursor: pointer"></h4>
<div class="playInfo"> <div class="playInfo">
<span class="playInfo-item" v-if='item.ticketName!=""'> <span class="playInfo-item" v-if='item.ticketName!=""'>
<!--<i class="iconfont icon-menpiao"></i>-->
<!--{{item.ticketName}}-->
</span> </span>
<span class="playInfo-item" v-if='item.playTimeHour || item.playTimeMinutes'> <span class="playInfo-item" v-if='item.playTimeHour || item.playTimeMinutes'>
<i class="iconfont icon-shijian1"></i> <i class="iconfont icon-shijian1"></i>
...@@ -123,7 +116,7 @@ ...@@ -123,7 +116,7 @@
</td> </td>
<td valign="middle" colspan="5" class="val" v-if='day.jiu2.length>0'> <td valign="middle" colspan="5" class="val" v-if='day.jiu2.length>0'>
<span v-for="(t,k) in day.jiu2" @click.stop="goUrl(t.url)" style="cursor: pointer" :key="k"> <span v-for="(t,k) in day.jiu2" @click.stop="goUrl(t.url)" style="cursor: pointer" :key="k">
{{k==day.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }} {{k==day.jiu2.length-1? (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name) : (t.newTitle!=''&& t.newTitle!=t.name?t.newTitle:t.name)+' / ' }}
</span> </span>
{{getHotelSuffix()}} {{getHotelSuffix()}}
</td> </td>
...@@ -140,21 +133,21 @@ ...@@ -140,21 +133,21 @@
isDirect: {}, isDirect: {},
title: {}, title: {},
dayNum: {}, dayNum: {},
showTime: {}, showTime: {},
}, },
data() { data() {
return { return {
isshowtime: true, isshowtime: true,
} }
}, },
watch: { watch: {
showTime: { showTime: {
handler: function (v, ov) { handler: function (v, ov) {
this.isshowtime = v; this.isshowtime = v;
},
deep: true,
}, },
deep: true,
}, },
},
methods: { methods: {
getHotelSuffix() { getHotelSuffix() {
let suffix = ""; let suffix = "";
......
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