556 lines
40 KiB
PHP
556 lines
40 KiB
PHP
<?php if (!defined("RUNTIME")) exit(); /*a:6:{s:68:"C:/lewis/phpstudy_pro/WWW/foxcms/templates/foxui01/list_article.html";i:1732932221;s:64:"C:\lewis\phpstudy_pro\WWW\foxcms\templates\foxui01\/\header.html";i:1732932221;s:61:"C:\lewis\phpstudy_pro\WWW\foxcms\templates\foxui01\/\nav.html";i:1732959141;s:64:"C:\lewis\phpstudy_pro\WWW\foxcms\templates\foxui01\/\banner.html";i:1732932221;s:63:"C:\lewis\phpstudy_pro\WWW\foxcms\templates\foxui01\/\fixed.html";i:1732932221;s:64:"C:\lewis\phpstudy_pro\WWW\foxcms\templates\foxui01\/\footer.html";i:1732932221;}*/ ?>
|
|
<!--
|
|
* @Descripttion : FOXCMS是一款高效的PHP多端跨平台内容管理系统
|
|
* @Author : FoxCMS Team
|
|
* @Date : 2023-01-10 09:50:08
|
|
* @version : V1.08
|
|
* @copyright : ©2021-现在 贵州黔狐科技股份有限公司 版权所有
|
|
* @LastEditTime : 2024-08-13 15:25:54
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="cn">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<link href="<?php $param = ['field'=>'web_icon', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?>" rel="icon" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="/templates/skin/css/foxui-1.21.min.css" />
|
|
<link rel="stylesheet" href="/templates/skin/css/animate.min.css" />
|
|
<link rel="stylesheet" href="/templates/skin/css/swiper.min.css" />
|
|
<link rel="stylesheet" href="/templates/skin/css/common.min.css" />
|
|
<script src="/templates/skin/js/jquery-3.6.0.min.js"></script>
|
|
<script src="/templates/skin/js/swiper.min.js"></script>
|
|
<script src="/templates/skin/js/wow.min.js"></script>
|
|
|
|
<title><?php echo $column['name']; ?>-<?php $param = ['field'=>'title', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?></title>
|
|
<meta name="keywords" content="<?php echo $column['keywords']; ?>" />
|
|
<meta name="description" content="<?php echo $column['description']; ?>" />
|
|
</head>
|
|
<body>
|
|
<!-- 顶部 -->
|
|
<header class="foxui-border-bottom foxui-bg-white"><div class="foxcms-container foxcms-header-pc foxui-hidden-sm foxui-hidden-xs">
|
|
<div class="foxcms-logo">
|
|
<div class="logo">
|
|
<img style="height: 28px" src="<?php $param = ['field'=>'web_logo', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?>" alt="" />
|
|
</div>
|
|
</div>
|
|
<div class="foxcms-nav">
|
|
<div class="nav">
|
|
<ul class="foxui-menu">
|
|
<?php $field = ["currentstyle"=>'']; ?>
|
|
<li class="foxui-menu-item <?php echo $field['currentstyle']; ?>">
|
|
<a class="foxui-link" href="<?php $param = ['name'=>'index','path'=>''];$tagIndex = new app\taglib\fox\TagIndex;$tagIndex->getList($param); ?>">首页</a>
|
|
</li>
|
|
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'0,2', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-menu-submenu <?php echo $field['currentstyle']; ?>">
|
|
<div class="foxui-menu-handle foxui-menu-icon">
|
|
<a class="foxui-link" href="<?php echo $field['link']; ?>"><?php echo $field['name']; ?></a>
|
|
</div>
|
|
<div class="foxui-menu-menu">
|
|
<div class="foxui-menu-slide foxcms-container">
|
|
<div class="nav-swiper nav-swiper-text">
|
|
<ul class="foxui-display-flex foxui-justify-content-center">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;?>
|
|
<li>
|
|
<a href="<?php echo $v['link']; ?>" class="swiper-content foxui-link"><?php echo $v['name']; ?></a>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; $param = ['typeid'=>'3,4', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-menu-submenu <?php echo $field['currentstyle']; ?>">
|
|
<div class="foxui-menu-handle foxui-menu-icon">
|
|
<a class="foxui-link" href="<?php echo $field['link']; ?>"><?php echo $field['name']; ?></a>
|
|
</div>
|
|
<div class="foxui-menu-menu">
|
|
<div class="foxui-menu-slide foxcms-container">
|
|
<div class="swiper nav-swiper nav-swiper-image">
|
|
<div class="swiper-wrapper">
|
|
<?php $tagArclist = new app\taglib\fox\TagArclist;$param = ['notypeid'=>'','apply'=>'nav','currentstyle'=>''
|
|
,'typeid'=>'', 'limit'=>'', 'columnModel'=>'', 'type'=>'son', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','addfields'=>'author,team_status','channel'=>''];$__LIST__ = $tagArclist->getList($param,'c','create_time desc','0','12');$__LIST__ = alterList($__LIST__,'', -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;$model = $v["model"]; ?>
|
|
<div class="swiper-slide">
|
|
<a href="<?php echo $v['link']; ?>" class="swiper-content foxui-link">
|
|
<div class="<?php if($field['id'] == 4): ?> case-img <?php else: ?> product-img <?php endif; ?>">
|
|
<img src="<?php echo $v['img_url']; ?>" alt="" />
|
|
</div>
|
|
<p><?php echo $v['title']; ?>11</p>
|
|
</a>
|
|
</div>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; $param = ['typeid'=>'5', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-menu-submenu <?php echo $field['currentstyle']; ?>">
|
|
<div class="foxui-menu-handle foxui-menu-icon">
|
|
<a class="foxui-link" href="<?php echo $field['link']; ?>"><?php echo $field['name']; ?></a>
|
|
</div>
|
|
<div class="foxui-menu-menu">
|
|
<div class="foxui-menu-slide foxcms-container">
|
|
<div class="nav-swiper nav-swiper-text">
|
|
<ul class="foxui-display-flex foxui-justify-content-center">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;?>
|
|
<li>
|
|
<a href="<?php echo $v['link']; ?>" class="swiper-content foxui-link"><?php echo $v['name']; ?></a>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; $param = ['typeid'=>'6', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-menu-item <?php echo $field['currentstyle']; ?>">
|
|
<a class="foxui-link" href="<?php echo $field['link']; ?>"><?php echo $field['name']; ?></a>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="foxcms-header-h5 foxui-visible-sm foxui-visible-xs">
|
|
<div class="nav-mask"></div>
|
|
<div class="nav-content">
|
|
<div class="nav-head foxui-border-bottom">
|
|
<i class="foxui-icon-liebiao-o"></i>
|
|
<a href="/" class="foxcms-logo">
|
|
<img style="height: 26px" src="<?php $param = ['field'=>'web_logo', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?>" alt="" />
|
|
</a>
|
|
<i class="foxui-icon-sousuo-o"></i>
|
|
</div>
|
|
<div class="nav-menu">
|
|
<div class="nav-menu-inner">
|
|
<ul class="foxui-collapse" data-fold="accordion">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'0,5', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-collapse-item">
|
|
<div class="foxui-collapse-head foxui-collapse-handle">
|
|
<a href="<?php echo $field['link']; ?>" style="margin-right: 20px"><?php echo $field['name']; ?></a>
|
|
<i class="foxui-icon-xiangyou-o foxui-collapse-icon"></i>
|
|
</div>
|
|
<div class="foxui-collapse-content">
|
|
<ul>
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;?>
|
|
<li>
|
|
<a class="foxui-link text-link" href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; $param = ['typeid'=>'6', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-current', 'yes'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-collapse-item">
|
|
<div class="foxui-collapse-head">
|
|
<a href="<?php echo $field['link']; ?>" style="margin-right: 20px"><?php echo $field['name']; ?></a>
|
|
<i class="foxui-icon-xiangyou-o foxui-collapse-icon right-icon"></i>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="search-menu">
|
|
<div class="search-menu-inner foxui-padding-top-20 foxui-padding-bottom-28">
|
|
<?php $param = ['typeid'=>'','model'=>''];$tagSearchform = new app\taglib\fox\TagSearchform;$__LIST__ = $tagSearchform->getList($param); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<form method="get" action="<?php echo $field['link']; ?>">
|
|
<input name="fields" value="title" type="hidden" />
|
|
<input name="kwtype" value="1" type="hidden" />
|
|
<input name="keyword" placeholder="输入关键词" value="" />
|
|
<button class="foxui-solid-primary foxui-block foxui-margin-top-20">搜索</button>
|
|
</form>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
new Swiper('.nav-swiper-image', {
|
|
slidesPerView: 2.5,
|
|
spaceBetween: 16,
|
|
freeMode: true,
|
|
pagination: {
|
|
el: '.swiper-pagination',
|
|
clickable: true,
|
|
},
|
|
navigation: {
|
|
nextEl: '.swiper-button-next',
|
|
prevEl: '.swiper-button-prev',
|
|
},
|
|
breakpoints: {
|
|
992: { slidesPerView: 5.5 },
|
|
},
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-header-pc .search-icon', function () {
|
|
let $container = $(this).closest('.foxcms-header-pc');
|
|
$container.find('.nav, .phone').fadeOut(300);
|
|
$container.find('.search').fadeIn(300);
|
|
$container.find('.foxcms-search').slideDown(300);
|
|
});
|
|
$(document).on('click', '.foxcms-header-pc .search-close', function () {
|
|
let $container = $(this).closest('.foxcms-header-pc');
|
|
$container.find('.nav, .phone').fadeIn(300);
|
|
$container.find('.search').fadeOut(300);
|
|
$container.find('.foxcms-search').slideUp(300);
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-header-pc .search-menu .list a', function () {
|
|
$('.foxcms-header-pc .foxui-input-group input[name="keyword"]').val($(this).text());
|
|
$('.foxcms-search input[type="submit"]').click();
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-header-h5 .foxui-icon-liebiao-o', function () {
|
|
let $this = $(this),
|
|
$container = $this.closest('.foxcms-header-h5');
|
|
$container.find('.search-menu').slideUp(300);
|
|
$this.removeClass('foxui-icon-liebiao-o').addClass('foxui-icon-guanbi-o');
|
|
$container.find('.nav-mask').fadeIn(300);
|
|
$container.find('.nav-menu').slideDown(300);
|
|
$('body').css('overflow', 'hidden');
|
|
});
|
|
$(document).on('click', '.foxcms-header-h5 .foxui-icon-guanbi-o', function () {
|
|
let $this = $(this),
|
|
$container = $this.closest('.foxcms-header-h5');
|
|
$this.removeClass('foxui-icon-guanbi-o').addClass('foxui-icon-liebiao-o');
|
|
$container.find('.nav-mask').fadeOut(300);
|
|
$container.find('.nav-menu').slideUp(300);
|
|
$('body').css('overflow', 'auto');
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-header-h5 .nav-mask', function () {
|
|
$('.foxcms-header-h5 .foxui-icon-guanbi-o').click();
|
|
let $container = $(this).closest('.foxcms-header-h5');
|
|
if ($container.find('.search-menu').css('display') === 'block') {
|
|
$container.find('.nav-mask').fadeOut(300);
|
|
$container.find('.search-menu').slideUp(300);
|
|
$('body').css('overflow', 'auto');
|
|
}
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-header-h5 .foxui-icon-sousuo-o', function () {
|
|
let $this = $(this),
|
|
$container = $this.closest('.foxcms-header-h5');
|
|
$container.find('.foxui-icon-guanbi-o').removeClass('foxui-icon-guanbi-o').addClass('foxui-icon-liebiao-o');
|
|
$container.find('.nav-menu').slideUp(300);
|
|
$container.find('.nav-mask').fadeIn(300);
|
|
$container.find('.search-menu').slideDown(300);
|
|
$('body').css('overflow', 'hidden');
|
|
});
|
|
</script>
|
|
</header>
|
|
<!-- 主体内容 -->
|
|
<main>
|
|
<!-- 通栏图 -->
|
|
<div class="foxcms-common-banner foxui-bg-lighter"><?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagChannel = new app\taglib\fox\TagChannel;$__LIST__ = $tagChannel->getList($param,'ceil','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<div class="foxcms-banner-pc foxui-hidden-sm foxui-hidden-xs" style="background-image: url(<?php echo $field['pic_url']; ?>)">
|
|
<div class="banner-inner foxcms-container">
|
|
<div class="banner-content">
|
|
<div class="banner-column">
|
|
<p class="foxui-text-uppercase"><?php echo $field['en_name']; ?></p>
|
|
<h1><?php echo $field['name']; ?></h1>
|
|
</div>
|
|
<ul class="banner-nav">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagChannel = new app\taglib\fox\TagChannel;$__LIST__ = $tagChannel->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-active', 'no'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;if($v['status'] == 1): ?>
|
|
<li class="<?php echo $v['currentstyle']; ?>">
|
|
<a href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
|
|
</li>
|
|
<?php endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; endif; else: echo "" ;endif; $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagChannel = new app\taglib\fox\TagChannel;$__LIST__ = $tagChannel->getList($param,'ceil','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<div class="foxcms-banner-h5 foxui-visible-sm foxui-visible-xs" style="background-image: url(<?php echo $field['pic_url']; ?>)">
|
|
<div class="banner-inner">
|
|
<div class="banner-column">
|
|
<p class="foxui-text-uppercase"><?php echo $field['en_name']; ?></p>
|
|
<h1><?php echo $field['name']; ?></h1>
|
|
</div>
|
|
<div class="foxui-row">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagChannel = new app\taglib\fox\TagChannel;$__LIST__ = $tagChannel->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1);navAddField($__LIST__, 23, 'is-active', 'no'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;if($v['status'] == 1): ?>
|
|
<div class="foxui-col-xs-12 foxui-col-sm-6">
|
|
<a class="foxui-ellipsis <?php echo $v['currentstyle']; ?>" href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
|
|
</div>
|
|
<?php endif; ?> <?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
<!-- 内容 -->
|
|
<div class="foxcms-main list-article-main">
|
|
<div class="foxcms-container">
|
|
<div class="foxui-row foxui-gutter-x-7 foxui-gutter-y-11">
|
|
<?php $param = ['sid'=>'', 'columnModel'=>'','addfields'=>'','channel'=>'','typeid'=>''];$tagList = new app\taglib\fox\TagList;$__rdata__ = $tagList->getList($param,'','create_time desc',1,'12','');$__PAGES__ = $__rdata__;$__LIST__ = alterList($__rdata__['datas'],'', -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;$model = $field["model"]; ?>
|
|
<div class="foxui-col-md-8">
|
|
<a href="<?php echo $field['link']; ?>" class="list-article-item wow slideInUp" style="visibility: hidden;animation-name: none;">
|
|
<div class="pic">
|
|
<img src="<?php echo $field['img_url']; ?>" alt="" />
|
|
</div>
|
|
<div class="text">
|
|
<div class="info">
|
|
<div class="left">
|
|
<span><?php echo $field['column']; ?></span>
|
|
<span><?php echo date('Y-m-d',!is_numeric($field['release_time'])? strtotime($field['release_time']) : $field['release_time']); ?></span>
|
|
</div>
|
|
<div class="right">
|
|
<i class="foxui-icon-xianshi-o"></i>
|
|
<span><?php $param = ['typeid'=>'', 'model'=>'', 'type'=>'look', 'typeidP'=>$field["id"],'calltype'=>'parent', 'column_id'=>$field["column_id"]]; $tagArcclick = new app\taglib\fox\TagArcclick; $__VALUE__ = $tagArcclick->getList($param); echo $__VALUE__; ?></span>
|
|
</div>
|
|
</div>
|
|
<h1 class="foxui-ellipsis-2"><?php echo $field['title']; ?></h1>
|
|
<p class="foxui-ellipsis-3"><?php echo cn_substr($field['content'],120); ?></p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
<!-- 分页 -->
|
|
<div class="foxcms-list-pagination">
|
|
<div class="list-pagination-pc foxui-hidden-sm foxui-hidden-xs"><?php $__PAGES__ = isset($__PAGES__) ? $__PAGES__ : ""; $model = isset($model) ? $model : ""; $tagPagelist = new app\taglib\fox\TagPagelist;$param = ['listitem'=>'pre,pageno,next','listsize'=>'12','currentstyle'=>'active','diystyle'=>'pre_foxui-icon-xiangzuo-o,next_foxui-icon-xiangyou-o'
|
|
, 'disstyle'=>'disabled', 'lang'=>'', 'indexdesc'=>'', 'predesc'=>'', 'nextdesc'=>'', 'enddesc'=>'']; $__VALUE__ = $tagPagelist->getPagelist($__PAGES__, $param); echo $__VALUE__; ?></div>
|
|
<div class="list-pagination-h5 foxui-visible-sm foxui-visible-xs"><?php $__PAGES__ = isset($__PAGES__) ? $__PAGES__ : ""; $model = isset($model) ? $model : ""; $tagPagelist = new app\taglib\fox\TagPagelist;$param = ['listitem'=>'pre,pageno,next','listsize'=>'1','currentstyle'=>'active','diystyle'=>''
|
|
, 'disstyle'=>'disabled', 'lang'=>'', 'indexdesc'=>'', 'predesc'=>'', 'nextdesc'=>'', 'enddesc'=>'']; $__VALUE__ = $tagPagelist->getPagelist($__PAGES__, $param); echo $__VALUE__; ?></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 右侧浮动内容 -->
|
|
<div class="foxcms-fixed-container"><div class="foxcms-fixed-content foxui-hidden-xs">
|
|
<ul class="fixed-nav">
|
|
<li>
|
|
<div class="edit">
|
|
<a class="icon foxui-link message">
|
|
<i class="foxui-icon-bianji-o"></i>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<a class="icon foxui-link qq" href="tencent://Message/?Uin=<?php $param = ['field'=>'qq'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>&site=121&websiteName=www.cnblogs.com&Menu=yes">
|
|
<i class="foxui-icon-QQ-o"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="icon foxui-link ewm">
|
|
<i class="foxui-icon-erweima-o"></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="icon foxui-link phone">
|
|
<i class="foxui-icon-dianhua-o"></i>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="fixed-top">
|
|
<i class="foxui-icon-xiangxia-o"></i>
|
|
<span>TOP</span>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$(function () {
|
|
foxui.confirmtip({
|
|
el: '.fixed-nav .message',
|
|
title: '留言给我们',
|
|
content: _messageHtml(),
|
|
width: '340px',
|
|
placement: ['left', 'center'],
|
|
className: 'fixed-btn-wrapper message-wrapper',
|
|
});
|
|
|
|
foxui.confirmtip({
|
|
el: '.fixed-nav .ewm',
|
|
content: `<img src="<?php $param = ['field'=>'qr_code1'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>"/>`,
|
|
trigger: 'hover',
|
|
placement: ['left', 'center'],
|
|
className: 'fixed-btn-wrapper',
|
|
});
|
|
|
|
foxui.confirmtip({
|
|
el: '.fixed-nav .phone',
|
|
content: `<p class="phone"><i class="foxui-icon-shouji-f"></i><span><?php $param = ['field'=>'phone'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></span></p>`,
|
|
trigger: 'hover',
|
|
placement: ['left', 'center'],
|
|
className: 'fixed-btn-wrapper',
|
|
});
|
|
});
|
|
|
|
$(document).on('click', '.foxcms-fixed-container .fixed-top', function () {
|
|
$(window).scrollTop(0);
|
|
});
|
|
|
|
function _messageHtml() {
|
|
return [
|
|
'<div class="message">',
|
|
'<form action="/plus/Diyform/receive" method="post">',
|
|
'<input type="hidden" name="id" style="flex: 1" value="1" />',
|
|
'<div class="input-item">',
|
|
'<input type="text" name="text0" placeholder="阁下贵姓" autocomplete="off" value="" />',
|
|
'</div>',
|
|
'<div class="input-item">',
|
|
'<input type="text" name="text1" placeholder="手机号码" autocomplete="off" value="" />',
|
|
'</div>',
|
|
'<div class="input-item">',
|
|
'<input type="text" name="text2" placeholder="告诉我们您的需求" autocomplete="off" value="" />',
|
|
'</div>',
|
|
'<div class="input-item submit-item">',
|
|
'<button class="foxui-solid-primary foxui-block submit-btn">',
|
|
'<span>提交留言</span>',
|
|
'</button>',
|
|
'</div>',
|
|
'</form>',
|
|
'</div>',
|
|
].join('');
|
|
}
|
|
</script>
|
|
</div>
|
|
</main>
|
|
<!-- 底部 -->
|
|
<footer class="wow slideInUp"><div class="foxcms-container foxcms-footer-pc foxui-hidden-sm foxui-hidden-xs">
|
|
<div class="footer-nav">
|
|
<ul class="left">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'0,5', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li>
|
|
<dl>
|
|
<dt><?php echo $field['name']; ?></dt>
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;?>
|
|
<dd>
|
|
<a href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
|
|
</dd>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</dl>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
<div class="right">
|
|
<h1><?php $param = ['field'=>'company_tel'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></h1>
|
|
<p><?php $param = ['field'=>'email'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></p>
|
|
<p><?php $param = ['field'=>'contact_address'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></p>
|
|
<div class="ewm">
|
|
<img src="<?php $param = ['field'=>'qr_code2'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>" alt="" />
|
|
<span>微信关注我们</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer-link">
|
|
<dl class="left">
|
|
<dt>友情链接:</dt>
|
|
<?php $param = [];$tagLink = new app\taglib\fox\TagLink;$__LIST__ = $tagLink->getList($param,'sort desc'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<dd>
|
|
<a href="<?php echo $field['link']; ?>" target="_blank"><?php echo $field['title']; ?></a>
|
|
</dd>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</dl>
|
|
<div class="right">
|
|
<a href="<?php $param = ['field'=>'xl_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-xinlang-f"></i>
|
|
</a>
|
|
<a href="<?php $param = ['field'=>'dy_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-douyin-f"></i>
|
|
</a>
|
|
<a href="<?php $param = ['field'=>'tmall_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-tianmao-f"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="footer-bottom">
|
|
<div class="left">
|
|
<p class="foxui-color-secondary foxui-margin-bottom-0"><?php $param = ['field'=>'copyright', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param);$add = 1; $param = ['title'=>'网站地图','type'=>'html','target'=>'_blank'];$tagSitemap = new app\taglib\fox\TagSitemap;$tagSitemap->getList($param); ?></p>
|
|
<p class="foxui-color-secondary foxui-margin-top-0 foxui-display-flex"><?php $param = ['field'=>'aq', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param);$add = 1; $param = ['field'=>'police_aq', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?></p>
|
|
</div>
|
|
<div class="right">
|
|
<p class="foxui-color-secondary foxui-margin-bottom-0">
|
|
技术支持:
|
|
<a href="//www.qianfox.com/" target="_blank">黔狐科技</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="foxcms-footer-h5 foxui-visible-sm foxui-visible-xs">
|
|
<div class="footer-nav">
|
|
<ul class="foxui-collapse" data-fold="accordion">
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'0,5', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'self','notypeid'=>'contain','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'self','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<li class="foxui-collapse-item">
|
|
<div class="foxui-collapse-head foxui-collapse-handle">
|
|
<span style="margin-right: 20px"><?php echo $field['name']; ?></span>
|
|
<i class="foxui-icon-xiangyou-o foxui-collapse-icon"></i>
|
|
</div>
|
|
<div class="foxui-collapse-content">
|
|
<ul>
|
|
<?php $param = ['typeid'=>'', 'orderbyid'=>'sort', 'limit'=>'', 'sid'=>''
|
|
, 'typeidP'=>$field["id"],'calltype'=>'parent','notypeid'=>'self','orderby'=>'admin','sortorder'=>'asc'];$model = "column";$tagNav = new app\taglib\fox\TagNav;$__LIST__ = $tagNav->getList($param,'son','admin asc','0','999');$__LIST__ = columnList($__LIST__, -1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($index % 2 );++$index;?>
|
|
<li>
|
|
<a href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
<div class="footer-contact">
|
|
<h1><?php $param = ['field'=>'company_tel'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></h1>
|
|
<p><?php $param = ['field'=>'email'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></p>
|
|
<p><?php $param = ['field'=>'contact_address'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?></p>
|
|
<div class="ewm">
|
|
<img src="<?php $param = ['field'=>'qr_code2'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>" alt="" />
|
|
<span>微信关注我们</span>
|
|
</div>
|
|
<div class="list">
|
|
<a href="<?php $param = ['field'=>'xl_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-xinlang-f"></i>
|
|
</a>
|
|
<a href="<?php $param = ['field'=>'dy_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-douyin-f"></i>
|
|
</a>
|
|
<a href="<?php $param = ['field'=>'tmall_link'];$tagContact = new app\taglib\fox\TagContact;$tagContact->getList($param); ?>">
|
|
<i class="foxui-icon-tianmao-f"></i>
|
|
</a>
|
|
</div>
|
|
<dl>
|
|
<dt>友情链接:</dt>
|
|
<?php $param = [];$tagLink = new app\taglib\fox\TagLink;$__LIST__ = $tagLink->getList($param,'sort desc'); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $index = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$field): $mod = ($index % 2 );++$index;?>
|
|
<dd>
|
|
<a href="<?php echo $field['link']; ?>" target="_blank"><?php echo $field['title']; ?></a>
|
|
</dd>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</dl>
|
|
</div>
|
|
<div class="footer-bottom">
|
|
<p class="foxui-color-secondary foxui-margin-0"><?php $param = ['field'=>'copyright', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param);$add = 1; ?></p>
|
|
<p class="foxui-color-secondary foxui-margin-0"><?php $param = ['field'=>'aq', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param);$add = 1; ?></p>
|
|
<p class="foxui-color-secondary foxui-margin-0"><?php $param = ['field'=>'police_aq', 'add'=>$add];$tagBasic = new app\taglib\fox\TagBasic;$tagBasic->getList($param); ?></p>
|
|
<p class="foxui-color-secondary foxui-margin-top-0">
|
|
技术支持:
|
|
<a href="//www.qianfox.com/" target="_blank">黔狐科技</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
<script src="/templates/skin/js/foxui-1.21.min.js"></script>
|
|
<script src="/templates/skin/js/common.js"></script>
|
|
</html>
|