Commit 63fe4161 authored by 黄奎's avatar 黄奎

页面修改

parent d474efd3
......@@ -67,9 +67,7 @@
<el-tooltip class="item" effect="dark" content="删除" placement="top-start">
<i class="iconfont icon-xingzhuang" @click="removeDaysTrip(index)"></i>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" content="编辑" placement="top-start">
<i class="iconfont icon-bianji" @click=""></i>
</el-tooltip> -->
<el-tooltip class="item" effect="dark" content="添加" placement="top-start">
<i class="iconfont icon-mui-icon-add" @click="addDaysTrip(index)"></i>
</el-tooltip>
......@@ -83,7 +81,7 @@
<div class="d">第{{index+1}}天</div>
<div class="title-box">
<div class="t">
{{item.TitleObj.Title}}
{{item.dayArray[0].childItem.Title}}
</div>
</div>
</div>
......@@ -95,7 +93,7 @@
<div class="daycnt">
<div class="d">第{{index+1}}天</div>
<div class="title-box">
<titleTrip :isOpenGroup="isOpenGroup" v-bind:subItemObj="subConfig.DayList[0].TitleObj.Title" >
<titleTrip :isOpenGroup="isOpenGroup" v-bind:subItemObj="item.dayArray[0]" >
</titleTrip>
</div>
</div>
......@@ -114,9 +112,7 @@
v-bind:subTotalIndex="item.dayArray.length"></hotelTrip>
</span>
<span v-else>
<hotelTripdisDirect v-bind:subItemObj="subItem" v-bind:DefaultList="hotelSameList"
v-bind:subIndex="subIndex" v-bind:DinnerList="DinnerList" v-bind:index="index" :isOpenGroup="isOpenGroup"
v-bind:subTotalIndex="item.dayArray.length"></hotelTripdisDirect>
</span>
</div>
<div v-if="subItem.Type==$tripUtils.TypeKey.scenic">
......@@ -124,10 +120,7 @@
<scienTrip v-bind:subItemObj="subItem" v-bind:DefaultList="scenicSameList" v-bind:subIndex="subIndex"
v-bind:index="index" :isOpenGroup="isOpenGroup" v-bind:subTotalIndex="item.dayArray.length"></scienTrip>
</span>
<span v-else>
<scienTripdisDirect v-bind:subItemObj="subItem" v-bind:DefaultList="scenicSameList"
v-bind:subIndex="subIndex" v-bind:index="index" :isOpenGroup="isOpenGroup" v-bind:subTotalIndex="item.dayArray.length"></scienTripdisDirect>
</span>
</div>
<div v-if="subItem.Type==$tripUtils.TypeKey.dinner">
<span v-if="IsDirect==1">
......@@ -136,9 +129,7 @@
v-bind:subTotalIndex="item.dayArray.length"></dinnerTrip>
</span>
<span v-else>
<dinnerTripdisDirect v-bind:subItemObj="subItem" v-bind:DefaultList="dinnerSameList"
v-bind:subIndex="subIndex" v-bind:HotelList="HotelList" v-bind:index="index" :isOpenGroup="isOpenGroup"
v-bind:subTotalIndex="item.dayArray.length"></dinnerTripdisDirect>
</span>
</div>
<div v-if="subItem.Type==$tripUtils.TypeKey.freedom">
......@@ -171,15 +162,14 @@
<script>
import trifficTrip from "../oldTravelGroupControl/trifficTrip";
import scienTrip from "../oldTravelGroupControl/scienTrip_Direct";
import scienTripdisDirect from "../oldTravelGroupControl/scienTrip_disDirect";
import hotelTrip from "../oldTravelGroupControl/hotelTrip_Direct";
import hotelTripdisDirect from "../oldTravelGroupControl/hotelTrip_disDirect";
import dinnerTrip from "../oldTravelGroupControl/dinnerTrip_Direct";
import dinnerTripdisDirect from "../oldTravelGroupControl/dinnerTrip_disDirect";
import freedomTrip from "../oldTravelGroupControl/freedomTrip";
import warmtipTrip from "../oldTravelGroupControl/warmtipTrip";
......@@ -289,13 +279,13 @@ export default {
trifficTrip: trifficTrip,
scienTrip: scienTrip,
scienTripdisDirect: scienTripdisDirect,
hotelTrip: hotelTrip,
hotelTripdisDirect: hotelTripdisDirect,
dinnerTrip: dinnerTrip,
dinnerTripdisDirect: dinnerTripdisDirect,
freedomTrip: freedomTrip,
warmtipTrip: warmtipTrip,
......@@ -358,6 +348,7 @@ export default {
}
this.subConfig.DayList.length = this.subConfig.DayNum;
}
console.log("this.sub",this.subConfig);
},
//点击往后追加
......
......@@ -3,9 +3,7 @@
<div class="TCtraffic clearfix">
<div>
<span class="datePickContent" style="background-color:transparent">
<!-- <span v-if="isOpenGroup">
{{subItemObj.childItem.Title}}
</span> -->
<el-form-item>
<el-input v-model="subItemObj.childItem.Title" class="" placeholder="行程大点"></el-input>
</el-form-item>
......
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