dever 4 anos atrás
pai
commit
723e84682e
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app/community/lib/Moment.php

+ 2 - 0
app/community/lib/Moment.php

@@ -139,11 +139,13 @@ class Moment
 
         # 获取热门的子信息
         $info['child'] = array();
+        $info['more'] = '';
         if ($info['type'] < 20) {
             $child = $this->getData('getHot', $uid, 30, $info['id'], true, 1);
             if ($child && $child['info']) {
                 $info['child'] = $child['info'];
                 $info['child_total'] = $child['total'];
+                $info['more'] = '展开'.($info['child_total']-3).'条回复';;
             }
         }