Commit f561643d authored by youjie's avatar youjie

no message

parent c5ca7802
...@@ -72,6 +72,7 @@ export default { ...@@ -72,6 +72,7 @@ export default {
methods: { methods: {
formatTeam(){ formatTeam(){
let p = this.trip.priceList[0] let p = this.trip.priceList[0]
if(!p) return
let t = p.priceTeamType??1 let t = p.priceTeamType??1
t=t==0?1:t t=t==0?1:t
if(t==1){ if(t==1){
......
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
/> />
</div> </div>
</div> </div>
<div class="q-mt-lg"> <div class="q-mt-lg" v-if="dataList.productRecommend">
<div <div
class="q-mt-sm" class="q-mt-sm"
v-for="(x, i) in dataList.productRecommend.split('\n')" v-for="(x, i) in dataList.productRecommend.split('\n')"
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
<div <div
class="col q-ml-xl position-relative" class="col q-ml-xl position-relative"
v-if=" v-if="
(!(dataList.priceList && dataList.priceList[0].teamType==2)&&!(dataList.currentPrice && dataList.currentPrice.teamType==2)) && dataList.priceList.length>0&&(!(dataList.priceList && dataList.priceList[0].teamType==2)&&!(dataList.currentPrice && dataList.currentPrice.teamType==2)) &&
currentHeight > days[0].top - 60 && currentHeight > days[0].top - 60 &&
currentHeight < navs[2].top && currentHeight < navs[2].top &&
$q.platform.is.desktop $q.platform.is.desktop
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
'q-px-md': $q.screen.width < 1220 && $q.platform.is.desktop, 'q-px-md': $q.screen.width < 1220 && $q.platform.is.desktop,
}" }"
></smaple> ></smaple>
<template v-if="(dataList.priceList && dataList.priceList[0].teamType==2)||(dataList.currentPrice && dataList.currentPrice.teamType==2)"> <template v-if="dataList.priceList.length>0&&(dataList.priceList && dataList.priceList[0].teamType==2)||(dataList.currentPrice && dataList.currentPrice.teamType==2)">
<trip :trip="dataList" @change="changeTripShowHandler"></trip> <trip :trip="dataList" @change="changeTripShowHandler"></trip>
</template> </template>
<template v-else> <template v-else>
......
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