Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
million
Commits
722b3d86
Commit
722b3d86
authored
Jul 01, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
52e82fa1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
tripList.vue
src/components/trip/tripList.vue
+7
-5
tripcalendar.vue
src/components/trip/tripcalendar.vue
+9
-5
details.vue
src/pages/details.vue
+4
-5
No files found.
src/components/trip/tripList.vue
View file @
722b3d86
...
...
@@ -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
>
...
...
src/components/trip/tripcalendar.vue
View file @
722b3d86
...
...
@@ -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>
...
...
src/pages/details.vue
View file @
722b3d86
...
...
@@ -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=
"data
List"
></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.price
List"
></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
:
1009
0
,
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment