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
99e090ae
Commit
99e090ae
authored
Mar 06, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
# Conflicts: # src/router.js
parents
51fe91e9
f84742f7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
18 deletions
+17
-18
confirmationOrderDownLoad.vue
src/components/global/confirmationOrderDownLoad.vue
+3
-3
detailTwo.vue
src/components/mall/detailTwo.vue
+2
-2
search.vue
src/components/mall/search.vue
+5
-5
index.js
src/plugins/index.js
+1
-1
router.js
src/router.js
+6
-7
No files found.
src/components/global/confirmationOrderDownLoad.vue
View file @
99e090ae
...
...
@@ -2101,7 +2101,7 @@
},
setDate
:
function
(
j
)
{
let
stDate
=
this
.
sonData
.
currentPriceInfo
.
startDate
let
stDate
=
this
.
sonData
.
currentPriceInfo
&&
this
.
sonData
.
currentPriceInfo
.
startDate
?
this
.
sonData
.
currentPriceInfo
.
startDate
:
''
if
(
j
===
0
)
{
return
stDate
}
else
{
...
...
@@ -2174,7 +2174,7 @@
init
()
{
if
(
true
)
{
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sonData
))
this
.
orderTripdiff
=
data
.
currentPriceInfo
.
priceFlight
;
this
.
orderTripdiff
=
data
.
currentPriceInfo
&&
data
.
currentPriceInfo
.
priceFlight
?
data
.
currentPriceInfo
.
priceFlight
:
[]
;
if
(
this
.
orderTripdiff
&&
this
.
orderTripdiff
.
flightInfoJson
)
{
this
.
orderTripdiff
.
travelOrderFlightList
=
JSON
.
parse
(
this
.
orderTripdiff
.
flightInfoJson
);
}
...
...
@@ -2245,7 +2245,7 @@
this
.
feature
=
data
.
feature
this
.
showType
=
this
.
feature
.
featureType
;
this
.
isDirect
=
data
.
isDirect
;
if
(
data
.
currentPriceInfo
.
priceFlight
.
length
>
0
)
{
if
(
data
.
currentPriceInfo
&&
data
.
currentPriceInfo
.
priceFlight
.
length
>
0
)
{
data
.
currentPriceInfo
.
priceFlight
.
forEach
((
x
,
i
)
=>
{
if
(
i
==
0
)
{
x
.
dayNum
=
1
;
...
...
src/components/mall/detailTwo.vue
View file @
99e090ae
...
...
@@ -925,8 +925,8 @@ export default {
// })
// }
this
.
priceList
=
data
.
priceList
;
this
.
clickDate
=
data
.
currentPriceInfo
.
startDate
;
this
.
FlightList
=
data
.
currentPriceInfo
.
priceFlight
;
this
.
clickDate
=
data
.
currentPriceInfo
&&
data
.
currentPriceInfo
.
startDate
?
data
.
currentPriceInfo
.
startDate
:
''
;
this
.
FlightList
=
data
.
currentPriceInfo
&&
data
.
currentPriceInfo
.
priceFlight
?
data
.
currentPriceInfo
.
priceFlight
:
''
;
this
.
dataList
=
data
;
this
.
toDayObj
=
this
.
priceList
&&
this
.
priceList
.
length
>
0
?
this
.
priceList
[
0
]:
null
;
this
.
imgCover
=
JSON
.
parse
(
this
.
dataList
.
imgCover
);
...
...
src/components/mall/search.vue
View file @
99e090ae
...
...
@@ -110,13 +110,13 @@
<div
class=
"daynum"
>
{{
item
.
dayNum
}}
天
</div>
<el-carousel
:interval=
"3000"
:autoplay=
'hoverIndex==index'
arrow=
"never"
height=
"148"
:style=
"
{'background':'#ddd'}" v-if='item.imgCover!=""'>
<el-carousel-item
v-for=
"(img,imgIndex) in JSON.parse(item.imgCover)"
:key=
"imgIndex"
v-if=
'img.Url!=""'
>
<img
v-lazy=
'`$
{img.Url}?x-oss-process=image/resize,m_fill,h_148,w_200`' @click="goUrl('detail',item.id)">
<img
v-lazy=
'`$
{img.Url}?x-oss-process=image/resize,m_fill,h_148,w_200`' @click="goUrl('detail',item.id
,item.tcid
)">
</el-carousel-item>
</el-carousel>
<img
v-else
style=
"height:100%;width:100%"
src=
'../../assets/img/banner@3x.png'
/>
</div>
<div
class=
"contentbox"
>
<div
class=
"title"
@
click=
"goUrl('detail',item.id)"
>
{{
item
.
title
}}
</div>
<div
class=
"title"
@
click=
"goUrl('detail',item.id
,item.tcid
)"
>
{{
item
.
title
}}
</div>
<div
class=
"item-info"
>
<span>
<i
class=
"iconfont icon-bb-chufadi"
></i>
出发地:
{{
item
.
startCityName
?
item
.
startCityName
:
'成都'
}}
...
...
@@ -150,7 +150,7 @@
<
div
class
=
"price"
>
¥
{{
isLogin
!==
1
?
item
.
b2CPrice
:
item
.
b2BPrice
}}
<
span
>
起
<
/span
>
<
/div
>
<
el
-
button
size
=
'mini'
@
click
=
"goUrl('detail',item.id)"
>
立即预订
<
/el-button
>
<
el
-
button
size
=
'mini'
@
click
=
"goUrl('detail',item.id
,item.tcid
)"
>
立即预订
<
/el-button
>
<
/div
>
<
/div
>
<
div
class
=
"item-pager"
v
-
if
=
'teamDatas.length>0'
>
...
...
@@ -216,10 +216,10 @@ export default {
this
.
loadDayCount
()
}
,
methods
:
{
goUrl
(
path
,
id
){
goUrl
(
path
,
id
,
tcid
){
// detailTwo
path
=
'detailTwo'
path
=
`${path
}
/${encodeURIComponent(id)
}
`
path
=
`${path
}
/${encodeURIComponent(id)
}
/`
+
tcid
this
.
$router
.
push
({
path
}
)
}
,
proving
(){
...
...
src/plugins/index.js
View file @
99e090ae
...
...
@@ -14,7 +14,7 @@ export default {
// var domainUrl = "http://test_reborn.oytour.com";//主域名
//var domainUrl = "http://reborn.oytour.com"; //主域名
// var domainUrl = "http://192.168.2.214:8082"//主域名
let
domainUrl
=
"http
://192.168.2.16:8083
"
;
//刘东主域名
let
domainUrl
=
"http
s://reborn.oytour.com
"
;
//刘东主域名
if
(
this
.
isOnline
())
{
if
(
window
.
location
.
host
.
indexOf
(
'viitto.com'
)
!=-
1
)
domainUrl
=
"http://test.viitto.com"
...
...
src/router.js
View file @
99e090ae
...
...
@@ -50,13 +50,12 @@ export default new Router({
}
},
{
path
:
"/detailTwo/:id/:pre"
,
name
:
"detailTwo"
,
component
:
resolve
=>
require
([
"@/components/mall/detailTwo"
],
resolve
),
meta
:
{
title
:
"团队详情-印象之旅~感动与世界同步"
}
path
:
'/detailTwo/:id/:tcid/:pre'
,
name
:
'detailTwo'
,
component
:
resolve
=>
require
([
'@/components/mall/detailTwo'
],
resolve
),
meta
:
{
title
:
'团队详情-印象之旅~感动与世界同步'
}
},
{
path
:
"/heel"
,
...
...
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