dever 4 년 전
부모
커밋
723e84682e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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).'条回复';;
             }
         }