Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
9435ba7a
Commit
9435ba7a
authored
Nov 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06f580d2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
6 deletions
+35
-6
block.vue
src/components/searchProductdata/block.vue
+16
-2
kkday.vue
src/components/searchProductdata/kkday.vue
+3
-3
SearchProduct.vue
src/pages/SearchProduct.vue
+11
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/components/searchProductdata/block.vue
View file @
9435ba7a
...
...
@@ -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"
>
...
...
src/components/searchProductdata/kkday.vue
View file @
9435ba7a
...
...
@@ -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"
>
...
...
src/pages/SearchProduct.vue
View file @
9435ba7a
...
...
@@ -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
();
},
...
...
src/router/routes.js
View file @
9435ba7a
...
...
@@ -83,6 +83,11 @@ const routes = [{
meta
:
{
title
:
'出行检索'
},
component
:
()
=>
import
(
'pages/SearchProduct.vue'
)
},{
path
:
'/planeticket'
,
//出行产品(机票)检索
meta
:
{
title
:
'出行检索'
},
component
:
()
=>
import
(
'pages/planeticket.vue'
)
},
{
path
:
'/account'
,
//用户信息
...
...
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