Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
da38bc3db036f9962009e675713e713c420574a9
1 parent
0ceef9f2
update
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
framework
static/js/category/index.js
static/sass/category/_index.scss
framework
@
119c247f
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit
119c247f5cf929aa1e059e40609bb16dd6b58f05
...
...
static/js/category/index.js
View file @
da38bc3
...
...
@@ -68,4 +68,14 @@ ccHammer.on('tap', function(e) {
$subLevel
.
not
(
'.hide'
).
addClass
(
'hide'
);
$subLevel
.
eq
(
index
).
removeClass
(
'hide'
);
}
});
$
(
'.sub-level'
).
bind
(
'touchstart'
,
function
(
e
)
{
var
$cur
=
$
(
e
.
target
);
$cur
.
addClass
(
'a-highlight'
);
if
(
$curClickSubLevel
)
{
$curClickSubLevel
.
removeClass
(
'a-highlight'
);
}
$curClickSubLevel
=
$cur
;
});
\ No newline at end of file
...
...
static/sass/category/_index.scss
View file @
da38bc3
...
...
@@ -99,7 +99,6 @@
background
:
#fff
;
width
:
60%
;
height
:
100%
;
overflow
:
auto
;
}
.sub-level
{
...
...
@@ -126,4 +125,8 @@
color
:
#000
;
}
}
.a-highlight
{
text-decoration
:
underline
;
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment