dever 6 years ago
parent
commit
fcb0f8e592
2 changed files with 8 additions and 3 deletions
  1. 2 0
      tm/lib/Controller/EventsController.class.php
  2. 6 3
      tm/template_dir/events_top.html

+ 2 - 0
tm/lib/Controller/EventsController.class.php

@@ -248,6 +248,8 @@ class EventsController extends Controller {
 		} elseif ($type == 'help') {
 			# 获得助力排行
 			$this->help($info, $plat_form_id, 10, false);
+		} else {
+			$this->help($info, $plat_form_id, 10, false);
 		}
 
 		$this->setOutput('type', $type);

+ 6 - 3
tm/template_dir/events_top.html

@@ -47,6 +47,11 @@
             <{if $info.is_column_tag_1 == 1}>
             <li <{if !$type}>class="cur"<{/if}>><a href="<{$info.thisUrl}>"><{$info.column_tag_1}></a></li>
             <{/if}>
+
+            <{if $info.type == 4 && $info.is_column_tag_4 == 1}>
+            <li <{if $type == 'help'}>class="cur"<{/if}>><a href="<{$info.thisUrl}>/help"><{$info.column_tag_4}></a></li>
+            <{/if}>
+            
             <{if $info.prize && $info.is_column_tag_2 == 1}>
             <li <{if $type == 'prize'}>class="cur"<{/if}>><a href="<{$info.thisUrl}>/prize"><{$info.column_tag_2}></a></li>
             <{/if}>
@@ -54,9 +59,7 @@
             <li <{if $type == 'feedback'}>class="cur"<{/if}>><a href="<{$info.thisUrl}>/feedback"><{$info.column_tag_3}></a></li>
             <{/if}>
 
-            <{if $info.type == 4 && $info.is_column_tag_4 == 1}>
-            <li <{if $type == 'help'}>class="cur"<{/if}>><a href="<{$info.thisUrl}>/help"><{$info.column_tag_4}></a></li>
-            <{/if}>
+            
         </ul>
     </section>
     <{/if}>