Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
0fdb1b72
Commit
0fdb1b72
authored
Aug 29, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
241cf99b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
FreeHome.vue
src/components/FreeTravel/FreeHome.vue
+11
-11
FreeList.vue
src/components/FreeTravel/FreeList.vue
+2
-2
FreeList2.vue
src/components/FreeTravel/FreeList2.vue
+2
-2
No files found.
src/components/FreeTravel/FreeHome.vue
View file @
0fdb1b72
...
...
@@ -659,7 +659,7 @@
reserve-keyword
placeholder=
"输入目的地/景点/关键字,搜索您需要的信息.."
:remote-method=
"searchKey"
@
focus=
"inputActive = true, changeId = '', queryStr = '', searchList =
''
"
@
focus=
"inputActive = true, changeId = '', queryStr = '', searchList =
[]
"
@
change=
'getSelect'
:loading=
"loading2"
>
<el-option
...
...
@@ -684,7 +684,7 @@
搜索
</div>
</div>
<div
v-show=
"inputActive && queryStr == ''"
class=
"inputActive"
@
click
.
stop
>
<div
v-show=
"inputActive && queryStr == ''
&& searchList.length
<
1
"
class=
"inputActive"
@
click
.
stop
>
<el-row
v-if=
"CCList.length>0 "
>
<el-col
:span=
"6"
>
<div
class=
"city-tag __cp"
v-for=
"(item, index) in CCList"
@
click=
"CCListActive = index"
:class=
"
{'active': CCListActive == index}" :key="index" >
...
...
@@ -872,7 +872,7 @@
<div
class=
"jingxuanbg"
>
<img
:onerror=
"defaultImg"
src=
"../../assets/img/freeHome/jingxuanbg.png"
alt=
""
>
</div>
<div
class=
"jinxuan-time"
>
<div
class=
"jinxuan-time"
v-if=
"item.sale_dates.saleDt"
>
<span
class=
"number"
>
{{
getMonth
(
item
.
sale_dates
.
saleDt
[
0
].
sale_day
)
}}
</span><span
class=
"text"
>
月
</span><span
class=
"number number2"
>
{{
getDay
(
item
.
sale_dates
.
saleDt
[
0
].
sale_day
)
}}
</span><span
class=
"text"
>
日
</span>
</div>
</div>
...
...
@@ -1137,7 +1137,7 @@ export default {
},
goDetails
(
obj
,
type
){
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
fullPath
=
`/FreeDetail?id=
${
type
?
obj
.
pkg_no
:
obj
.
prod_
url_
no
}
`
;
let
fullPath
=
`/FreeDetail?id=
${
type
?
obj
.
pkg_no
:
obj
.
prod_no
}
`
;
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
//console.log(that.$refs.blankLink.click())
dom
.
click
()
...
...
@@ -1146,7 +1146,7 @@ export default {
this
.
$router
.
push
({
name
:
"FreeDetail"
,
query
:
{
id
:
type
?
obj
.
p
kg_no
:
obj
.
prod_url
_no
,
id
:
type
?
obj
.
p
rod_no
:
obj
.
prod
_no
,
}
});
},
...
...
@@ -1294,12 +1294,12 @@ export default {
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
//
let data = res.data.data
//
console.log(data)
//
for(let i = 0; i
<
data
.
length
;
i
++
){
//
data[i].url = TaoCanIds[i].url
//
}
//
this.TaoCanList = data
let
data
=
res
.
data
.
data
console
.
log
(
data
)
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
data
[
i
].
url
=
TaoCanIds
[
i
].
url
}
this
.
TaoCanList
=
data
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/FreeTravel/FreeList.vue
View file @
0fdb1b72
...
...
@@ -942,7 +942,7 @@ export default {
goDetails
(
obj
){
console
.
log
(
obj
)
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_
url_
no
}
`
;
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_no
}
`
;
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
//console.log(that.$refs.blankLink.click())
dom
.
click
()
...
...
@@ -950,7 +950,7 @@ export default {
this
.
$router
.
push
({
name
:
"FreeDetail"
,
query
:
{
id
:
obj
.
prod_
url_
no
,
id
:
obj
.
prod_no
,
}
});
},
...
...
src/components/FreeTravel/FreeList2.vue
View file @
0fdb1b72
...
...
@@ -1012,7 +1012,7 @@ export default {
},
goDetails
(
obj
){
let
dom
=
document
.
querySelector
(
"#blankLink"
)
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_
url_
no
}
`
;
let
fullPath
=
`/FreeDetail?id=
${
obj
.
prod_no
}
`
;
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
//console.log(that.$refs.blankLink.click())
dom
.
click
()
...
...
@@ -1020,7 +1020,7 @@ export default {
this
.
$router
.
push
({
name
:
"FreeDetail"
,
query
:
{
id
:
obj
.
prod_
url_
no
,
id
:
obj
.
prod_no
,
}
});
},
...
...
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