Commit 11d27849 authored by 黄奎's avatar 黄奎

页面修改

parent 77c5608e
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
@import "../../assets/css/trip/index.css"; @import "../../assets/css/trip/index.css";
</style> </style>
<template> <template>
<div class="trip-box-commonTeam" v-loading="loading"> <div class="trip-box-commonTeam" v-loading="loading">
<div class="item-title"> <div class="item-title">
...@@ -15,7 +14,8 @@ ...@@ -15,7 +14,8 @@
<div class="trip-block-commonTeam" v-for="(item,i) in tripList" :key="i"> <div class="trip-block-commonTeam" v-for="(item,i) in tripList" :key="i">
<div class="trip-title"> <div class="trip-title">
<div> <div>
<p class="day">{{$t('tips.di')}}<span v-if='item.dayNum<10'>0</span>{{item.dayNum}}{{$t('hotel.hotel_day')}}</p> <p class="day">{{$t('tips.di')}}<span v-if='item.dayNum<10'>0</span>{{item.dayNum}}{{$t('hotel.hotel_day')}}
</p>
<template v-if="startDate&&startDate!=''"> <template v-if="startDate&&startDate!=''">
<p>{{GetDayStr(startDate,item.dayNum-1)}}</p> <p>{{GetDayStr(startDate,item.dayNum-1)}}</p>
</template> </template>
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
var msg = { var msg = {
configId: id, configId: id,
tcid: nTCID, tcid: nTCID,
isClick:1//不算统计 isClick: 1 //不算统计
}; };
if (id !== undefined) { if (id !== undefined) {
//根据ID 获取行程内容 //根据ID 获取行程内容
...@@ -222,12 +222,12 @@ ...@@ -222,12 +222,12 @@
dayItem.dayArray = dayArray; dayItem.dayArray = dayArray;
dayList.push(dayItem); dayList.push(dayItem);
}); });
this.tripList = dayList; this.tripList = dayList;
this.init(); this.init();
} }
}, },
setDate: function (j) { setDate: function (j) {
let stDate = ""; let stDate = "";
if (this.priceList && this.priceList.length > 0) { if (this.priceList && this.priceList.length > 0) {
stDate = this.priceList[0].startDate; stDate = this.priceList[0].startDate;
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
} }
}, },
init() { init() {
this.tripList.forEach((x, j) => { this.tripList.forEach((x, j) => {
let useDinnerTypeBy = '' let useDinnerTypeBy = ''
let jin = [], let jin = [],
jiu = [], jiu = [],
...@@ -392,11 +392,7 @@ ...@@ -392,11 +392,7 @@
x.jiu2 = jiu2 x.jiu2 = jiu2
if (jin.length > 0) { if (jin.length > 0) {
details = jin details = jin
} } else if (dadian.length > 0) {
// else if (jiu.length > 0) {
// // details = jiu
// }
else if (dadian.length > 0) {
details = dadian details = dadian
} else if (jiao.length > 0) { } else if (jiao.length > 0) {
if (j == this.tripList.length - 1) { if (j == this.tripList.length - 1) {
......
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