Commit 9435ba7a authored by 吴春's avatar 吴春

1

parent 06f580d2
......@@ -4,8 +4,9 @@
<ul class="pd-list">
<li class="pd-box" v-for="(item,index) in DataList" :key="index">
<a class="pd-link">
<div class="pd-img"
:style="{backgroundImage:`url('${item.newCoverImg}')`}">
<template v-if="item.imgCover && item.imgCover.length > 0">
<div class="pd-img"
:style="{backgroundImage:`url('${item.imgCover[0].url}')`}">
<div class="pd-price">
<div class="price">
{{item.dayNum}}
......@@ -14,6 +15,19 @@
</div>
</div>
</div>
</template>
<template v-else>
<div class="pd-img">
<div class="pd-price">
<div class="price">
{{item.dayNum}}
<small class="unit"></small> {{item.b2BPrice}}
<small class="unit">元起</small>
</div>
</div>
</div>
</template>
<div class="pd-content">
<h3 class="pd-title">{{item.title}}</h3>
<div class="pd-departure">
......
......@@ -70,8 +70,8 @@
tick-strategy="leaf"
@update:ticked="handleTicked"
:ticked="ticked"
/> </q-card
></popup>
/>
</q-card ></popup>
<popup mode="top" v-model="showDate">
<q-card flat class="rounded-borders q-mt-lg overflow-hidden">
<div class="q-my-sm q-mx-lg f20 bold">旅程時間</div>
......@@ -358,7 +358,7 @@
</div>
</div>
<div
v-else-if="!$q.loading.isActive && DataList.length == 0"
v-else-if="!$q.loading.isActive && DataList&& DataList.length == 0"
class="text-center q-mt-xl"
>
<div class="text-center inline-block">
......
......@@ -965,6 +965,7 @@
</div>
</q-card-section>
<q-separator />
<div style="max-height: 550px;padding:20px 30px 30px 30px" class="scroll">
<div class="chosen-box">
<div class="chosen-tab">
......@@ -1416,7 +1417,15 @@ export default {
};
},
created() {},
watch:{
qMsg:{
handler(n,o){
console.log(n.searchKey,'====11111');
}
}
},
mounted() {
console.log(this.qMsg.searchKey,'====11111');
// 支付宝退款 测试使用
// this.apipost("GetAliPayReturn_post",{OrderNo:'D202304121702420001'},r=>{
// if(r.data.message=="退款成功"){
......@@ -1444,6 +1453,7 @@ export default {
var categoryId = this.getUrlKey("categoryId", window.location.href);
var seriesIds = this.getUrlKey("SeriesIds", window.location.href);
var lineIds = this.getUrlKey("LineIds", window.location.href);
console.log("qsearchKey",qsearchKey);
if (qsearchKey) {
this.qMsg.searchKey = qsearchKey;
}
......@@ -1470,11 +1480,11 @@ export default {
}
if ((qsearchKey || qsearchDate || qsearchEndDate) && this.ShowType != 2) {
this.goSearchHandler();
this.$forceUpdate();
}
},
methods: {
handlerSearchChange(value) {
console.log("handlerSearchChange", value);
this.qMsg = value;
this.goSearchHandler();
},
......
......@@ -83,6 +83,11 @@ const routes = [{
meta: { title: '出行检索' },
component: () =>
import ('pages/SearchProduct.vue')
},{
path: '/planeticket', //出行产品(机票)检索
meta: { title: '出行检索' },
component: () =>
import ('pages/planeticket.vue')
},
{
path: '/account', //用户信息
......
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