master
parent
e3499f09be
commit
5054d503d9
|
@ -425,7 +425,7 @@ class Category extends Base
|
|||
// 'categoryId' => $categoryId,
|
||||
'menus' => $menus,
|
||||
];
|
||||
// var_dump($menus);exit;
|
||||
// var_dump($menus);exit;
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
{layout name="layout" /}
|
||||
|
||||
<div class="indexbanner">
|
||||
<div class="swiper swiper-container mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
|
||||
{foreach $slide as $slideItem}
|
||||
<div class="swiper-slide">
|
||||
<div class="indexbox">
|
||||
<div class="img">
|
||||
<img class="img1" src="{$slideItem['src']}" alt="{$slideItem['title']}">
|
||||
<img class="img2" src="{$slideItem['src_mobile']}" alt="{$slideItem['title']}">
|
||||
</div>
|
||||
<div class="textbox">
|
||||
<div class="text w1360">
|
||||
<div class="h1 ani" swiper-animate-effect="fadeInUp" swiper-animate-duration="0.5s" swiper-animate-delay="0">{$slideItem['font1']}</div>
|
||||
<div class="e ani" swiper-animate-effect="fadeInUp" swiper-animate-duration="0.5s" swiper-animate-delay="0.3s">{$slideItem['font2']}</div>
|
||||
<div class="h2 ani" swiper-animate-effect="fadeInUp" swiper-animate-duration="0.5s" swiper-animate-delay="0.6s">{$slideItem['font3']}</div>
|
||||
<div class="p ani" swiper-animate-effect="fadeInUp" swiper-animate-duration="0.5s" swiper-animate-delay="0.8s">{$slideItem['font4']}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
<div class="swiper-pagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexboxcer">
|
||||
<div class="cont w1360">
|
||||
<div class="left">
|
||||
{if !empty($topNews)}
|
||||
<a href="{:archiveGetUri($topNews)}">
|
||||
<div class="img"><img src="{$topNews['src']}" alt="{$topNews['title']}"></div>
|
||||
<div class="text">
|
||||
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$topNews['title']}</div>
|
||||
<div class="time wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$topNews['create_time']|date="y.m.d"}</div>
|
||||
<div class="p wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.4s">{$topNews['summary']}</div>
|
||||
</div>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="top">
|
||||
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['news_title']['value']}</div>
|
||||
<a href="news.html" class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['more']['value']}</a>
|
||||
</div>
|
||||
<div class="list">
|
||||
{if !empty($newsList)}
|
||||
{foreach $newsList as $newsListItem }
|
||||
<div class="li wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<a href="{:archiveGetUri($newsListItem)}">
|
||||
<div class="time">{$newsListItem['create_time']|date="y.m.d"}</div>
|
||||
<div class="p">{$newsListItem['title']}</div>
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexfrom padding">
|
||||
<div class="cont w1360">
|
||||
<div class="one">
|
||||
<a href="{$blocks['property_services_img']['link']}"></a>
|
||||
<div class="img"><img src="{$blocks['property_services_img']['value']}" alt="{$blocks['property_services_img']['title']}"></div>
|
||||
<div class="text wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<img src="{$blocks['img_2022']['value']}" alt="">
|
||||
<div class="r">{$blocks['Property']['value']}<br/>{$blocks['services']['value']}</div>
|
||||
<div class="p">{$blocks['zzwy']['value']}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="two">
|
||||
<a href="{$blocks['about_img']['link']}"></a>
|
||||
<div class="img"><img src="{$blocks['about_img']['value']}" alt=""></div>
|
||||
<div class="text wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<div>
|
||||
<div class="h">{$blocks['about']['value']}<br/>{$blocks['us']['value']}</div>
|
||||
<div class="p">{$blocks['about_cn']['value']}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="two">
|
||||
<a href="{$blocks['value_added_services_img']['link']}"></a>
|
||||
<div class="img"><img src="{$blocks['value_added_services_img']['value']}" alt=""></div>
|
||||
<div class="text wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<div>
|
||||
<div class="h">{$blocks['Valueadded']['value']}<br>{$blocks['Valueaddedservices']['value']}</div>
|
||||
<div class="p">{$blocks['Valueaddedservices_cn']['value']}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -112,13 +112,21 @@
|
|||
</div>
|
||||
|
||||
<div class="layui-form-item layui-hide">
|
||||
<label class="layui-form-label">前台底部显示</label>
|
||||
<label class="layui-form-label">前台底部PC显示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" checked="checked" name="item[foot_show]" value="1" title="是" />
|
||||
<input type="radio" name="item[foot_show]" value="0" title="否" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item layui-hide">
|
||||
<label class="layui-form-label">前台底部手机显示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" checked="checked" name="item[foot_show_mobile]" value="1" title="是" />
|
||||
<input type="radio" name="item[foot_show_mobile]" value="0" title="否" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $groupId == 1}
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">是否首页</label>
|
||||
|
|
|
@ -126,14 +126,22 @@ if(!empty($item['width']) && is_int($item['width']) && $item['width'] > 0 && !em
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item layui-hide">
|
||||
<label class="layui-form-label">前台底部显示</label>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">前台底部PC显示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" checked="checked" name="item[foot_show]" value="1" title="是" {if condition="$item.foot_show eq 1"}checked="checked" {/if}/>
|
||||
<input type="radio" name="item[foot_show]" value="0" title="否" {if condition="$item.foot_show eq 0"}checked="checked"{/if}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">前台底部手机显示</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="radio" checked="checked" name="item[foot_show_mobile]" value="1" title="是" {if condition="$item.foot_show_mobile eq 1"}checked="checked" {/if}/>
|
||||
<input type="radio" name="item[foot_show_mobile]" value="0" title="否" {if condition="$item.foot_show_mobile eq 0"}checked="checked"{/if}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $groupId == 1}
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">是否首页</label>
|
||||
|
|
|
@ -37,7 +37,7 @@ $delUrl = url('manager.category/del');
|
|||
<td>栏目</td>
|
||||
<td>类型</td>
|
||||
<!-- <td>分组</td>-->
|
||||
<td>前台菜单</td>
|
||||
<td>前台菜单|手机底部|pc底部</td>
|
||||
<!-- <td>列表页模板</td>-->
|
||||
<!-- <td>详情页模板</td>-->
|
||||
<!-- <td>每页数量</td>-->
|
||||
|
@ -53,7 +53,7 @@ $delUrl = url('manager.category/del');
|
|||
</td>
|
||||
<td>{$item.modelName}</td>
|
||||
<!-- <td>{$item.group_name}</td>-->
|
||||
<td>{$item.state?'是':'否'}</td>
|
||||
<td>{$item.state?'是':'否'}|手机{$item.foot_show_mobile?'显示':'隐藏'}|PC{$item.foot_show?'显示':'隐藏'}</td>
|
||||
<!-- <td>{$item.template_list??''}</td>-->
|
||||
<!-- <td>{$item.template_detail??''}</td>-->
|
||||
<!-- <td>{$item.number}</td>-->
|
||||
|
@ -91,7 +91,7 @@ $delUrl = url('manager.category/del');
|
|||
<col>
|
||||
<col width="150px">
|
||||
<!-- <col width="150px">-->
|
||||
<col width="80px">
|
||||
<col width="172px">
|
||||
<!-- <col width="150px">-->
|
||||
<!-- <col width="150px">-->
|
||||
<!-- <col width="80px">-->
|
||||
|
@ -107,7 +107,7 @@ $delUrl = url('manager.category/del');
|
|||
</td>
|
||||
<td>{$child.modelName}</td>
|
||||
<!-- <td>{$child.group_name}</td>-->
|
||||
<td>{$child.state?'是':'否'}</td>
|
||||
<td>{$child.state?'是':'否'}|手机{$child.foot_show_mobile?'显示':'隐藏'}|PC{$child.foot_show?'显示':'隐藏'}</td>
|
||||
<!-- <td>{$child.template_list??''}</td>-->
|
||||
<!-- <td>{$child.template_detail??''}</td>-->
|
||||
<!-- <td>{$child.number}</td>-->
|
||||
|
@ -143,7 +143,7 @@ $delUrl = url('manager.category/del');
|
|||
<col>
|
||||
<col width="150px">
|
||||
<!-- <col width="150px">-->
|
||||
<col width="80px">
|
||||
<col width="172px">
|
||||
<!-- <col width="150px">-->
|
||||
<!-- <col width="150px">-->
|
||||
<!-- <col width="80px">-->
|
||||
|
@ -159,7 +159,7 @@ $delUrl = url('manager.category/del');
|
|||
</td>
|
||||
<td>{$c.modelName}</td>
|
||||
<!-- <td>{$c.group_name}</td>-->
|
||||
<td>{$c.state?'是':'否'}</td>
|
||||
<td>{$c.state?'是':'否'}|手机{$c.foot_show_mobile?'显示':'隐藏'}|PC{$c.foot_show?'显示':'隐藏'}</td>
|
||||
<!-- <td>{$c.template_list??''}</td>-->
|
||||
<!-- <td>{$c.template_detail??''}</td>-->
|
||||
<!-- <td>{$c.number}</td>-->
|
||||
|
|
|
@ -5,7 +5,16 @@ use app\model\Category;
|
|||
$childrenMenu = Category::getChildrenByParentId($topCategoryId);
|
||||
{/php}
|
||||
|
||||
{include file="public/about_second" /}
|
||||
<!-- 当前位置&二级导航 -->
|
||||
<div class="position-nav-bg pull-margin bg-col-f5 pc-show">
|
||||
<div class="position-sub-nav w1360 flex">
|
||||
<!-- 当前位置 -->
|
||||
<div class="position flex">
|
||||
<div class="img"><img src="__STATIC__/web/images/icon/icon-position.png" alt="当前位置"></span></div>
|
||||
<div class="txt color-blue flex"><a href="/">首页</a>{$category['title'] ?? ''}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 内容 -->
|
||||
<div class="pull-section pull-content-bg content-bg-white join-detail-bg min-heigh-box wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
{layout name="layout_two"/}
|
||||
{php}
|
||||
use app\model\Category;
|
||||
$position = Category::getPosition($category["id"]);
|
||||
{/php}
|
||||
<div class="bannerdata">
|
||||
<div class="img"><img src="{$category['src']}" alt="{$category['title']}"></div>
|
||||
</div>
|
||||
<div class="searceboxtop">
|
||||
<div class="cont w1360">
|
||||
<div class="navminbox">
|
||||
{$position|raw}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentboxer">
|
||||
<div class="searceboxone business padding">
|
||||
<div class="cont w1360">
|
||||
<div class="img" style=" background: url({$blocks['b_img']['value']}) no-repeat center; "><img src="{$blocks["b_img"]['value']??''}" alt=""></div>
|
||||
<div class="img imgphone" style=" background: url({$blocks['b_img_mobile']['value']}) no-repeat center / cover; "><img src="{$blocks["b_img_mobile"]['value']??''}" alt=""></div>
|
||||
<div class="text">
|
||||
<div>
|
||||
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks["BUSINESS-COOPERATION"]['value']??''}</div>
|
||||
<div class="h2 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.1s">{$blocks["BUSINESS-COOPERATION"]['title']??''}</div>
|
||||
<div class="em wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s"></div>
|
||||
<div class="add wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.3s">
|
||||
<div>公司地址:{$system['addr']??''}</div>
|
||||
<div>邮箱地址:{$system['email']??''}</div>
|
||||
<div>服务热线:{$system['landline']??''}</div>
|
||||
</div>
|
||||
<div class="weah wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.4s">
|
||||
<div class="l"><img src="{$system['img_float_wechat']??''}" alt=""></div>
|
||||
<div class="l"><img src="{$system['img_float_wechat2']??''}" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="businessmap" id="map1"></div>
|
||||
<script src="__STATIC__/web/js/bdmap.js" type="text/javascript"></script>
|
||||
{php}
|
||||
$map = json_decode($blocks['map']['value'],true);
|
||||
{/php}
|
||||
<script type="text/javascript">
|
||||
ShowMap("map1",{
|
||||
city:'{$blocks['city']['value']}',
|
||||
addr:'{$map['address']}',
|
||||
title:'{$blocks['map']['title']}',
|
||||
lawfirm:'{$map['address']}',
|
||||
tel:'',
|
||||
mapx:'{$map['lng']},{$map['lat']}',
|
||||
ismove:'0',
|
||||
piobj:'nxp',
|
||||
zoom:17
|
||||
});
|
||||
</script>
|
||||
</div>
|
|
@ -1,52 +0,0 @@
|
|||
{layout name="layout"/}
|
||||
{php}
|
||||
use app\model\Category;
|
||||
use app\model\PositionModel;
|
||||
use app\model\Block;
|
||||
$joinList = PositionModel::getByCategoryId(Category::CATEGORY_JOIN_BLOCK,true,99999);
|
||||
{/php}
|
||||
|
||||
|
||||
<div class="searceboxtop searceboxtop2">
|
||||
<div class="cont w1360">
|
||||
<div class="navminbox">
|
||||
{$position|raw}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentboxer">
|
||||
<div class="joinboxer">
|
||||
<div class="cont w1360">
|
||||
<div class="top">
|
||||
<div class="left">
|
||||
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$blocks['join']['value']??'Join us'}</div>
|
||||
<div class="h2 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$blocks['join']['title']??'加入中正'}</div>
|
||||
<div class="p wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.4s">
|
||||
{$blocks['info']['value']??''}</div>
|
||||
</div>
|
||||
<div class="right wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<div class="m"><img src="{$blocks['qr_1']['value']??''}" alt=""></div>
|
||||
<div class="m"><img src="{$blocks['qr_2']['value']??''}" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list">
|
||||
{foreach $joinList as $joinItem}
|
||||
<div class="li wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
|
||||
<a href="/position/{$joinItem['id']}">
|
||||
<div class="text">
|
||||
<div class="h1">{$joinItem['title']}</div>
|
||||
<div class="em"></div>
|
||||
<div class="p">
|
||||
<p>工作地点:{$joinItem['address']}</p>
|
||||
<p>发布时间:{$joinItem['create_time']|date="Y-m-d"}</p>
|
||||
</div>
|
||||
</div>
|
||||
<i></i>
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
|
@ -2,77 +2,47 @@
|
|||
<div class="footer">
|
||||
<div class="foot flex w1360">
|
||||
<div class="foot-left flex">
|
||||
<div class="item">
|
||||
<a href="javascript:void(0);">关于我们</a>
|
||||
{foreach $menus as $menusitem}
|
||||
{if $menusitem['foot_show'] == 1 || $menusitem['foot_show_mobile'] == 1}
|
||||
<div class="item {if $menusitem['foot_show'] == 0 && $menusitem['foot_show_mobile'] == 1}wap-show{/if}">
|
||||
<a href="javascript:void(0);">{$menusitem.title}</a>
|
||||
<div class="sub-item">
|
||||
<a href="introduction.html">公司简介</a>
|
||||
<a href="culture.html">企业文化</a>
|
||||
<a href="history.html">大事记</a>
|
||||
<a href="honors.html">荣誉资质</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item wap-show">
|
||||
<a href="javascript:void(0);">媒体中心</a>
|
||||
<div class="sub-item">
|
||||
<a href="activities.html">品牌活动</a>
|
||||
<a href="news.html">媒体报道</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<a href="javascript:void(0);">物业服务</a>
|
||||
<div class="sub-item">
|
||||
<a href="services.html">住宅物业服务</a>
|
||||
<a href="services.html">商企物业服务</a>
|
||||
<a href="services.html">园区物业服务</a>
|
||||
<a href="addedValue.html">社区增值服务</a>
|
||||
<a href="market.html">友邻集市服务</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item wap-show">
|
||||
<a href="javascript:void(0);">项目案例</a>
|
||||
<div class="sub-item">
|
||||
<a href="redPropert.html">红色物业</a>
|
||||
<a href="topQuality.html">臻品项目</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item wap-show">
|
||||
<a href="javascript:void(0);">加入中正</a>
|
||||
<div class="sub-item">
|
||||
<a href="join.html">人才招聘</a>
|
||||
<a href="cooperation.html">商务合作</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item wap-show">
|
||||
<a href="javascript:void(0);">投诉建议</a>
|
||||
<div class="sub-item">
|
||||
<a href="complaint.html">投诉建议</a>
|
||||
{if isset($menusitem['children'] )}
|
||||
{foreach $menusitem['children'] as $child}
|
||||
<a href="{:getUri($child)}">{$child.title}</a>
|
||||
{/foreach}
|
||||
{else /}
|
||||
<a href="{:getUri($menusitem)}">{$menusitem.title}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<div class="item item-cantact pc-show">
|
||||
<a href="javascript:void(0);">联系我们</a>
|
||||
<div class="sub-item contact-item">
|
||||
<a href="javascript:void(0);">
|
||||
<span><img src="__STATIC__/web/images/icon/icon-address.png" alt="地址"></span>
|
||||
<em>内蒙古鄂尔多斯市东胜区鄂尔多斯西街汇能大厦B座</em>
|
||||
<em>{$system['addr'] ?? ''}</em>
|
||||
</a>
|
||||
<a href="javascript:void(0);">
|
||||
<span><img src="__STATIC__/web/images/icon/icon-email.png" alt="邮箱"></span>
|
||||
<em>zzwy@bymk.net</em>
|
||||
<em>{$system['email'] ?? ''}</em>
|
||||
</a>
|
||||
<a href="tel:400-852-1199">
|
||||
<span><img src="__STATIC__/web/images/icon/icon-call-foot.png" alt="电话"></span>
|
||||
<em>400-852-1199</em>
|
||||
<em>{$system['landline'] ?? ''}</em>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="foot-right flex">
|
||||
<div class="record-info">
|
||||
<p>Copyright ©2022 鄂尔多斯市中正物业管理有限公司</p>
|
||||
<p>All Rights Reserved <a href="https://beian.miit.gov.cn">粤ICP备12345689号-1</a></p>
|
||||
<p>{$system['copyright']}</p>
|
||||
<p>All Rights Reserved <a href="https://beian.miit.gov.cn">{$system['recordation'] ?? ''}</a></p>
|
||||
</div>
|
||||
<div class="qr-code">
|
||||
<img src="__STATIC__/web/images/public/qr-code.png" alt="二维码">
|
||||
<img src="{$system['img_float_wechat'] ?? ''}" alt="二维码">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue