Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
94c74dec
Commit
94c74dec
authored
Apr 10, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4dbf13ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
83 deletions
+0
-83
list.vue
src/components/searchdata/list.vue
+0
-83
No files found.
src/components/searchdata/list.vue
deleted
100644 → 0
View file @
4dbf13ee
<
template
>
<!-- 列表 -->
<div
class=
"group-result-list"
>
<div
class=
"group-statis-block"
>
<div
class=
"group-share"
style=
"display:none;"
></div>
<div
class=
"group-statis-detail"
>
<span
class=
"title"
v-if=
"qMsg.searchKey"
>
{{
qMsg
.
searchKey
}}
:
</span>
找到
<span
class=
"num"
>
{{
qMsg
.
TotalCount
}}
</span>
個行程
<span
class=
"pc"
>
,目前在第
<span
style=
"color: #7f7f7f;"
>
{{
qMsg
.
pageIndex
}}
</span>
頁
</span>
</div>
</div>
<div>
<div
class=
"group-box"
v-for=
"(item,index) in DataList"
:key=
"index"
>
<a
class=
"group-cover"
>
<img
v-if=
"item.newCoverImg"
:src=
"item.newCoverImg"
/>
</a>
<div
class=
"group-main"
>
<div
class=
"group-info"
>
<div
class=
"group-name"
style=
"margin-bottom:5px;cursor:pointer"
@
click=
"GotoDetails(item)"
>
{{
item
.
title
}}
</div>
<div
class=
"group-detail"
>
<i
class=
"iconfont iconaddress"
></i>
<span>
{{
item
.
countryName
}}
</span>
</div>
<div
class=
"group-detail"
>
<i
class=
"iconfont icontime"
></i>
<span>
{{
item
.
dayNum
}}
天
</span>
</div>
<ul
class=
"group-list"
>
<li>
<a>
{{
item
.
startDate
}}
</a>
</li>
</ul>
</div>
<div
class=
"price-info"
>
<div
class=
"price-wrap"
>
<div
class=
"price_Search"
>
<small
class=
"price_unit"
>
TWD$
</small>
{{
item
.
b2BPrice
}}
</div>
<a
class=
"btn_warning"
@
click=
"GotoDetails(item)"
style=
"cursor:pointer"
>
更多出發日
</a>
</div>
</div>
</div>
</div>
<div
style=
"display:flex;justify-content: center;"
>
<q-pagination
v-if=
"qMsg.PageCount>1"
v-model=
"qMsg.pageIndex"
:max=
"qMsg.PageCount"
@
input=
"gerOrderList()"
:direction-links=
"true"
>
</q-pagination>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
inject
,
provide
,
reactive
,
toRefs
,
defineComponent
,
onMounted
}
from
'vue'
;
import
{
useRouter
}
from
'vue-router'
export
default
{
props
:
[
"DataList"
,
"qMsg"
],
setup
(
props
,
context
)
{
const
$router
=
useRouter
()
const
data
=
reactive
({
DataList
:
props
.
DataList
,
qMsg
:
props
.
qMsg
,
})
const
methods
=
{
GotoDetails
(
item
)
{
$router
.
push
({
path
:
`/detail/
${
encodeURIComponent
(
item
.
id
)}
/
${
item
.
tcid
}
`
})
},
//调用
gerOrderList
(){
context
.
emit
(
'getPage'
)
}
}
return
{
...
toRefs
(
data
),
...
methods
}
}
}
</
script
>
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