{{info}}
{{msg}}
  
  1. 'title'=>'均价:' . $price_min . '-' . $price_max . '元'
  2. ];
  3. }
  4. //区域位置
  5. $areas =Area::select()->where('pid', 0)->where('status', 1)->order('rank desc')->toArray('update_time', false)->findAll();
  6. $areasChildTag = [];
  7. if (!empty($wz)) {
  8. $areasChild = Area::get($wz);
  9. $areasChild->loadChild();
  10. $areasChildTag = $areasChild->child;
  11. }
  12. if (!empty($wz) && empty($wzc)) {
  13. $selectArea = Area::get($wz);
  14. $selectArea->title = $selectArea->name;
  15. $selectArea->tag_key = 'wz';
  16. $selectTags[] = $selectArea->toArray('update_time', false);
  17. }
  18. if (!empty($wzc)) {
  19. $selectAreasChild = Area::get($wzc);
  20. $selectAreasChild->title = $selectAreasChild->name;
  21. $selectAreasChild->tag_key = 'wz';
  22. $selectTags[] = $selectAreasChild->toArray('update_time', false);
  23. }
  24. if(!empty($kw)){
  25. $selectTags[] = ['title'=>'关键词:'.$kw];
  26. }
  27. $tagsData = ['jjTag' => $jjTag, 'areasTag' => $areas, 'areasChildTag' => $areasChildTag];
  28. return ['tagsData' => $tagsData, 'selectTags' => $selectTags];
  29. }
  30. /**
  31. * 用户当前已选择的筛选标签
  32. * @param $tag
  33. * @param $value
  34. * @param $key
  35. * @return array
trace调用栈
    
  1. app\resold\service\CommunityService->getCommunityListTag(...)
  2. app\house\pc\controller\HomeController->communityList(...)
  3. ReflectionMethod->invokeArgs(...)
  4. rap\web\mvc\HandlerAdapter->invokeRequest(...)
  5. rap\web\mvc\ControllerHandlerAdapter->handle(...)
  6. rap\web\mvc\Dispatcher->doDispatch(...)
  7. rap\web\Application->start(...)
  8. require(...)