作者 潘浩文

前段模板 自适应

... ... @@ -11,14 +11,14 @@
</div>
<div class="product">
<div class="product_nav">
<ul>
<ul>
{cms:channellist id="channel" type="son" orderby="id" orderway="asc" typeid="$__CHANNEL__.id"}
<li> {$channel.name}</li>|
{/cms:channellist}
</ul>
</ul>
</div>
<div class="product_list">
... ...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="__ADDON__/css/reset.css">
<link rel="stylesheet" type="text/css" href="__ADDON__/css/public.css">
<link rel="stylesheet" type="text/css" href="__ADDON__/swiper/swiper.min.css">
<link rel="stylesheet" type="text/css" href="__ADDON__/css/index.css">
<script type="text/javascript" src="__ADDON__/swiper/swiper.min.js"></script>
<script type="text/javascript" src="__ADDON__/js/swiper.js"></script>
<script type="text/javascript" src="__ADDON__/js/jquery.js"></script>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="__ADDON__/swiper/swiper.min.css">
<meta name="viewport" content="width=1200">
<meta name="viewport" content="width=device-width,init-scale=1,user-scalable=0" />
<script type="text/javascript" src="__ADDON__/js/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="__ADDON__/bootstrap/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="__ADDON__/css/public.css">
<script type="text/javascript" src="__ADDON__/bootstrap/bootstrap.min.js"></script>
</head>
<body>
<!-- header -->
<div class="header">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse"
data-target="#example-navbar-collapse">
<span class="sr-only">切换导航</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.html"><h2 class="logo_name">军工科技</h2></a>
</div>
<div class="collapse navbar-collapse" id="example-navbar-collapse">
<ul class="nav navbar-nav">
{cms:channellist id="nav" type="top"}
<li class="{if $nav.has_child}dropdown{/if} {if $__CHANNEL__&&($__CHANNEL__.id==$nav.id||$__CHANNEL__.parent_id==$nav.id)} active{/if}">
<a href="{$nav.url}">{$nav.name}{if $nav.has_child}{/if}</a>
<!--<ul class="dropdown-menu" role="menu">-->
<!--{cms:channellist id="sub" type="son" typeid="$nav['id']"}-->
<!--<li><a href="{$sub.url}">{$sub.name}</a></li>-->
<!--{/cms:channellist}-->
<!--</ul>-->
</li>
{/cms:channellist}
<!-- <li class="active"><a href="index.html">首页</a></li>
<li><a href="introduce.html">公司介绍</a></li>
<li><a href="product.html">产品展示</a></li>
<li><a href="news1.html">新闻资讯</a></li>
<li><a href="contact.html">联系我们</a></li> -->
<li class="dropdown"> </li>
</ul>
</div>
</div>
</nav>
<!-- header -->
<div class="header">
<div class="header_content">
<div class="header_1"></div>
<div class="header_nav">
<ul>
<div class="header_1"></div>
<div class="header_nav">
<ul>
{cms:channellist id="nav" type="top"}
<li class="{if $nav.has_child}dropdown{/if} {if $__CHANNEL__&&($__CHANNEL__.id==$nav.id||$__CHANNEL__.parent_id==$nav.id)} active{/if}">
<a href="{$nav.url}">{$nav.name}{if $nav.has_child} {/if}</a>
<!--<ul class="dropdown-menu" role="menu">-->
<!--{cms:channellist id="sub" type="son" typeid="$nav['id']"}-->
<!--<li><a href="{$sub.url}">{$sub.name}</a></li>-->
<!--{/cms:channellist}-->
<!--</ul>-->
</li>
{/cms:channellist}
{cms:channellist id="nav" type="top"}
<li class="{if $nav.has_child}dropdown{/if} {if $__CHANNEL__&&($__CHANNEL__.id==$nav.id||$__CHANNEL__.parent_id==$nav.id)} active{/if}">
<a href="{$nav.url}"{if $nav.has_child} data-toggle="dropdown"{/if}>{$nav.name}{if $nav.has_child} <b class="caret"></b>{/if}</a>
<!--<ul class="dropdown-menu" role="menu">-->
<!--{cms:channellist id="sub" type="son" typeid="$nav['id']"}-->
<!--<li><a href="{$sub.url}">{$sub.name}</a></li>-->
<!--{/cms:channellist}-->
<!--</ul>-->
</li>
{/cms:channellist}
<!-- <li class="active"><a href="index.html">首页</a></li>
<li><a href="introduce.html">公司介绍</a></li>
<li><a href="product.html">产品展示</a></li>
<li><a href="news1.html">新闻资讯</a></li>
<li><a href="contact.html">联系我们</a></li>-->
</ul>
</div>
<div class="search">
<form action="{:url('archives/index')}" method="post">
<button type="submit"></button>
<input type="text" placeholder="搜一搜">
</form>
</div>
<!-- <li class="active"><a href="index.html">首页</a></li>
<li><a href="introduce.html">公司介绍</a></li>
<li><a href="product.html">产品展示</a></li>
<li><a href="news1.html">新闻资讯</a></li>
<li><a href="contact.html">联系我们</a></li> -->
</ul>
</div>
<div class="search">
<form action="{:url('archives/index')}" method="post">
<button type="submit"></button>
<input type="text" placeholder="搜一搜">
</form>
</div>
</div>
</div>
<div class="banner swiper-container">
</div>
<!-- banner -->
<div class="banner swiper-container">
<div class="banner_img swiper-wrapper">
{cms:blocklist id="block" type="banner" row="3"}
<div class="swiper-slide">
<img src="{$block.image}">
<div class="banner_txt">
<div class="banner_txt1">
{if $block.title} <p>{$block.title}</p>{/if}
{if $block.content}<h1>{$block.content}</h1>{/if}
</div>
</div>
{cms:blocklist id="block" type="banner" row="3"}
<div class="swiper-slide">
<img src="{$block.image}">
<div class="banner_txt">
<div class="banner_txt1">
{if $block.title}<p>{$block.title}</p>{/if}
{if $block.content}<h1>{$block.content}</h1>{/if}
</div>
</div>
{/cms:blocklist}
</div>
</div>
{/cms:blocklist}
</div>
<div class="banner_bottom">
<ul class="swiper-pagination">
<li class="swiper-pagination-bullet-active"></li>
<li class="swiper-pagination-bullet"></li>
<li class="swiper-pagination-bullet"></li>
</ul>
</div>
</div>
{__CONTENT__}
<!-- footer -->
<div class="footer">
<p>济南万诺达网络科技有限公司 版权所有</p>
<ul class="swiper-pagination">
<li class="swiper-pagination-bullet-active"></li>
<li class="swiper-pagination-bullet"></li>
<li class="swiper-pagination-bullet"></li>
</ul>
</div>
<script type="text/javascript" src="__ADDON__/swiper/swiper.min.js"></script>
<script type="text/javascript" src="__ADDON__/js/swiper.js"></script>
</div>
{__CONTENT__}
<!-- footer -->
<div class="footer">
<p>济南万诺达网络科技有限公司 版权所有</p>
</div>
<script type="text/javascript" src="__ADDON__/swiper/swiper.min.js"></script>
<script type="text/javascript" src="__ADDON__/js/swiper.js"></script>
</body>
</html>
</body>
</html>
\ No newline at end of file
... ...
{layout name="common/layout" /}
<div class="content_box">
<link rel="stylesheet" type="text/css" href="__ADDON__/css/index.css">
{layout name="common/layout" /}
<div class="content_box">
<!-- new新闻 -->
<div class="new">
<h3>新闻</h3>
<div class="new_box">
<ul style="border-bottom:1px solid #2C82E6;">
{cms:arclist id="item" condition=":model_id=1" row="8" orderby="id" orderway="desc"}
<li>
<a href="{$item.url}">
<p>{:date('Y.m.d',$item.publishtime)}</p>
<h4>{$item.title}</h4>
</a>
</li>
{/cms:arclist}
</ul>
</div>
<h3>新闻</h3>
<div class="new_box">
<ul>
<div class="new_box2" >
{cms:arclist id="item" condition=":model_id=1" row="8" orderby="id" orderway="desc"}
<li>
<a href="{$item.url}">
<p>{:date('Y.m.d',$item.publishtime)}</p>
<h4>{$item.title}</h4>
</a>
</li>
{/cms:arclist}
<!-- <li>
<a href="news2.html">
<p>2019.1.3</p>
<h4>新闻标题</h4>
</a>
</li> -->
</div>
</ul>
</div>
</div>
<!-- select查找 -->
<div class="select">
<div class="select_title">
<p>根据产品查找</p>
</div>
<div class="select_nav tab1">
<ul>
{volist name="channel" id="vo"}
<li class="select_nav_active">{$vo.name}</li>
{/volist}
</ul>
</div>
<div class="select_content tab1_c">
{volist name="info" id="v"}
<ul>
{volist name="v" id="vo"}
<li>
<a href='/a/{$vo.id}'>
<div class="selec_img">
<img src="{$vo.image}">
</div>
<div class="select_txt">
<p>{$vo.title}</p>
</div>
</a>
</li>
{/volist}
</ul>
{/volist}
</div>
<div class="select_title">
<p>根据用途查找</p>
</div>
<div class="select_nav tab2">
<ul>
{volist name="use" id="vo"}
<li class="select_nav_active">{$vo.name}</li>
{/volist}
</ul>
</div>
<div class="select_content tab2_c">
{volist name="use" id="v"}
<ul>
{volist name="v['info']" id="vo"}
<li>
<a href='/a/{$vo.id}'>
<div class="selec_img">
<img src="{$vo.image}">
</div>
<div class="select_txt">
<p>{$vo.title}</p>
</div>
</a>
</li>
{/volist}
</ul>
{/volist}
<div class="select_title">
<p>根据产品查找</p>
</div>
<div class="select_nav tab1">
<ul>
{volist name="channel" id="vo"}
<li class="">{$vo.name}</li>
{/volist}
</ul>
</div>
<div class="select_content tab1_c">
{volist name="info" id="v"}
<ul>
{volist name="v" id="vo"}
<li>
<a href='/a/{$vo.id}'>
<div class="selec_img">
<img src="{$vo.image}">
</div>
<div class="select_txt">
<p>{$vo.title}</p>
</div>
</a>
</li>
{/volist}
</ul>
{/volist}
<!-- <ul>
<li>
<a href='product_detail.html'>
<div class="selec_img">
<img src="images/untitled5.png">
</div>
<div class="select_txt">
<p>产品名称</p>
</div>
</a>
</li>
</ul> -->
</div>
</div>
</div>
<script type="text/javascript" src="__ADDON__/js/jquery.js"></script>
<script type="text/javascript">
<div class="select_title">
<p>根据用途查找</p>
</div>
<div class="select_nav tab2">
<ul>
{volist name="use" id="vo"}
<li class="">{$vo.name}</li>
{/volist}
</ul>
</div>
<div class="select_content tab2_c">
{volist name="use" id="v"}
<ul>
{volist name="v['info']" id="vo"}
<li>
<a href='/a/{$vo.id}'>
<div class="selec_img">
<img src="{$vo.image}">
</div>
<div class="select_txt">
<p>{$vo.title}</p>
</div>
</a>
</li>
{/volist}
</ul>
{/volist}
<!-- <ul>
<li>
<a href='product_detail.html'>
<div class="selec_img">
<img src="images/untitled5.png">
</div>
<div class="select_txt">
<p>产品名称</p>
</div>
</a>
</li>
</ul> -->
</div>
</div>
</div>
<script type="text/javascript">
$('.tab1_c ul').hide();
$('.tab1_c ul:first').show();
$('.tab2_c ul').hide();
$('.tab2_c ul:first').show();
$('.tab1 ul li').click(function(){
var index = $(this).index();
$('.tab1_c ul').eq(index).show().siblings().hide();
$(this).addClass('select_nav_active').siblings().removeClass('select_nav_active')
var index = $(this).index();
$('.tab1_c ul').eq(index).show().siblings().hide();
$(this).addClass('select_nav_active').siblings().removeClass('select_nav_active')
})
$('.tab2 ul li').click(function(){
var index = $(this).index();
$('.tab2_c ul').eq(index).show().siblings().hide();
$(this).addClass('select_nav_active').siblings().removeClass('select_nav_active')
var index = $(this).index();
$('.tab2_c ul').eq(index).show().siblings().hide();
$(this).addClass('select_nav_active').siblings().removeClass('select_nav_active')
})
</script>
</script>
</body>
</html>
\ No newline at end of file
... ...
{layout name="common/layout" /}
<link rel="stylesheet" type="text/css" href="__ADDON__/css/introduce.css">
<div class="content">
<!-- 规定范围 -->
<div class="content">
<div class="content1">
<!-- 公司简介 -->
<div class="content1_title">
<div class="content1_txt">
<h2>公司简介</h2>
<p>Company profile</p>
</div>
<div class="aside">
<p><a href="">发展历史</a></p>
<p><a href="">组织结构</a></p>
</div>
<!-- 公司简介 -->
<div class="content1_title">
<div class="content1_txt">
<h2>公司简介</h2>
<p>Company profile</p>
</div>
{cms:arclist id="item" orderway="desc" aid="36" condition=":id='36'"}
<div class="content1_in">
<div class="imgBox">
<img src="{$item.image}">
</div>
<p>{$item.description}
</p>
<div class="aside">
<p><a href="">发展历史</a></p>
<p><a href="">组织结构</a></p>
</div>
{/cms:arclist}
</div>
<!-- 企业观念 -->
<div class="content1_title">
<div class="content1_txt">
<h2>企业观念</h2>
<p>Enterprise idea</p>
</div>
</div>
{cms:arclist id="item" orderway="desc" aid="36" condition=":id='37'"}
<div class="content2_in">
<p>{$item.description}
</p>
<div class="imgBox2">
<img src="{$item.image}">
</div>
</div>
{/cms:arclist}
<!-- 发展历史 -->
<div class="content1_title">
<div class="content1_txt">
<h2>发展历史</h2>
<p>The development history</p>
</div>
</div>
<div class="content3_in">
{cms:arclist id="item" row="8" mod="2" typeid='58' condition=":channel_id=58" orderby="id" orderway="desc"}
{eq name="mod" value="1"}
<div class="textbox_time">
<div class="textbox">
<p>{$item.description}</p>
</div>
<p class="time">{$item.title}</p>
</div>
{/eq}
{eq name="mod" value="0"}
<div class="textbox_time">
<p class="time2">{$item.title}</p>
<div class="textbox2">
<p>{$item.description}</p>
</div>
</div>
{/eq}
{/cms:arclist}
<!--<div class="textbox_time">
<p class="time2">2015年3月</p>
<div class="textbox2">
<p>公司某某大事文本自由编辑</p>
</div>
</div>
<div class="textbox_time">
<div class="textbox3">
<p>公司某某大事文本自由编辑</p>
</div>
<p class="time3">2015年3月</p>
</div>
-->
<img src="__ADDON__/images/pic_03.png">
</div>
<!-- 发展历史 -->
<div class="content1_title">
<div class="content1_txt">
<h2>组织结构</h2>
<p>The development history</p>
</div>
{cms:arclist id="item" orderway="desc" aid="36" condition=":id='36'"}
<div class="content1_in">
<div class="imgBox">
<img src="{$item.image}">
</div>
<p>{$item.description}
</p>
</div>
{/cms:arclist}
<!-- 企业观念 -->
<div class="content1_title">
<div class="content1_txt">
<h2>企业观念</h2>
<p>Enterprise idea</p>
</div>
<div class="content3_in">
<ul>
{cms:arclist id="item" row="4" condition=":channel_id=59" orderby="id" orderway="desc"}
<li>
<h2>{$item.title}</h2>
<p>{$item.description}</p>
</li>
{/cms:arclist}
</ul>
</div>
{cms:arclist id="item" orderway="desc" aid="36" condition=":id='37'"}
<div class="content2_in">
<p>{$item.description}
</p>
<div class="imgBox2">
<img src="{$item.image}">
</div>
</div>
{/cms:arclist}
<!-- 发展历史 -->
<div class="content1_title">
<div class="content1_txt">
<h2>发展历史</h2>
<p>The development history</p>
</div>
<!-- 声明 -->
<div class="content1_title">
<div class="content1_txt">
<h2>声明</h2>
<p>Declaration</p>
</div>
</div>
<div class="content3_in">
{cms:arclist id="item" row="8" mod="2" typeid='58' condition=":channel_id=58" orderby="id" orderway="desc"}
{eq name="mod" value="2"}
<div class="textbox_time">
<div class="textbox">
<p>{$item.description}</p>
</div>
<p class="time">{$item.title}</p>
</div>
{/eq}
{eq name="mod" value="1"}
<div class="textbox_time">
<p class="time2">{$item.title}</p>
<div class="textbox2">
<p>{$item.description}</p>
</div>
</div>
{/eq}
{eq name="mod" value="0"}
<div class="textbox_time">
<div class="textbox3">
<p>{$item.title}</p>
</div>
<p class="time3">{$item.description}</p>
</div>
{/eq}
{/cms:arclist}
<!-- <div class="textbox_time">
<div class="textbox">
<p>公司某某大事文本自由编辑</p>
</div>
<p class="time">2015年3月</p>
</div> -->
<img src="__ADDON__/images/pic_03.png">
</div>
<!-- 发展历史 -->
<div class="content1_title">
<div class="content1_txt">
<h2>组织结构</h2>
<p>The development history</p>
</div>
{cms:arclist id="item" row="4" condition=":id=38" orderby="id" orderway="desc"}
<p class="content4_in">{$item.description}</p>
</div>
<div class="content3_in">
<ul>
{cms:arclist id="item" row="4" condition=":channel_id=59" orderby="id" orderway="desc"}
<li>
<h2>{$item.title}</h2>
<p>{$item.description}</p>
</li>
{/cms:arclist}
<!-- <li>
<h2>某某部门</h2>
<p>部门职能介绍</p>
</li> -->
</ul>
</div>
<!-- 声明 -->
<div class="content1_title">
<div class="content1_txt">
<h2>声明</h2>
<p>Declaration</p>
</div>
</div>
<!-- <p class="content4_in">爱奇艺,中国高品质视频娱乐服务提供者。2010年4月22日正式上线,秉承“悦享品质”的品牌口号,积极推动产品、技术、内容、营销等全方位创新,为用户提供丰富、高清、流畅的专业视频体验,致力于让人们平等、便捷地获得更多、更好的视频。目前,爱奇艺已成功构建了包含电商、 游戏、电影票等业务在内、连接人与服务的视频商业生态,引领视频网站商业模式的多元化发展。<br>
丰富、高清、流畅的专业视频体验,致力于让人们平等、便捷地获得更多、更好的视频。目前,爱奇艺已成功构建了包含电
</p> -->
{cms:arclist id="item" row="4" condition=":id=38" orderby="id" orderway="desc"}
<p class="content4_in">{$item.description}</p>
{/cms:arclist}
</div>
</div>
\ No newline at end of file
</div>
<link rel="stylesheet" type="text/css" href="__ADDON__/css/introduce.css">
\ No newline at end of file
... ...
{layout name="common/layout" /}
<link rel="stylesheet" type="text/css" href="__ADDON__/css/contact.css">
<div class="content">
<!-- 内容 -->
<div class="content">
<div class="content_left">
<div class="content_left_txt1">
<p>公司地址</p>
{cms:arclist id="item" channel="65" condition=":id=55" addon="true"}
<p>{$item.address}</p>
{cms:arclist id="item" channel="65" condition=":id=55" addon="true"}
<div class="content_left_txt1">
<p>公司地址</p>
</div>
<div class="content_left_txt2">
<p>公司电话</p>
<p>{$item.tel}</p>
{/cms:arclist}
</div>
<p>{$item.address}</p>
</div>
<div class="content_left_txt2">
<p>公司电话</p>
<p>{$item.tel}</p>
</div>
{/cms:arclist}
</div>
<div class="content_right">
<img src="__ADDON__/images/pic_08.png">
<img src="__ADDON__/images/pic_08.png">
</div>
</div>
\ No newline at end of file
</div>
<link rel="stylesheet" type="text/css" href="__ADDON__/css/contact.css">
<!-- footer -->
... ...
{layout name="common/layout" /}
<!-- content -->
<div class="content">
<div class="news1_title">
<ul>
{cms:channellist id="channel" type="son" orderby="id" orderway="asc" typeid="$__CHANNEL__.id"}
<li> {$channel.name}</li>|
<div class="container" id="content-container">
<h1>
{cms:channel name="name" /}
<ol class="breadcrumb pull-right">
<!-- S 面包屑导航 -->
{cms:breadcrumb id="item"}
<li><a href="{$item.url}">{$item.name}</a></li>
{/cms:breadcrumb}
<!-- E 面包屑导航 -->
</ol>
</h1>
<div class="tabs-wrapper">
<!-- S 分类列表 -->
<div class="tabs-mark-group plm ptm">
<div class="title">{:__('All categories')}:</div>
{/cms:channellist}
<ul class="content list-unstyled list-inline">
<li class="classify"></li>
<li class="classify"></li>
<li class="classify"></li>
</ul>
</div>
{cms:pagefilter id="filter" exclude=""}
<div class="tabs-group">
<div class="title">{$filter.title}:</div>
<ul class="content clearfix">
{volist name="$filter.content" id="item"}
<li class="{$item.active?'active':''}"><a class="nav-link" href="{$item.url}">{$item.title}</a></li>
{/volist}
</ul>
</div>
{/cms:pagefilter}
<!-- E 分类列表 -->
<!-- <li class="active">新闻分类1</li>|
<li>新闻分类2</li>|
<li>新闻分类3</li> -->
</ul>
</div>
<div class="news1_list">
<div class="article-filter">
<ul class="nav nav-sort clearfix">
<!-- S 排序 -->
{cms:pageorder id="order"}
<li><a href="{$order.url}" class="{$order.active?'active':''}">{$order.title}</a></li>
{/cms:pageorder}
<!-- E 排序 -->
</ul>
</div>
<ul>
<a href="news2.html">
<li>
<h2>{cms:archives name="title" /}</h2>
<span>{cms:archives name="createtime|date='Y-m-d',###" /}</span>
<p> {cms:archives name="content" /}
</p>
</li>
</a>
<div class="article-list-body row">
<!-- <a href="news2.html">
<li>
<h2>新闻标题</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a>
<a href="news2.html">
<li>
<h2>新闻标题</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a> -->
<div class="col-md-8 article-list-main">
</ul>
<!-- S 列表 -->
{cms:pagelist id="item"}
{include file="common/item"}
{/cms:pagelist}
<!-- E 列表 -->
<ul>
<!-- S 分页栏 -->
<div class="text-center">
{cms:pageinfo type="full" /}
</div>
<!-- E 分页栏 -->
</div>
<a href="news2.html">
<li>
<h2>{cms:archives name="title" /}</h2>
<span>{cms:archives name="createtime|date='Y-m-d',###" /}</span>
<p> {cms:archives name="content" /}
</p>
</li>
</a>
<aside class="col-md-4 article-sidebar">
<div class="panel panel-adimg">
{cms:block name="sidebarad1" /}
</div>
<div class="panel panel-adimg">
{cms:block name="sidebarad2" /}
</div>
{include file="common/sidebar" /}
</aside>
<!-- <a href="news2.html">
<li>
<h2>新闻标题2</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a>
<a href="news2.html">
<li>
<h2>新闻标题2</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a> -->
</ul>
<ul>
<a href="news2.html">
<li>
<h2>{cms:archives name="title" /}</h2>
<span>{cms:archives name="createtime|date='Y-m-d',###" /}</span>
<p> {cms:archives name="content" /}
</p>
</li>
</a>
<!-- <a href="news2.html">
<li>
<h2>新闻标题3</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a>
<a href="news2.html">
<li>
<h2>新闻标题3</h2>
<span>2018年12月1日</span>
<p> 一句心酸的诗,一场心寒的雨,拼凑了一段心伤的岁月,落进了黄昏沉沉的漆黑里。破碎的瓦片,斑驳的粉墙,几条深深浅浅的沟壑流
淌着屋檐下的浊水,几片细叶顺流而下,沉入了暗沟。
</p>
</li>
</a> -->
</ul>
</div>
</div>
</div>
<script type="text/javascript" src="swiper/swiper.min.js"></script>
<script type="text/javascript" src="js/swiper.js"></script>
<script type="text/javascript">
$('.news1_list ul').hide();
$('.news1_list ul:first').show();
$('.news1_title ul li').click(function(){
var index = $(this).index();
$('.news1_list ul').eq(index).show().siblings().hide();
$(this).addClass('active').siblings().removeClass('active')
})
</script>
... ...
{layout name="common/layout" /}
<!-- 内容 -->
<div class="content">
<!-- 发展历史 -->
<div class="content1_title">
<div class="content1_txt">
<h2>产品</h2>
<p>product</p>
</div>
</div>
<div class="product">
{cms:pagefilter id="filter" exclude=""}
<div class="product_nav">
<div class="container" id="content-container">
<h1>
{cms:channel name="name" /}
<ol class="breadcrumb pull-right">
<!-- S 面包屑导航 -->
{cms:breadcrumb id="item"}
<li><a href="{$item.url}">{$item.name}</a></li>
{/cms:breadcrumb}
<!-- E 面包屑导航 -->
</ol>
</h1>
<div class="tabs-wrapper">
<!-- S 分类列表 -->
<div class="tabs-mark-group plm ptm">
<div class="title">{:__('All categories')}:</div>
<ul>
<ul class="content list-unstyled list-inline">
<li class="classify"></li>
<li class="classify"></li>
<li class="classify"></li>
</ul>
<!-- <li class="active">产品分类1</li>|
<li>产品分类2</li>|
<li>产品分类3</li>|
<li>产品分类4</li>|
<li>产品分类5</li>|
<li>产品分类6</li> -->
{volist name="$filter.content" id="item"}
<li class="{$item.active?'active':''}">
<a class="nav-link" href="{$item.url}">{$item.title}</a>
</li>
{/volist}
</div>
{cms:pagefilter id="filter" exclude=""}
<div class="tabs-group">
<div class="title">{$filter.title}:</div>
<ul class="content clearfix">
{volist name="$filter.content" id="item"}
<li class="{$item.active?'active':''}"><a class="nav-link" href="{$item.url}">{$item.title}</a></li>
{/volist}
</ul>
</div>
{/cms:pagefilter}
<!-- E 分类列表 -->
</div>
</ul>
<div class="article-filter">
<ul class="nav nav-sort clearfix">
<!-- S 排序 -->
{cms:pageorder id="order"}
</div>
{/cms:pagefilter}
<div class="product_list">
<ul>
<!-- <a href="product_detail.html">
<li>
<a href="{$order.url}" class="{$order.active?'active':''}">
{$order.title}
</a>
<div class="imgBox">
<img src="images/pic_05.png">
</div>
<p>歼20</p>
<p>简要文字说明材料 参数 加工技艺</p>
</li>
{/cms:pageorder}
<!-- S 排序 -->
</a> -->
{cms:pagelist id="item"}
<a href="{$item.url}">
<li>
<div class="imgBox">
<img src="{$item.image}">
</div>
<p>{$item.title}</p>
<p>{:__('View detail')}</p>
</li>
</a>
{/cms:pagelist}
</ul>
</div>
<ul>
{cms:pagelist id="item"}
<a href="{$item.url}">
<li>
<div class="imgBox">
<img src="{$item.image}">
</div>
<p>{$item.title}</p>
<p>{:__('View detail')}</p>
</li>
</a>
{/cms:pagelist}
<div class="product-list">
<div class="row">
<!-- S 列表 -->
{cms:pagelist id="item"}
<div class="col-sm-4 col-md-3 product">
<div class="card">
<a href="{$item.url}"><div class="image" style="background-image:url('{$item.image}')"></div></a>
<div class="title">
<h2><a href="{$item.url}">{$item.title}</a></h2>
</div>
<div class="operate">
<a href="{$item.url}" class="detail">{:__('View detail')}</a>
</div>
</div>
</div>
{/cms:pagelist}
<!-- S 列表 -->
</div>
<!-- S 分页栏 -->
<div class="text-center">
{cms:pageinfo type="full" /}
</div>
<!-- E 分页栏 -->
</ul>
</div>
</div>
</div>
</div>
<!-- footer -->
<link rel="stylesheet" type="text/css" href="__ADDON__/css/product.css">
<script type="text/javascript">
$('.product_list ul').hide();
$('.product_list ul:first').show();
$('.product_nav ul li').click(function(){
$(this).addClass('active').siblings().removeClass('active');
var index = $(this).index();
$('.product_list ul').eq(index).show().siblings().hide();
})
</script>
... ...
{layout name="common/layout" /}
<link rel="stylesheet" type="text/css" href="__ADDON__/css/news2.css">
<div class="content">
<link rel="stylesheet" type="text/css" href="__ADDON__/css/news2.css"> <!-- content -->
<div class="content">
<div class="news2_title">
<ul>
{cms:channellist id="channel" type="son" orderby="id" orderway="asc" typeid="$__CHANNEL__.id"}
<li> {$channel.name}</li>|
<ul>
{cms:channellist id="channel" type="son" orderby="id" orderway="asc" typeid="$__CHANNEL__.id"}
<li> {$channel.name}</li>|
{/cms:channellist}
</ul>
{/cms:channellist}
<li class="active">新闻分类1</li>|
<li>新闻分类2</li>|
<li>新闻分类3</li>
</ul>
</div>
<div class="news2_list">
<div>
<div class="news2_list setector">
<div class="news2_titleTime">
<h1>{cms:archives name="title" /}</h1>
<span>{cms:archives name="createtime|date='Y-m-d',###" /}</span>
<h1>{cms:archives name="title" /}</h1>
<span>{cms:archives name="createtime|date='Y-m-d',###" /}</span>
</div>
<div class="news2_titleText">
<p>
{cms:archives name="content" /}
</p>
<p>{cms:archives name="content" /}
</p>
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
<script type="text/javascript">
$('.news2_title ul li').click(function(){
$(this).addClass('active').siblings().removeClass('active');
var index = $(this).index();
$('.news2_list').eq(index).show().siblings().hide();
})
</script>
... ...
{layout name="common/layout" /}
<link rel="stylesheet" type="text/css" href="__ADDON__/css/product_detail.css">
<div class="content">
<!-- 内容 -->
<div class="content">
<div class="content_nav">
<ul class="pagination">
<ul class="">
{cms:breadcrumb id="item"}
<li><a href="{$item.url}">{$item.name}</a><img src="__ADDON__/images/pic_09.png"></li>
{/cms:breadcrumb}
{cms:breadcrumb id="item"}
<li><a href="{$item.url}">{$item.name}</a><img src="__ADDON__/images/pic_09.png"></li>
{/cms:breadcrumb}
</ul>
<!-- <li><a href="#">产品展示</a><img src="images/pic_09.png"></li>
<li><a href="#">产品分类</a><img src="images/pic_09.png"></li>
<li><a href="#">产品名称</a><img src="images/pic_09.png"></li>
<li><a href="#">产品详情</a></li> -->
</ul>
</div>
<div class="content_detail">
<div class="left">
{volist name="$__ARCHIVES__.productdata|explode=',',###" id="image"}
<div class="tab">
<img src="{$image|str_replace='_m.jpg','_b.jpg',###}">
</div>
{/volist}
<!-- <div class="tab">
<img src="__ADDON__/images/pic_05.png">
</div>
<div class="left">
<div class="tab">
<img src="__ADDON__/images/pic_07.png">
</div>
{volist name="$__ARCHIVES__.productdata|explode=',',###" id="image"}
<div class="tab">
<img src="{$image|str_replace='_m.jpg','_b.jpg',###}">
</div>
{/volist}
<div class="tab">
<img src="__ADDON__/images/pic_05.png">
</div>-->
<!-- <div class="tab">
<img src="images/pic_05.png">
</div>
<div class="tab">
<img src="images/pic_07.png">
</div>
<div class="tab">
<img src="images/pic_05.png">
</div> -->
</div>
<div class="tabContent">
<div class="select appear ">
<div class="center" >
<img src="__ADDON__/images/pic_05.png" id="showImg">
</div>
<div class="right">
<h1>产品说明</h1>
<p>{cms:archives name="content" /}</p>
</div>
</div>
<div class="tabContent">
<div class="select appear ">
<div class="center" >
<img src="__ADDON__/images/pic_05.png" id="showImg">
</div>
<div class="right">
<h1>产品说明</h1>
<p>{cms:archives name="content" /}</p>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$('.left .tab').mouseover(function(){
var img = $(this).find('img').attr('src')
$('#showImg').attr('src',img)
})
</script>
<div class="select_content">
<ul>
{cms:arclist id="relate" condition=":model_id=2" row="4"}
<li class="select_active">
<a href="{$relate.url}">
<div class="selec_img">
<img src="{$relate.image}">
</div>
<div class="select_txt">
<p>{$relate.title}</p>
</div>
</a>
</li>
{/cms:arclist}
<ul>
{cms:arclist id="relate" condition=":model_id=2" row="4"}
<li>
<a href="{$relate.url}">
<div class="selec_img">
<img src="{$relate.image}">
</div>
<div class="select_txt">
<p>{$relate.title}</p>
</div>
</a>
</li>
{/cms:arclist}
</ul>
</ul>
</div>
</div>
\ No newline at end of file
</div>
<script type="text/javascript">
$('.left .tab').mouseover(function(){
var img = $(this).find('img').attr('src')
$('#showImg').attr('src',img)
})
</script>
... ...
... ... @@ -18,7 +18,7 @@ return [
// 应用命名空间
'app_namespace' => 'app',
// 应用调试模式
'app_debug' => Env::get('app.debug', false),
'app_debug' => Env::get('app.debug', true),
// 应用Trace
'app_trace' => Env::get('app.trace', false),
// 应用模式状态
... ...
... ... @@ -53,4 +53,4 @@ return [
'datetime_format' => false,
// 是否需要进行SQL性能分析
'sql_explain' => false,
];
];
\ No newline at end of file
... ...
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e)==1)return c+d;if(!g)g=e*.3;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158;var g=0;var h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;if(!g)g=e*.3*1.5;if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);if(b<1)return-.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c;return h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*(b/=e)*b*((f+1)*b-f)+c},easeOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;return d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeInOutBack:function(a,b,c,d,e,f){if(f==undefined)f=1.70158;if((b/=e/2)<1)return d/2*b*b*(((f*=1.525)+1)*b-f)+c;return d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeInBounce:function(a,b,c,d,e){return d-jQuery.easing.easeOutBounce(a,e-b,0,d,e)+c},easeOutBounce:function(a,b,c,d,e){if((b/=e)<1/2.75){return d*7.5625*b*b+c}else if(b<2/2.75){return d*(7.5625*(b-=1.5/2.75)*b+.75)+c}else if(b<2.5/2.75){return d*(7.5625*(b-=2.25/2.75)*b+.9375)+c}else{return d*(7.5625*(b-=2.625/2.75)*b+.984375)+c}},easeInOutBounce:function(a,b,c,d,e){if(b<e/2)return jQuery.easing.easeInBounce(a,b*2,0,d,e)*.5+c;return jQuery.easing.easeOutBounce(a,b*2-e,0,d,e)*.5+d*.5+c}})
/*
*
* TERMS OF USE - EASING EQUATIONS
*
* Open source under the BSD License.
*
* Copyright © 2001 Robert Penner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* Neither the name of the author nor the names of contributors may be used to endorse
* or promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
\ No newline at end of file
... ...
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){document===a.target||this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);if(this.$element.trigger(g),!g.isDefaultPrevented())return f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=window.SVGElement&&c instanceof window.SVGElement,g=d?{top:0,left:0}:f?null:b.offset(),h={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},i=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,h,i,g)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){
this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file
... ...
... ... @@ -90,7 +90,7 @@
.select_content ul{
display: flex;
display: -webkit-flex;
margin-top:30px;
}
.select_content ul li{
... ...
... ... @@ -79,6 +79,9 @@
.appear{
display: none;
overflow: hidden;
margin-top: 0px;
}
.select{
display: block;
... ...