Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
ef2ce8e1
Commit
ef2ce8e1
authored
Nov 08, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头部点击
parent
3e948559
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
PageTop.vue
src/components/index/PageTop.vue
+23
-2
No files found.
src/components/index/PageTop.vue
View file @
ef2ce8e1
...
...
@@ -16,8 +16,8 @@
v-for=
"(item,index) in list"
>
{{
$t
(
'topNav.'
+
item
.
name
)
}}
</li>
<div
class=
"childrenLi"
v-if=
"isShowChildren"
>
<p
@
click=
"
$router.push('/lndustryfocus')
"
>
{{
$t
(
'topNav.professionfocusing'
)
}}
</p>
<p
@
click=
"
$router.push('/successfulcase')
"
>
{{
$t
(
'topNav.cooperationcase'
)
}}
</p>
<p
@
click=
"
handleToIndustryFocus
"
>
{{
$t
(
'topNav.professionfocusing'
)
}}
</p>
<p
@
click=
"
handleToCase
"
>
{{
$t
(
'topNav.cooperationcase'
)
}}
</p>
</div>
<li
v-if=
"userInfo"
class=
"workPlaceLi"
@
click=
"handleToWork"
><span
class=
"iconfont icon-ic_web"
style=
"color: #ff9e29;"
></span>
{{
$t
(
"topNav.workPlace"
)
}}
</li>
</ul>
...
...
@@ -195,6 +195,25 @@
}
},
methods
:
{
handleToIndustryFocus
(){
this
.
currentIndex
=
3
;
this
.
$emit
(
"itemNav"
,
3
);
globalMsg
.
$emit
(
"sendItemNav"
,
3
);
window
.
sessionStorage
.
setItem
(
"currentNav"
,
3
);
this
.
$router
.
push
(
"/lndustryfocus"
);
},
handleToCase
(){
this
.
currentIndex
=
3
;
this
.
$emit
(
"itemNav"
,
3
);
globalMsg
.
$emit
(
"sendItemNav"
,
3
);
window
.
sessionStorage
.
setItem
(
"currentNav"
,
3
);
this
.
$router
.
push
(
"/successfulcase"
);
},
handleClick
(
index
)
{
this
.
$emit
(
'aboutwebtn'
,
index
+
''
);
if
(
this
.
currentIndex
!=
index
){
...
...
@@ -221,8 +240,10 @@
this
.
$router
.
push
(
"/bigBusiness/list"
);
}
else
this
.
$router
.
push
(
"/completeInfoCmpt"
);
}
if
(
index
!=
3
){
this
.
$emit
(
"itemNav"
,
index
);
globalMsg
.
$emit
(
"sendItemNav"
,
index
);
}
},
...
...
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