Commit 1afbf0ef authored by youjie's avatar youjie

no message

parent ef2cb705
...@@ -29,12 +29,11 @@ ...@@ -29,12 +29,11 @@
></video> ></video>
</template> </template>
<template v-else> <template v-else>
<q-img <q-img @click="showPreview(day.details,i)"
v-if="x.img" v-if="x.img"
:src="x.img" :src="x.img"
:ratio=" 16/9 " :ratio=" 16/9 "
style="width: 100%" style="width: 100%"
@click="showPreview(day.details,i)"
> >
<template v-slot:error> <template v-slot:error>
<div <div
...@@ -44,7 +43,7 @@ ...@@ -44,7 +43,7 @@
</div> </div>
</template> </template>
</q-img> </q-img>
<q-img <q-img @click="showPreview(day.details,i)"
v-else v-else
src="../../../assets/img/nll.jpg" src="../../../assets/img/nll.jpg"
:ratio=" 16/9 " :ratio=" 16/9 "
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
try{ try{
this.daysClass.forEach((x,i)=>{ this.daysClass.forEach((x,i)=>{
var object=document.getElementById(`days_${i}`); var object=document.getElementById(`days_${i}`);
x.top = object.getBoundingClientRect().top+60 x.top = object.getBoundingClientRect().top+400
}) })
} catch (error) { } catch (error) {
console.log('----异常') console.log('----异常')
......
...@@ -584,8 +584,6 @@ export default { ...@@ -584,8 +584,6 @@ export default {
priceListHeight: 0, priceListHeight: 0,
stickyHeight: 0, stickyHeight: 0,
zoomDiyContext: 1, zoomDiyContext: 1,
currentHeightDay: 0,
stickyHeightDay: 0
}; };
}, },
components: { components: {
...@@ -598,12 +596,6 @@ export default { ...@@ -598,12 +596,6 @@ export default {
block block
}, },
watch: { watch: {
currentHeightDay:{
handler: function (val, oldval) {
this.currentHeightDay = val
},
deep: true
},
days: { days: {
handler: function (val, oldval) { handler: function (val, oldval) {
this.days = val this.days = val
...@@ -670,7 +662,7 @@ export default { ...@@ -670,7 +662,7 @@ export default {
// } // }
this.stickyHeight = document.querySelector(".q-header--hidden") this.stickyHeight = document.querySelector(".q-header--hidden")
? "translateY(0px)" ? "translateY(0px)"
: "translateY(60px)"; : "translateY(85px)";
this.currentHeight = temp; this.currentHeight = temp;
if ( if (
this.videoPosition > 0 && this.videoPosition > 0 &&
......
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