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
a5f1716b
Commit
a5f1716b
authored
May 13, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增当地游
parent
919c653a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
258 additions
and
9 deletions
+258
-9
head.vue
src/components/global/head.vue
+9
-6
OneDayTour.vue
src/components/mall/OneDayTour.vue
+2
-1
OneDayTour2.vue
src/components/mall/OneDayTour2.vue
+236
-0
router.js
src/router.js
+9
-0
index.vue
src/views/index.vue
+2
-2
No files found.
src/components/global/head.vue
View file @
a5f1716b
...
...
@@ -88,12 +88,13 @@ color:rgba(51,51,51,1);
<el-menu-item index="2-2">一日游</el-menu-item>
</el-submenu> -->
<
el-menu-item
index=
"0"
@
click=
"goUrl('Home',true)"
><a
href=
"javascript:void(0);"
>
首页
</a></el-menu-item>
<
!-- <el-menu-item index="0" @click="goUrl('Home',true)"><a href="javascript:void(0);">首页</a></el-menu-item> -->
<el-menu-item
index=
"2-1"
@
click=
"handleSelect('2-1',false)"
><a
href=
"javascript:void(0);"
>
跟团游
</a></el-menu-item>
<el-menu-item
index=
"2-2"
@
click=
"handleSelect('2-2',true)"
><a
href=
"javascript:void(0);"
>
当地游
</a></el-menu-item>
<el-menu-item
index=
"3"
@
click=
"goUrl('TicketHome',true)"
><a
href=
"javascript:void(0);"
>
机票
</a></el-menu-item>
<el-menu-item
index=
"2-2"
@
click=
"handleSelect('2-2',true)"
><a
href=
"javascript:void(0);"
>
一日游
</a></el-menu-item>
<el-menu-item
index=
"2-3"
@
click=
"handleSelect('2-3',true)"
><a
href=
"javascript:void(0);"
>
当地游
</a></el-menu-item>
<!-- <el-menu-item index="3" @click="goUrl('TicketHome',true)"><a href="javascript:void(0);">机票</a></el-menu-item>
<el-menu-item index="4" @click="goUrl('VisaHomePage',true)"><a href="javascript:void(0);">签证</a></el-menu-item>
<el-menu-item
index=
"5"
@
click=
"goUrl('IndependentTravel',true)"
><a
href=
"javascript:void(0);"
>
自由行
</a></el-menu-item>
<el-menu-item index="5" @click="goUrl('IndependentTravel',true)"><a href="javascript:void(0);">自由行</a></el-menu-item>
-->
<!-- <el-menu-item index="5"><a href="javascript:void(0);">机票</a></el-menu-item>
<el-menu-item index="2"><a href="javascript:void(0);">酒店</a></el-menu-item>
...
...
@@ -221,8 +222,10 @@ export default {
if
(
key
===
'2-1'
)
{
this
.
$router
.
push
({
path
:
'/heel'
})
this
.
ifOneDay
=
false
}
else
if
(
key
===
'2-2'
)
{
this
.
$router
.
push
({
path
:
'/OneDayTour'
})
}
else
if
(
key
===
'2-2'
||
key
===
'2-3'
)
{
let
path
=
'/OneDayTour'
path
=
path
+
(
key
===
'2-3'
?
'2'
:
''
)
this
.
$router
.
push
({
path
:
path
})
this
.
ifOneDay
=
true
}
},
...
...
src/components/mall/OneDayTour.vue
View file @
a5f1716b
...
...
@@ -198,7 +198,8 @@ export default {
pageSize
:
4
,
companyId
:
this
.
companyId
,
lineId
:
x
.
id
,
lineTeamId
:
y
.
id
lineTeamId
:
y
.
id
,
Is_PacketGroup
:
0
,
//是否小包团1-是0-否
}
this
.
apipost
(
'b2b_get_GetB2BHomeLineTravelPageList'
,
msg
,
res
=>
{
this
.
recoItems
.
line
[
index
].
lineTeam
[
sIndex
].
pageData
=
res
.
data
.
data
.
pageData
...
...
src/components/mall/OneDayTour2.vue
0 → 100644
View file @
a5f1716b
This diff is collapsed.
Click to expand it.
src/router.js
View file @
a5f1716b
...
...
@@ -102,6 +102,15 @@ export default new Router({
title
:
"一日游-印象之旅~感动与世界同步"
}
},
{
path
:
"/OneDayTour2"
,
name
:
"OneDayTour2"
,
component
:
resolve
=>
require
([
"@/components/mall/OneDayTour2"
],
resolve
),
meta
:
{
title
:
"当地游-印象之旅~感动与世界同步"
}
},
{
path
:
"/coding"
,
name
:
"coding"
,
...
...
src/views/index.vue
View file @
a5f1716b
...
...
@@ -4,8 +4,8 @@
<
template
>
<div
class=
"home-box"
v-if=
"isPhone"
>
<
!--
<mallHead
msg=
""
@
forword=
'goUrl("2-1")'
@
siteCity=
"siteCity"
/>
--
>
<
newHead/
>
<
mallHead
msg=
""
@
forword=
'goUrl("2-1")'
@
siteCity=
"siteCity"
/
>
<
!--
<newHead/>
--
>
<div
:style=
'
{"min-height":minHeight+"px"}'>
<transition
name=
"slide"
>
<router-view
:changeCity=
'changeCity'
></router-view>
...
...
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