cate_id=$cate_id; } $word = I('get.word'); if(!empty($word)){ $this->word =$word; } $map = ['status'=>DBCont::YES_BOOL_STATUS]; $news_cate = D('NewsCate')->where($map)->order('sort asc,id asc')->select(); $this->news_cate = $news_cate; $hasLine = $style ? 'has-line' : ''; $this->hasLine=$hasLine; $this->display('Widget/navMenu'); } }