Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
8 years ago
Commit
6518ec17c76d17ec0bb56e1eb1fd0cc5050b3bae
1 parent
c34bb21a
帮助中心样式修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
apps/help/views/action/help.hbs
public/js/help/help-index.page.js
public/scss/help/_help.css
apps/help/views/action/help.hbs
View file @
6518ec1
...
...
@@ -24,7 +24,7 @@
<ul
class=
"menu-common new-guide"
>
{{#
each
categoryItems
}}
<li>
<a
href=
"
{{
jumpLink
}}
"
><img
src=
"
{{
categoryIco
}}
"
width=
"70"
h
ref
=
"70"
></a>
<a
href=
"
{{
jumpLink
}}
"
><img
src=
"
{{
categoryIco
}}
"
width=
"70"
h
eight
=
"70"
></a>
<p>
{{
categoryName
}}
</p>
</li>
{{/
each
}}
...
...
@@ -36,7 +36,7 @@
<ul
class=
"menu-common self-service"
>
{{#
each
list
}}
<li>
<a
href=
"
{{
jumpUrl
}}
"
><img
src=
"
{{
categoryIco
}}
"
width=
"70"
h
ref
=
"70"
></a>
<a
href=
"
{{
jumpUrl
}}
"
><img
src=
"
{{
categoryIco
}}
"
width=
"70"
h
eight
=
"70"
></a>
<p>
{{
categoryName
}}
</p>
</li>
{{/
each
}}
...
...
public/js/help/help-index.page.js
View file @
6518ec1
...
...
@@ -23,6 +23,22 @@ $(function() {
}
});
$
(
'.new-guide li'
).
each
(
function
(
key
,
item
)
{
if
(
key
%
5
===
0
)
{
$
(
item
).
css
({
marginLeft
:
0
});
}
});
$
(
'.self-service li'
).
each
(
function
(
key
,
item
)
{
if
(
key
%
6
===
0
)
{
$
(
item
).
css
({
marginLeft
:
0
});
}
});
setTimeout
(
function
()
{
new
Scroller
(
'notice'
,
30
,
5
);
},
5000
);
...
...
public/scss/help/_help.css
View file @
6518ec1
...
...
@@ -132,12 +132,13 @@
.menu-common
{
width
:
992px
;
margin
:
6
5px
auto
;
margin
:
4
5px
auto
;
height
:
auto
;
overflow
:
hidden
;
li
{
float
:
left
;
margin-top
:
20px
;
&:first-child
{
margin-left
:
0
;
...
...
Please
register
or
login
to post a comment