Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
535d25d51253840a51a897a35832a9741082dc14
1 parent
6b5585d0
后台协商之后调整部分输出 @ 赵彪
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
static/js/common.js
template/m.yohobuy.com/actions/index/home/i-help.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/js/common.js
View file @
535d25d
...
...
@@ -182,8 +182,8 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() {
$
(
this
).
addClass
(
'highlight'
);
}).
on
(
'touchend touchcancel'
,
'.tap-hightlight'
,
function
()
{
$
(
this
).
removeClass
(
'highlight'
);
});
});
$
(
'.nav-home'
).
on
(
'touchstart'
,
function
()
{
$
(
'.homebuttom'
).
toggleClass
(
'none'
);
});
...
...
template/m.yohobuy.com/actions/index/home/i-help.phtml
View file @
535d25d
...
...
@@ -2,7 +2,7 @@
<div
class=
"iHelp"
>
<ul>
{
{#
iHelp
}
}
<li><a
href=
"/home/helpDetail?c
aption={{ caption}}"
><span>
{
{
caption
}
}</span><i
class=
"iconfont num"
>
604
;</i></a></li>
<li><a
href=
"/home/helpDetail?c
ode={{ code}}"
><span>
{
{
name
}
}</span><i
class=
"iconfont num"
>
604
;</i></a></li>
{
{/
iHelp
}
}
</ul>
</div>
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
535d25d
...
...
@@ -874,17 +874,16 @@ class HomeController extends AbstractAction
/**
* 帮助列表页
*/
public
function
helpAction
()
{
$this
->
setTitle
(
'帮助中心'
);
$this
->
setNavHeader
(
'帮助中心'
);
$data
=
array
(
'iHelp'
=>
array
(
array
(
'caption'
=>
'新用户注册'
),
)
);
$this
->
_view
->
display
(
'i-help'
,
$data
);
}
public
function
helpAction
()
{
$service
=
Home\HelpModel
::
serviceInfo
();
$this
->
setTitle
(
'帮助中心'
);
$this
->
setNavHeader
(
'帮助中心'
);
$data
=
array
(
'iHelp'
=>
$service
,
);
$this
->
_view
->
display
(
'i-help'
,
$data
);
}
/**
* 帮助列表页
...
...
Please
register
or
login
to post a comment