Commit 9cd41ff0 authored by 黄奎's avatar 黄奎

页面修改

parent a816566d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="TC-ScenicTraffic"> <div class="TC-ScenicTraffic">
<template v-if="!ishasScenic"> <template v-if="!ishasScenic">
<table> <table>
<thead> <thead v-if="CurrentDayNum!=1">
<tr> <tr>
<td> <td>
酒店出发 酒店出发
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tfoot> <tfoot v-if="CurrentDayNum!=totalDayNum">
<tr> <tr>
<td>回酒店</td> <td>回酒店</td>
</tr> </tr>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</template> </template>
<template v-else> <template v-else>
<table> <table>
<thead> <thead v-if="CurrentDayNum!=1">
<tr> <tr>
<td> <td>
酒店出发 酒店出发
...@@ -58,13 +58,13 @@ ...@@ -58,13 +58,13 @@
<tr> <tr>
<td> <td>
<el-select :placeholder="$t('pub.pleaseSel')" v-model="item.TrafficType"> <el-select :placeholder="$t('pub.pleaseSel')" v-model="item.TrafficType">
<el-option v-for="subItem in ArrivalTypeArray" :value="subItem.ID" :key="subItem.ID" :label="item.Name"> <el-option v-for="subItem in ArrivalTypeArray" :value="subItem.ID" :key="subItem.ID" :label="subItem.Name">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tfoot> <tfoot v-if="CurrentDayNum!=totalDayNum">
<tr> <tr>
<td>回酒店</td> <td>回酒店</td>
</tr> </tr>
...@@ -80,6 +80,8 @@ ...@@ -80,6 +80,8 @@
"trafficObj", //交通信息 "trafficObj", //交通信息
"ScenicArray", //景点数组 "ScenicArray", //景点数组
"ishasScenic", //是否有景点 "ishasScenic", //是否有景点
"CurrentDayNum",//当前天数
"totalDayNum",//总天数
], ],
data() { data() {
return { return {
......
...@@ -162,7 +162,10 @@ ...@@ -162,7 +162,10 @@
</el-option> </el-option>
</el-select> </el-select>
<el-popover placement="right" width="540" trigger="click" > <el-popover placement="right" width="540" trigger="click" >
<scenicTraffic :ref="'scenicTraffic'+dayObj.DayNum+''" :ScenicArray="dayObj.ScenicArray" :trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic"> <scenicTraffic :ref="'scenicTraffic'+dayObj.DayNum+''" :ScenicArray="dayObj.ScenicArray"
:trafficObj="dayObj.TrafficObj" :ishasScenic="ishasScenic"
:CurrentDayNum="dayObj.DayNum" :totalDayNum="subConfig.DayNum"
>
</scenicTraffic> </scenicTraffic>
<span slot="reference" class="TC-tripTitle" style="padding-left:5px;cursor:pointer;">选择交通信息</span> <span slot="reference" class="TC-tripTitle" style="padding-left:5px;cursor:pointer;">选择交通信息</span>
</el-popover> </el-popover>
......
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