Showing
3 changed files
with
12 additions
and
13 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 | +}); | ||
185 | 186 | ||
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> |
@@ -874,17 +874,16 @@ class HomeController extends AbstractAction | @@ -874,17 +874,16 @@ class HomeController extends AbstractAction | ||
874 | /** | 874 | /** |
875 | * 帮助列表页 | 875 | * 帮助列表页 |
876 | */ | 876 | */ |
877 | - public function helpAction() | ||
878 | - { | ||
879 | - $this->setTitle('帮助中心'); | ||
880 | - $this->setNavHeader('帮助中心'); | ||
881 | - $data = array( | ||
882 | - 'iHelp' => array( | ||
883 | - array('caption' => '新用户注册'), | ||
884 | - ) | ||
885 | - ); | ||
886 | - $this->_view->display('i-help', $data); | ||
887 | - } | 877 | + public function helpAction() |
878 | + { | ||
879 | + $service = Home\HelpModel::serviceInfo(); | ||
880 | + $this->setTitle('帮助中心'); | ||
881 | + $this->setNavHeader('帮助中心'); | ||
882 | + $data = array( | ||
883 | + 'iHelp' =>$service, | ||
884 | + ); | ||
885 | + $this->_view->display('i-help', $data); | ||
886 | + } | ||
888 | 887 | ||
889 | /** | 888 | /** |
890 | * 帮助列表页 | 889 | * 帮助列表页 |
-
Please register or login to post a comment