'title'=>'均价:' . $price_min . '-' . $price_max . '元'
];
}
//区域位置
$areas =Area::select()->where('pid', 0)->where('status', 1)->order('rank desc')->toArray('update_time', false)->findAll();
$areasChildTag = [];
if (!empty($wz)) {
$areasChild = Area::get($wz);
$areasChild->loadChild();
$areasChildTag = $areasChild->child;
}
if (!empty($wz) && empty($wzc)) {
$selectArea = Area::get($wz);
$selectArea->title = $selectArea->name;
$selectArea->tag_key = 'wz';
$selectTags[] = $selectArea->toArray('update_time', false);
}
if (!empty($wzc)) {
$selectAreasChild = Area::get($wzc);
$selectAreasChild->title = $selectAreasChild->name;
$selectAreasChild->tag_key = 'wz';
$selectTags[] = $selectAreasChild->toArray('update_time', false);
}
if(!empty($kw)){
$selectTags[] = ['title'=>'关键词:'.$kw];
}
$tagsData = ['jjTag' => $jjTag, 'areasTag' => $areas, 'areasChildTag' => $areasChildTag];
return ['tagsData' => $tagsData, 'selectTags' => $selectTags];
}
/**
* 用户当前已选择的筛选标签
* @param $tag
* @param $value
* @param $key
* @return array
trace调用栈
app\resold\service\CommunityService->getCommunityListTag(...)
app\house\pc\controller\HomeController->communityList(...)
ReflectionMethod->invokeArgs(...)
rap\web\mvc\HandlerAdapter->invokeRequest(...)
rap\web\mvc\ControllerHandlerAdapter->handle(...)
rap\web\mvc\Dispatcher->doDispatch(...)
rap\web\Application->start(...)
require(...)