Commit c98a50be authored by 18224442217's avatar 18224442217

no message

parent 127025e5
......@@ -179,13 +179,17 @@
<view class="fz30 fontBold textCenter MB30 PX53 relative">
选择国籍
</view>
<view class="bgF5 PX20" style="height: 80rpx;line-height: 80rpx;">
<u-search placeholder="关键字搜索" v-model="searchName" input-align="left" :value="searchName" text-color="#111"
bg-color="rgba(0,0,0,0)" :show-action="false"></u-search>
</view>
<scroll-view :scroll-y="true" :enable-back-to-top="true"
:enable-flex="true"
style="width: 100%; height: calc(100vh - 50vh);">
<view class="column">
<template v-for="(x,i) in countryList">
<view class="PX53">
<view class="PY20 row-sb-n" @click="getNationality(x)"
<view class="row-sb-n" style="height: 75rpx;line-height: 75rpx" @click="getNationality(x)"
:class="[addMsg.Nationality==x.ID?'colorDEBF7B':'']">
<text>
{{x.Name}}
......@@ -221,7 +225,9 @@
},
data() {
return {
searchName:'',
showNationalityPreviwe: false,
countryListAll:[],
countryList:[],
showCalendarPreviwe: false,
loading: false,
......@@ -282,9 +288,24 @@
handler(newVal, oldval) {
}
},
searchName:{
handler(newVal, oldval) {
let countryListAll = JSON.parse(JSON.stringify(this.countryListAll))
if(!newVal){
this.countryList = countryListAll
}else{
this.countryList = countryListAll.filter(x=>{
return x.Name.indexOf(newVal)!=-1
})
}
}
}
},
methods: {
getSearch(){
},
getNationality(item){
this.addMsg.Nationality = item.ID
this.addMsg.NationalityName = item.Name
......@@ -292,7 +313,7 @@
getCountryList() { //获取国家
let msg = {};
this.apipost('dict_post_Destination_GetCountry', msg, res => {
this.countryList = []
this.countryListAll = res.data
this.countryList = res.data
}, err => {})
},
......
......@@ -234,7 +234,6 @@
if(res.resultCode==1){
this.GuestList = []
this.NewGuestList = []
console.log(res.data,'=======')
this.orderData = res.data;
// IsChargeLossOrders 1是收损单 2否
// IsApplyForCancel 1是小程序端发起取消 2否
......@@ -608,10 +607,6 @@
.TicketOrderDetailsGet-box{
margin: 46rpx 53rpx 51rpx 53rpx;
}
.TicketOrderDetailsGet-close{
right: 0;
top: 0;
}
.TicketOrderDetailsGetC{
padding-bottom: 300rpx;
}
......
......@@ -124,4 +124,8 @@
border-radius: 6rpx;
padding: 0rpx 6rpx 3rpx 6rpx;
top: -34rpx;
}
.TicketOrderDetailsGet-close{
right: 0;
top: 0;
}
\ No newline at end of file
......@@ -638,7 +638,7 @@
</view>
</view>
</view> 罗超 2023-09-20 -->
<view v-if="d.length<4">
<view v-if="d.length<0">
<view v-for="(x,i) in d" :key="i">
<view style="font-size: 32rpx;font-family: nav-font;font-weight: 600;display: flex;">
<text>第 {{(i+1)}} 天</text>
......@@ -756,7 +756,7 @@
</view>
</view>
<view style="padding-bottom: 22px;background-color: #FFF;" v-if="dataList.feature.detailsImageList && d.length>3">
<view style="padding-bottom: 22px;background-color: #FFF;" v-if="dataList.feature.detailsImageList && d.length>0">
<image :src="x" @click='previewTravelPicHandler(x,dataList.feature.detailsImageList)' mode="widthFix" style="width: 100%;height: auto;margin-bottom: 10px;" v-for="x in dataList.feature.detailsImageList"></image>
</view>
<view
......
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