Showing
3 changed files
with
4 additions
and
5 deletions
@@ -182,8 +182,8 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() { | @@ -182,8 +182,8 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() { | ||
182 | $(this).addClass('highlight'); | 182 | $(this).addClass('highlight'); |
183 | }).on('touchend touchcancel', '.tap-hightlight', function() { | 183 | }).on('touchend touchcancel', '.tap-hightlight', function() { |
184 | $(this).removeClass('highlight'); | 184 | $(this).removeClass('highlight'); |
185 | - | ||
186 | }); | 185 | }); |
186 | + | ||
187 | $('.nav-home').on('touchstart', function() { | 187 | $('.nav-home').on('touchstart', function() { |
188 | $('.homebuttom').toggleClass('none'); | 188 | $('.homebuttom').toggleClass('none'); |
189 | }); | 189 | }); |
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <div class="iHelp"> | 2 | <div class="iHelp"> |
3 | <ul> | 3 | <ul> |
4 | {{# iHelp}} | 4 | {{# iHelp}} |
5 | - <li><a href="/home/helpDetail?caption={{ caption}}"><span>{{ caption}}</span><i class="iconfont num"></i></a></li> | 5 | + <li><a href="/home/helpDetail?code={{ code}}"><span>{{ name}}</span><i class="iconfont num"></i></a></li> |
6 | {{/ iHelp}} | 6 | {{/ iHelp}} |
7 | </ul> | 7 | </ul> |
8 | </div> | 8 | </div> |
@@ -876,12 +876,11 @@ class HomeController extends AbstractAction | @@ -876,12 +876,11 @@ class HomeController extends AbstractAction | ||
876 | */ | 876 | */ |
877 | public function helpAction() | 877 | public function helpAction() |
878 | { | 878 | { |
879 | + $service = Home\HelpModel::serviceInfo(); | ||
879 | $this->setTitle('帮助中心'); | 880 | $this->setTitle('帮助中心'); |
880 | $this->setNavHeader('帮助中心'); | 881 | $this->setNavHeader('帮助中心'); |
881 | $data = array( | 882 | $data = array( |
882 | - 'iHelp' => array( | ||
883 | - array('caption' => '新用户注册'), | ||
884 | - ) | 883 | + 'iHelp' =>$service, |
885 | ); | 884 | ); |
886 | $this->_view->display('i-help', $data); | 885 | $this->_view->display('i-help', $data); |
887 | } | 886 | } |
-
Please register or login to post a comment