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
bf3b7e21
Commit
bf3b7e21
authored
Oct 18, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2128f25c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
24 deletions
+57
-24
TicketOrderDetails.vue
pages/airTicket/TicketOrderDetails.vue
+10
-17
TicketOrderList.vue
pages/airTicket/TicketOrderList.vue
+44
-6
airTicketDetails.vue
pages/airTicket/airTicketDetails.vue
+1
-0
airTicketList.vue
pages/airTicket/airTicketList.vue
+2
-1
No files found.
pages/airTicket/TicketOrderDetails.vue
View file @
bf3b7e21
...
...
@@ -160,23 +160,6 @@
</view>
</view>
<view
class=
"airTicketDetailsInstructionsBox"
style=
"display: none;"
>
<img
class=
"inlineblock"
mode=
"widthFix"
style=
"width: 125rpx;height: 30rpx;"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1696821283000_148.png"
/>
<view
class=
"airTicketDetailsInstructions MT15 fz24"
>
本模块为保险投保页面,由明亚保险经纪股份有限公司管理运
营。请仔细阅读客户通知书、保险代理协议、投保须知及条款
等重要内容。为保障你的权益,我们将会安全记录你的操作。本模
块为保险投保页面,由明亚保险经纪股份有限公司管理运营。请
仔细阅读客户通知书、保险代理协议、投保须知及条款等重要内容
。为保障你的权益,我们将会安全记录你的操作。本模块为保险投
保页面,由明亚保险经纪股份有限公司管理运营。请仔细阅读客户通知
书、保险代理协议、投保须知及条款等重要内容。为保障你的权益,我
们将会安全记录你的操作。本模块为保险投保页面,由明亚保险经纪股份
有限公司管理运营。请仔细阅读客户通知书、保险代理协议、投保须知及
条款等重要内容。为保障你的权益,我们将会安全记录你的操作。
</view>
</view>
</view>
</scroll-view>
<view
class=
"airTicketDetailsFooter fixedFooter bgFFF fixed row-ajc-n z-index2"
>
...
...
@@ -294,6 +277,16 @@
getDetail
(){
this
.
showDetailPreviwe
=
true
},
getOrderDetails
(){
this
.
apipost
(
"AirTicket_get_GetTicketDetails"
,{
OrderId
:
this
.
orderMsg
.
OrderId
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
){
console
.
log
(
res
,
'====='
)
}
})
},
scroll
(
e
)
{
this
.
boxOption
=
Math
.
floor
((
e
.
detail
.
scrollTop
-
50
)
/
1.5
);
this
.
titleStyle
.
opacity
=
...
...
pages/airTicket/TicketOrderList.vue
View file @
bf3b7e21
<
template
>
<view
class=
"bgF5 height100"
>
<view
class=
"bgF5"
:class=
"[dataList.length==0||3>dataList.length?'height100vh':'height100']"
>
<view
class=
"TicketOrderList-header bgFFF fixed row-sb-n z-index3"
>
<view
v-for=
"(item,index) in TicketOrderTyle"
class=
"border1 borderDEBF7B hidden fz24 bgF5 textCenter"
>
class=
"border1 hidden fz24 bgF5 textCenter"
:class=
"[OrderTyle==item.Id?'borderDEBF7B':'borderF5']"
@
click=
"research(item)"
>
{{
item
.
Name
}}
</view>
</view>
<
!--
<u-empty
v-if=
"dataList.length==0"
text=
"暂无数据"
mode=
"data"
></u-empty>
--
>
<scroll-view
:scroll-y=
"true"
style=
"background-color: #f0f4f7;"
<
u-empty
v-if=
"dataList.length==0"
text=
"暂无数据"
mode=
"data"
></u-empty
>
<scroll-view
v-else
:scroll-y=
"true"
style=
"background-color: #f0f4f7;"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ 'height': `calc(100% - ${scrollHeight})`}">
<view
class=
"TicketOrderListC"
>
<view
class=
"TicketOrderList-box"
>
<template
v-for=
"(item,index) in
15
"
>
<template
v-for=
"(item,index) in
dataList
"
>
<TicketOrderList></TicketOrderList>
</
template
>
</view>
<view
style=
"padding:10px 0;"
>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"0"
:margin-bottom=
"0"
bg-color=
"#f0f4f7"
/>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"0"
:margin-bottom=
"0"
bg-color=
"#f0f4f7"
/>
</view>
</view>
</scroll-view>
...
...
@@ -31,6 +36,7 @@
},
data
()
{
return
{
scrollTop
:
0
,
status
:
'loadmore'
,
msg
:{
ageIndex
:
1
,
...
...
@@ -42,6 +48,8 @@
StartTime
:
''
,
EndTime
:
''
},
pageCount
:
0
,
OrderTyle
:
1
,
dataList
:
[],
loading
:
false
,
TicketOrderTyle
:[
...
...
@@ -78,11 +86,41 @@
})
.
exec
();
},
research
(
item
)
{
this
.
OrderTyle
=
item
.
Id
this
.
msg
.
pageIndex
=
1
;
this
.
getList
(
1
);
},
//获取列表数据
getList
(
type
)
{
if
(
type
==
1
)
{
this
.
dataList
=
[];
}
return
uni
.
showLoading
()
this
.
request2
({
url
:
"/api/Hotel/AppGetHotelPage"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
this
.
msg
.
pageIndex
===
1
)
{
this
.
dataList
=
res
.
data
.
pageData
;
}
else
{
this
.
dataList
=
this
.
dataList
.
concat
(
res
.
data
.
pageData
);
}
this
.
pageCount
=
res
.
data
.
pageCount
;
}
uni
.
hideLoading
()
}
);
},
//滚动加载
lower
(
e
)
{
if
(
this
.
msg
.
pageIndex
<
this
.
pageCount
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
getList
();
}
else
{
this
.
status
=
"nomore"
;
}
...
...
pages/airTicket/airTicketDetails.vue
View file @
bf3b7e21
...
...
@@ -117,6 +117,7 @@
FSeatNum
:
0
,
//头等舱
ESeatNum
:
0
,
//商务舱
OrderSource
:
5
,
GroupType
:
5
,
Unit_Price
:
0
,
PreferPrice
:
0
,
//应收
GuestList
:[
...
...
pages/airTicket/airTicketList.vue
View file @
bf3b7e21
<
template
>
<view
class=
"height100 bgF5"
>
<view
class=
"bgF5"
:class=
"[NewDataList.length==0||2>NewDataList.length?'height100vh':'height100']"
>
<view
class=
"bgFFF"
>
<AirTicketHeader></AirTicketHeader>
<view
class=
"StartStopAddress"
>
...
...
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