{eyou:assign name='page' value='document' /} {eyou:php} $route_param = request()->route(); //var_dump($param); //处理域名获取当前域名名称 $route_domain = request()->domain(); $domain = explode('//',$route_domain); $domain = explode('.',$domain[1]); $site = $domain[0]; //var_dump($site); if(!empty($site) || $site != 'zc' || $site != 'www'){ //判定为二级域名 }else{ $site = 'www'; } //处理城市参数 if(!empty($route_param['site'])){ $city_domain = $route_param['site']; }else{ $city_domain = 'none'; } //计算筛选链接 $root_url = '/zlwd'; if(!empty($route_param['catid'])){ $url = $root_url.'-c'.$route_param['catid']; }else{ $route_param['catid'] = 0; $url = $root_url.'-c0'; } if(!empty($route_param['provid'])){ $url = $url.'-p'.$route_param['provid']; }else{ $route_param['provid'] = 0; $url = $url.'-p0'; } if(!empty($route_param['cityid'])){ $url = $url.'-y'.$route_param['cityid']; }else{ $route_param['cityid'] = 0; $url = $url.'-y0'; } //var_dump($route_param['catid']); {/eyou:php} {eyou:include file='/template/pc/common/common_top.htm' /}
{eyou:include file='/template/pc/components/tag/style_1.htm' /}
{eyou:if condition='($site != "zc" && $site != "www" && !in_array($route_param.provid,["4004","4023","4813","6303","7687","7709","7720"]))'} {/eyou:if}
{eyou:include file='/template/pc/components/list/style_2.htm' /} {eyou:include file='/template/pc/components/text/style_4.htm' /} {eyou:include file='/template/pc/components/list/style_5.htm' /}
{eyou:include file='/template/pc/components/list/style_9.htm' /} {eyou:include file='/template/pc/components/list/style_9.htm' /} {eyou:include file='/template/pc/components/list/style_9.htm' /} {eyou:include file='/template/pc/components/list/style_9.htm' /}
{eyou:include file='/template/pc/components/flow/style_1.htm' /}
{eyou:include file='/template/pc/common/common_bot.htm' /}