Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
e5ddd1eb
Commit
e5ddd1eb
authored
Oct 24, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a53b03dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
110 deletions
+12
-110
TicketOrderDetails.vue
pages/airTicket/TicketOrderDetails.vue
+0
-102
TicketOrderDetails.vue
pages/airTicket/components/TicketOrderDetails.vue
+1
-1
TicketOrderList.vue
pages/airTicket/components/TicketOrderList.vue
+9
-5
style.css
pages/airTicket/style.css
+2
-2
No files found.
pages/airTicket/TicketOrderDetails.vue
View file @
e5ddd1eb
...
...
@@ -25,108 +25,6 @@
</view>
</view>
<view
class=
"TicketOrderDetailsCard MT45 bgFFF hidden"
>
<!--
<view
class=
"row-sb-n"
>
<view
class=
"row-aic-n"
>
<view
class=
"fz28 color111 ML20"
>
<text>
09-30
</text>
<text
class=
"ML10"
>
周六
</text>
</view>
<view
class=
"fz28 color111 ML31"
>
总时长 5h
</view>
</view>
<view
class=
"fz28 colorE1C278 row-aic-n"
@
click=
"TicketDetails(items)"
>
<text>
详情
</text>
<uni-icons
class=
"ML10"
color=
"#DEBF7B"
:type=
"items.show?'arrowdown':'arrowright'"
size=
"14"
></uni-icons>
</view>
</view>
<view
class=
"MT60 PX50"
style=
"display: none;"
>
<view
class=
"row relative"
v-for=
"(item,index) in 2"
:class=
"[index==0?'MB50':'']"
>
<text
v-if=
"index==1"
class=
"fz18 fontWeight400 colorFF5858 absolute airTicketDetailsCard-timeT"
>
10-01 周日
</text>
<view
class=
"airTicketDetailsCard-timeL column flexS MR20 textRight"
>
<view
v-if=
"index==0"
class=
"fz28 fontBold relative relativeFT10"
>
09:00
</view>
<view
v-if=
"index==1"
class=
"MT25 fz28 fontBold"
>
11:30
</view>
</view>
<view
class=
"flexS MR30"
>
<view
class=
"width-lineH49 bgE1C278 relative"
>
<view
class=
"bgE1C278 absolute WH12R50 airTicketDetailsCard-LinT"
></view>
<template
v-if=
"index"
>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinT2"
></view>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinT3"
></view>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinT4"
></view>
</
template
>
<view
class=
"bgE1C278 absolute WH12R50 airTicketDetailsCard-LinB"
></view>
<
template
v-if=
"index!=1"
>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinB2"
></view>
</
template
>
</view>
</view>
<view
class=
"column flexG relative"
>
<view
v-if=
"index==1"
class=
"airTicketDetailsCard-ZhuanNum bgE1C278 fz18 colorFFF absolute"
>
转+2
</view>
<view
class=
"airTicketDetailsCard-title row-aic-n absolute"
v-if=
"index==0"
>
<img
class=
"inlineblock flexS"
mode=
"widthFix"
style=
"width: 20rpx;height: 17rpx;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1696749257000_469.png"
/>
<view
class=
"flexG"
>
<text
class=
"block width100One overflow fz20 ML5 color9999A5 fontWeight400"
>
东航 CA1852
</text>
</view>
</view>
<view
class=
"fz28 fontBold relative relativeFT8"
v-if=
"index==0"
>
<text
class=
"block width100One hidden"
>
CTU 双流机场 T2
</text>
</view>
<view
class=
"fz28 fontBold MT25"
v-if=
"index==1"
>
<text
class=
"block width100One hidden"
>
PEK 首都机场 T3
</text>
</view>
</view>
</view>
</view>
<view
class=
"MT60 PX50 MB50"
>
<view
class=
"row-aic-n relative"
v-for=
"(item,index) in 3"
:class=
"[index!=2?'MB70':'']"
>
<text
v-if=
"index==2"
class=
"fz18 fontWeight400 colorFF5858 absolute airTicketDetailsCard-timeT"
>
10-01 周日
</text>
<view
class=
"airTicketDetailsCard-timeL column flexS MR20 textRight"
>
<view
:class=
"[index?'fz24':'fz28 fontBold']"
>
09:00
</view>
<view
class=
"MT35"
:class=
"[index!=2?'fz24':'fz28 fontBold']"
>
11:30
</view>
</view>
<view
class=
"flexS MR30"
>
<view
class=
"width-lineH83 bgE1C278 relative"
>
<view
class=
"bgE1C278 absolute WH12R50 airTicketDetailsCard-LinT"
></view>
<
template
v-if=
"index"
>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinT2"
></view>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinT3"
></view>
</
template
>
<view
class=
"bgE1C278 absolute WH12R50 airTicketDetailsCard-LinB"
></view>
<
template
v-if=
"index!=2"
>
<view
class=
"bgE1C278 absolute WH6R50 airTicketDetailsCard-LinB2"
></view>
<view
class=
"bgE1C278 fz18 colorFFF absolute airTicketDetailsCard-LinText"
>
中转
</view>
</
template
>
</view>
</view>
<view
class=
"column flexG relative"
>
<view
class=
"airTicketDetailsCard-title row-aic-n absolute"
>
<img
class=
"inlineblock flexS"
mode=
"widthFix"
style=
"width: 20rpx;height: 17rpx;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1696749257000_469.png"
/>
<view
class=
"flexG"
>
<text
class=
"block width100One overflow fz20 ML5 color9999A5 fontWeight400"
>
东航 CA1852
</text>
</view>
</view>
<view
class=
"fz28 fontBold relative relativeFT8"
>
<text
class=
"block width100One hidden"
>
CTU 双流机场 T2
</text>
</view>
<view
class=
"fz28 fontBold MT25"
>
<text
class=
"block width100One hidden"
>
PEK 首都机场 T3
</text>
</view>
</view>
</view>
</view>
-->
<TicketOrderDetails
:DetailsList=
"NewDetailsList"
></TicketOrderDetails>
<view
class=
"PX50"
>
<view
class=
"height-dashed1 DashedECF1F4 relative MT30"
v-if=
"GuestList&&GuestList.length>0"
>
...
...
pages/airTicket/components/TicketOrderDetails.vue
View file @
e5ddd1eb
...
...
@@ -15,7 +15,7 @@
<view
class=
"fz28 color111 ML20"
>
<text>
{{items.time}}
</text>
<text
class=
"ML10"
>
周{{items.week}}
</text>
</view>
<view
class=
"fz28 color111 ML31"
>
<view
class=
"fz28 color111 ML31"
v-if=
"items.duration"
>
总时长 {{items.duration}}
</view>
</view>
...
...
pages/airTicket/components/TicketOrderList.vue
View file @
e5ddd1eb
<
template
>
<view>
<view
class=
"TicketOrderListCard bgFFF relative"
v-for=
"(item,i) in DataLists"
@
click=
"getDetail(item.orderId)"
>
<template
v-for=
"(item,i) in DataLists"
>
<view
class=
"TicketOrderListCard bgFFF relative"
@
click=
"getDetail(item.orderId)"
v-if=
"item.NewFlightList.length>0"
>
<view
v-if=
"item.different"
class=
"TicketOrderListCard-wf absolute bg111 colorFFF fz24 z-index2"
>
异地
</view>
<template
v-for=
"(childs,index) in item.NewFlightList"
>
<view
class=
"row-sb-n"
>
...
...
@@ -28,15 +30,15 @@
<view
class=
"FlightDirection-box relative"
>
<view
class=
"FlightDirection-Title column"
>
<!-- :style="
{'height':'90rpx'}" -->
<view
class=
"row-ajc-n"
>
<view
class=
"row-ajc-n"
v-if=
"childs.frequency||childs.duration"
>
<view
class=
"FlightDirection-zhuan z-index2 MB10"
>
<text
v-if=
"!childs.frequency"
class=
"fz20 color9999A5"
>
{{
childs
.
duration
}}
</text>
<text
v-if=
"childs.frequency"
class=
"block bgECF1F4 fz21 nowrap"
>
转
<template
v-if=
"childs.frequency>1"
>
+
{{
childs
.
frequency
}}
</
template
>
</text>
<text
v-else
class=
"fz20 color9999A5"
>
{{childs.duration}}
</text>
</view>
</view>
<view>
<view
:style=
"{'height':!childs.frequency&&!childs.duration?'79rpx':''}"
>
<text
class=
"fz19 textCenter width100 ellipsis1 relative relativeFT8"
>
{{childs.departureName}} {{childs.arrivalCityName}}
</text>
...
...
@@ -105,7 +107,9 @@
</view>
</view>
</view>
</view>
</template>
</view>
</template>
<
script
>
...
...
pages/airTicket/style.css
View file @
e5ddd1eb
...
...
@@ -88,7 +88,7 @@
}
.airTicketDetailsCard-LinT
{
top
:
0
;
left
:
-
4
rpx
;
left
:
-
5
rpx
;
}
.airTicketDetailsCard-LinT2
{
top
:
-11
rpx
;
...
...
@@ -104,7 +104,7 @@
}
.airTicketDetailsCard-LinB
{
bottom
:
0
;
left
:
-
4
rpx
;
left
:
-
5
rpx
;
}
.airTicketDetailsCard-LinB2
{
bottom
:
-10
rpx
;
...
...
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