huangdong 6 年之前
父节点
当前提交
3c806d3897
共有 2 个文件被更改,包括 15 次插入1 次删除
  1. 2 1
      helper/room/tpl_group_home.php
  2. 13 0
      test/TestTalk.php

+ 2 - 1
helper/room/tpl_group_home.php

@@ -176,7 +176,7 @@ class tpl_group_home
         return ($this->relay_id > 0 && isset($this->participants[$this->relay_id]));
     }
 
-    public function show_members($limit = 10)
+    public function show_members($limit = 25)
     {
         $html = '';
 
@@ -221,6 +221,7 @@ class tpl_group_home
 
                 if($this->isManager($uids))
                 {
+                    if($i <= $cnt) $cnt = $cnt + 1;
                     $head = "<img src=\"{$member['avatar']}\" alt=\"\">
                                 <p>{$member['nickname']}</p>
                                 <span class=\"admin\">管理员</span>

+ 13 - 0
test/TestTalk.php

@@ -90,4 +90,17 @@ class TestTalk extends PHPUnit_Framework_TestCase
         $val = urldecode($val1);
 
     }
+
+
+    public function testRankSteps()
+    {
+        $from = "";
+        $to = "";
+
+        $mod = Model('room');
+//        $mod->
+
+
+
+    }
 }