Commit bf3b7e21 authored by 18224442217's avatar 18224442217

no message

parent 2128f25c
...@@ -160,23 +160,6 @@ ...@@ -160,23 +160,6 @@
</view> </view>
</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> </view>
</scroll-view> </scroll-view>
<view class="airTicketDetailsFooter fixedFooter bgFFF fixed row-ajc-n z-index2"> <view class="airTicketDetailsFooter fixedFooter bgFFF fixed row-ajc-n z-index2">
...@@ -294,6 +277,16 @@ ...@@ -294,6 +277,16 @@
getDetail(){ getDetail(){
this.showDetailPreviwe = true this.showDetailPreviwe = true
}, },
getOrderDetails(){
this.apipost("AirTicket_get_GetTicketDetails",{
OrderId: this.orderMsg.OrderId
},
(res) => {
if(res.resultCode==1){
console.log(res,'=====')
}
})
},
scroll(e) { scroll(e) {
this.boxOption = Math.floor((e.detail.scrollTop - 50) / 1.5); this.boxOption = Math.floor((e.detail.scrollTop - 50) / 1.5);
this.titleStyle.opacity = this.titleStyle.opacity =
......
<template> <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 class="TicketOrderList-header bgFFF fixed row-sb-n z-index3">
<view v-for="(item,index) in TicketOrderTyle" <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}} {{item.Name}}
</view> </view>
</view> </view>
<!-- <u-empty v-if="dataList.length==0" text="暂无数据" mode="data"></u-empty> --> <u-empty v-if="dataList.length==0" text="暂无数据" mode="data"></u-empty>
<scroll-view :scroll-y="true" style="background-color: #f0f4f7;" <scroll-view v-else :scroll-y="true" style="background-color: #f0f4f7;"
:enable-back-to-top="true" :enable-flex="true" :enable-back-to-top="true" :enable-flex="true"
@scrolltolower="lower" :style="{ 'height': `calc(100% - ${scrollHeight})`}"> @scrolltolower="lower" :style="{ 'height': `calc(100% - ${scrollHeight})`}">
<view class="TicketOrderListC"> <view class="TicketOrderListC">
<view class="TicketOrderList-box"> <view class="TicketOrderList-box">
<template v-for="(item,index) in 15"> <template v-for="(item,index) in dataList">
<TicketOrderList></TicketOrderList> <TicketOrderList></TicketOrderList>
</template> </template>
</view> </view>
<view style="padding:10px 0;"> <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>
</view> </view>
</scroll-view> </scroll-view>
...@@ -31,6 +36,7 @@ ...@@ -31,6 +36,7 @@
}, },
data() { data() {
return { return {
scrollTop: 0,
status: 'loadmore', status: 'loadmore',
msg:{ msg:{
ageIndex:1, ageIndex:1,
...@@ -42,6 +48,8 @@ ...@@ -42,6 +48,8 @@
StartTime:'', StartTime:'',
EndTime:'' EndTime:''
}, },
pageCount: 0,
OrderTyle: 1,
dataList: [], dataList: [],
loading: false, loading: false,
TicketOrderTyle:[ TicketOrderTyle:[
...@@ -78,11 +86,41 @@ ...@@ -78,11 +86,41 @@
}) })
.exec(); .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) { lower(e) {
if (this.msg.pageIndex < this.pageCount) { if (this.msg.pageIndex < this.pageCount) {
this.msg.pageIndex++; this.msg.pageIndex++;
this.status = "loading"; this.status = "loading";
this.getList();
} else { } else {
this.status = "nomore"; this.status = "nomore";
} }
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
FSeatNum: 0,//头等舱 FSeatNum: 0,//头等舱
ESeatNum: 0,//商务舱 ESeatNum: 0,//商务舱
OrderSource: 5, OrderSource: 5,
GroupType: 5,
Unit_Price: 0, Unit_Price: 0,
PreferPrice: 0,//应收 PreferPrice: 0,//应收
GuestList:[ GuestList:[
......
<template> <template>
<view class="height100 bgF5"> <view class="bgF5"
:class="[NewDataList.length==0||2>NewDataList.length?'height100vh':'height100']">
<view class="bgFFF"> <view class="bgFFF">
<AirTicketHeader></AirTicketHeader> <AirTicketHeader></AirTicketHeader>
<view class="StartStopAddress"> <view class="StartStopAddress">
......
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