Commit 722b3d86 authored by 黄奎's avatar 黄奎

页面修改

parent 52e82fa1
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="q-mt-lg q-mb-lg"> <div class="q-mt-lg q-mb-lg">
<div class="section-block download1"> <div class="section-block download1">
<!-- <div class="group-title">{{plugData.Title}}</div> --> <!-- <div class="group-title">{{plugData.Title}}</div> -->
<q-table v-if="plugData.priceList&&plugData.priceList.length>0 && !$q.screen.xs" <q-table v-if="plugData&&plugData.length>0 && !$q.screen.xs"
:pagination.sync="paginationDesktop" :data="plugData.priceList" :columns="columns" row-key="id" :filter="filter" :pagination.sync="paginationDesktop" :data="plugData" :columns="columns" row-key="id" :filter="filter"
table-header-class="travel-list" card-class="travel-list" :pagination-label="formatLabel" table-header-class="travel-list" card-class="travel-list" :pagination-label="formatLabel"
rows-per-page-label=" " :rows-per-page-options="[]" TCNUM-data-labe="沒有找到適合的團期"> rows-per-page-label=" " :rows-per-page-options="[]" TCNUM-data-labe="沒有找到適合的團期">
<template v-slot:body="props"> <template v-slot:body="props">
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
</q-tr> </q-tr>
</template> </template>
</q-table> </q-table>
<q-table :pagination.sync="pagination" v-if="plugData.priceList&&plugData.priceList.length>0 && $q.screen.xs" grid <q-table :pagination.sync="pagination" v-if="plugData&&plugData.length>0 && $q.screen.xs" grid
:data="plugData.priceList" :columns="columns" row-key="id" :filter="filter" table-header-class="travel-list" :data="plugData" :columns="columns" row-key="id" :filter="filter" table-header-class="travel-list"
card-class="travel-list" :pagination-label="formatLabel" rows-per-page-label=" " :rows-per-page-options="[]" card-class="travel-list" :pagination-label="formatLabel" rows-per-page-label=" " :rows-per-page-options="[]"
TCNUM-data-labe="沒有找到適合的團期"> TCNUM-data-labe="沒有找到適合的團期">
<template v-slot:item="props"> <template v-slot:item="props">
...@@ -196,7 +196,9 @@ ...@@ -196,7 +196,9 @@
return ""; return "";
} }
}, },
mounted() {} mounted() {
console.log("plugData",this.plugData)
}
}; };
</script> </script>
......
...@@ -262,13 +262,13 @@ ...@@ -262,13 +262,13 @@
<div class="monthDayList"> <div class="monthDayList">
<div class="monthDayChild" v-for="(item, index) in monthList" :key="index"> <div class="monthDayChild" v-for="(item, index) in monthList" :key="index">
<div class="calendarItem_month"> <div class="calendarItem_month">
<template v-if="index==0"> <!-- <template v-if="index==0">
<i style="float:left;" class="iconfont iconpreviewleft"></i> <i style="float:left;" class="iconfont iconpreviewleft"></i>
</template> </template> -->
{{item.monthStr}} {{item.monthStr}}
<template v-if="index==1"> <!-- <template v-if="index==1">
<i style="float:right;" class="iconfont iconpreviewright"></i> <i style="float:right;" class="iconfont iconpreviewright"></i>
</template> </template> -->
</div> </div>
<div class="calendarItem_week"> <div class="calendarItem_week">
<div v-for="(i,index) in week" :key="index">{{i}}</div> <div v-for="(i,index) in week" :key="index">{{i}}</div>
...@@ -326,7 +326,11 @@ ...@@ -326,7 +326,11 @@
出发日期 :<span class="tripRightspan">{{CurrentPriceInfo.startDate}}</span> 出发日期 :<span class="tripRightspan">{{CurrentPriceInfo.startDate}}</span>
</div> </div>
<div> <div>
团位编号 :<span class="tripRightspan">{{CurrentPriceInfo.tcnum.toUpperCase()}}</span> 团位编号 :<span class="tripRightspan">
<template v-if="CurrentPriceInfo&&CurrentPriceInfo.tcnum">
{{CurrentPriceInfo.tcnum.toUpperCase()}}
</template>
</span>
</div> </div>
<div class="TripCanbao"> <div class="TripCanbao">
<div>可报名人数 <span class="tripRightspan">{{ CurrentPriceInfo.seat}}位</span> <div>可报名人数 <span class="tripRightspan">{{ CurrentPriceInfo.seat}}位</span>
......
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
<template v-for="(item,index) in TripConfig.TripConfig.SortList"> <template v-for="(item,index) in TripConfig.TripConfig.SortList">
<!-- 行程資訊 --> <!-- 行程資訊 -->
<!-- TripListStyle 1月历 2列表 --> <!-- TripListStyle 1月历 2列表 -->
<tripList v-if="item.Id=='TripList'&&TripConfig.TripConfig.TripListStyle==2" :key="index+100" :plugData="dataList"></tripList> <tripList v-if="item.Id=='TripList'&&TripConfig.TripConfig" :key="index+100" :plugData="dataList.priceList"></tripList>
<tripcalendar v-if="item.Id=='TripList'&&TripConfig.TripConfig.TripListStyle==1" :key="index+200" :dateData="dataList.priceList" :priceInfo="dataList.currentPriceInfo"></tripcalendar> <tripcalendar v-if="item.Id=='TripList'&&TripConfig.TripConfig" :key="index+200" :dateData="dataList.priceList" :priceInfo="dataList.currentPriceInfo"></tripcalendar>
<!-- 每日行程 --> <!-- 每日行程 -->
<!-- TripDayStyle 1竖起排 2横起 --> <!-- TripDayStyle 1竖起排 2横起 -->
...@@ -138,10 +138,10 @@ ...@@ -138,10 +138,10 @@
data() { data() {
return { return {
msg: { msg: {
configId: '/BGnKqHXCWo=', configId: '',
cityId: 0, cityId: 0,
preview: 0, preview: 0,
tcid: 10090, tcid: 0,
teamType: 0, teamType: 0,
isGetPriceFlight:true, isGetPriceFlight:true,
}, },
...@@ -185,7 +185,6 @@ ...@@ -185,7 +185,6 @@
this.apipost('b2b_get_GetB2BTravelInfoV1', this.msg, r => { this.apipost('b2b_get_GetB2BTravelInfoV1', this.msg, r => {
if (r.data.resultCode == 1) { if (r.data.resultCode == 1) {
this.dataList = r.data.data; this.dataList = r.data.data;
console.log(this.dataList, 'resss');
if (this.dataList.dayList && this.dataList.dayList.length > 0) { if (this.dataList.dayList && this.dataList.dayList.length > 0) {
this.dataList.dayList.forEach(item => { this.dataList.dayList.forEach(item => {
item.slide = 0; item.slide = 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