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

页面修改

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