Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2017-09-21 14:31:40 +0800
Commit
71eb9cf07968b643d0865ff3e09ee69a29d0d7f2
2 parents
4c0f1cf8
313eb8f3
Merge branch 'feature/newHome' into 'release/6.1'
nav-home See merge request
!921
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
doraemon/views/partial/header.hbs
public/js/common.js
public/scss/layout/_header.css
doraemon/views/partial/header.hbs
View file @
71eb9cf
...
...
@@ -10,7 +10,7 @@
{{/
navBack
}}
{{/
unless
}}
{{#
navBtn
}}
<span
class=
"iconfont nav-home"
>

</span>
<span
class=
"iconfont nav-home
new-nav-home
"
>

</span>
{{/
navBtn
}}
{{#
shopPage
}}
<a
href=
"
{{
url
}}
"
class=
"nav-sub-right"
>
{{
text
}}
</a>
...
...
public/js/common.js
View file @
71eb9cf
...
...
@@ -309,7 +309,7 @@ $('.nav-home').on('touchstart', function() {
$
(
'.main-wrap'
).
on
(
'click'
,
'*'
,
(
e
)
=>
{
let
$this
=
$
(
e
.
currentTarget
);
if
(
!
$this
.
hasClass
(
'nav-home'
))
{
if
(
!
$this
.
hasClass
(
'n
ew-n
av-home'
))
{
$
(
'.homebuttom'
).
addClass
(
'hide'
);
}
else
{
return
false
;
...
...
public/scss/layout/_header.css
View file @
71eb9cf
...
...
@@ -97,13 +97,13 @@
.nav-back
{
@extend
nav;
left
:
10px
;
left
:
0
;
}
.nav-home
{
@extend
nav;
right
:
10px
;
right
:
0
;
}
.nav-btn
{
...
...
Please
register
or
login
to post a comment