Commit 1afbf0ef authored by youjie's avatar youjie

no message

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