Commit 45742764 by 林翔

lx

parent 2591cc8c
Showing with 142 additions and 250 deletions
...@@ -18,27 +18,9 @@ ...@@ -18,27 +18,9 @@
<meta name="x5-page-mode" content="app"> <meta name="x5-page-mode" content="app">
<link rel="icon" href="favicon.ico"> <link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="./js/layui/css/layui.css"> <link rel="stylesheet" type="text/css" href="./css/mui.min.css">
<link rel="stylesheet" type="text/css" href="./css/style.css"> <link rel="stylesheet" type="text/css" href="./css/style.css">
<script> <script type="text/javascript" src="./js/font.js"></script>
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientWidth>=750){
docEl.style.fontSize = '100px';
}else{
docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
}
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
</script>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
...@@ -56,12 +38,9 @@ ...@@ -56,12 +38,9 @@
</ul> </ul>
</div> </div>
<div class="layui-carousel index-banner" id="banner"> <!-- 固定图 -->
<ul class="banner-wrap" carousel-item=""> <div class="index-fixed-banner">
<li class="pic-1"><a href="javascript:;"></a></li> <img src="./images/about.jpg" alt="">
<li class="pic-2"><a href="javascript:;"></a></li>
<li class="pic-3"><a href="javascript:;"></a></li>
</ul>
</div> </div>
<div class="about-box1"> <div class="about-box1">
...@@ -127,7 +106,7 @@ ...@@ -127,7 +106,7 @@
</div> </div>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script> <script type="text/javascript" src="./js/mui.min.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> --> <!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script> <script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body> </body>
......
...@@ -18,27 +18,9 @@ ...@@ -18,27 +18,9 @@
<meta name="x5-page-mode" content="app"> <meta name="x5-page-mode" content="app">
<link rel="icon" href="favicon.ico"> <link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="./js/layui/css/layui.css"> <link rel="stylesheet" type="text/css" href="./css/mui.min.css">
<link rel="stylesheet" type="text/css" href="./css/style.css"> <link rel="stylesheet" type="text/css" href="./css/style.css">
<script> <script type="text/javascript" src="./js/font.js"></script>
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientWidth>=750){
docEl.style.fontSize = '100px';
}else{
docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
}
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
</script>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
...@@ -56,12 +38,9 @@ ...@@ -56,12 +38,9 @@
</ul> </ul>
</div> </div>
<div class="layui-carousel index-banner" id="banner"> <!-- 固定图 -->
<ul class="banner-wrap" carousel-item=""> <div class="index-fixed-banner">
<li class="pic-1"><a href="javascript:;"></a></li> <img src="./images/contact.jpg" alt="">
<li class="pic-2"><a href="javascript:;"></a></li>
<li class="pic-3"><a href="javascript:;"></a></li>
</ul>
</div> </div>
<div class="contact-box1"> <div class="contact-box1">
...@@ -91,37 +70,23 @@ ...@@ -91,37 +70,23 @@
<p class="content-text content-text2">专业团队 扁平化管理</p> <p class="content-text content-text2">专业团队 扁平化管理</p>
<p class="content-text content-text3">业内大神 带你装逼带你飞</p> <p class="content-text content-text3">业内大神 带你装逼带你飞</p>
</div> </div>
<table class="layui-table">
<colgroup> <div class="contact-box2-table-box">
<col class="col-1"> <div class="contact-box2-table">
<col class="col-2"> <div class="table-cell table-cell-title">职业名称</div>
<col> <div class="table-cell table-cell-title">岗位亮点</div>
</colgroup> <div class="table-cell table-cell-title">招聘详情</div>
<thead> <div class="table-cell table-cell-1">业务经理</div>
<tr> <div class="table-cell table-cell-2">超高提成 五险一金<br>带薪年假 绩效奖金</div>
<th>职业名称</th> <div class="table-cell table-cell-3"><a class="job_detail" data-job="0" href="javascript:;">详情</a></div>
<th>岗位亮点</th> <div class="table-cell table-cell-1">采购员</div>
<th>招聘详情</th> <div class="table-cell table-cell-2">五险一金 带薪年假<br>绩效奖金</div>
</tr> <div class="table-cell table-cell-3"><a class="job_detail" data-job="1" href="javascript:;">详情</a></div>
</thead> <div class="table-cell table-cell-1">业务助理</div>
<tbody> <div class="table-cell table-cell-2">五险一金 带薪年假<br>绩效奖金 团队分红</div>
<tr> <div class="table-cell table-cell-3"><a class="job_detail" data-job="2" href="javascript:;">详情</a></div>
<td>业务经理</td> </div>
<td>超高提成 五险一金 带薪年假 绩效奖金</td> </div>
<td><a class="job_detail" data-job="0" href="javascript:;">详情</a></td>
</tr>
<tr>
<td>采购员</td>
<td>五险一金 带薪年假 绩效奖金</td>
<td><a class="job_detail" data-job="1" href="javascript:;">详情</a></td>
</tr>
<tr>
<td>业务助理</td>
<td>五险一金 带薪年假 绩效奖金 团队分红</td>
<td><a class="job_detail" data-job="2" href="javascript:;">详情</a></td>
</tr>
</tbody>
</table>
</div> </div>
<div class="contact-box3"> <div class="contact-box3">
...@@ -165,7 +130,7 @@ ...@@ -165,7 +130,7 @@
</div> </div>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script> <script type="text/javascript" src="./js/mui.min.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> --> <!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script> <script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body> </body>
......
...@@ -18,27 +18,9 @@ ...@@ -18,27 +18,9 @@
<meta name="x5-page-mode" content="app"> <meta name="x5-page-mode" content="app">
<link rel="icon" href="favicon.ico"> <link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="./js/layui/css/layui.css"> <link rel="stylesheet" type="text/css" href="./css/mui.min.css">
<link rel="stylesheet" type="text/css" href="./css/style.css"> <link rel="stylesheet" type="text/css" href="./css/style.css">
<script> <script type="text/javascript" src="./js/font.js"></script>
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientWidth>=750){
docEl.style.fontSize = '100px';
}else{
docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
}
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
</script>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
...@@ -56,12 +38,44 @@ ...@@ -56,12 +38,44 @@
</ul> </ul>
</div> </div>
<div class="layui-carousel index-banner" id="banner"> <!-- 轮播图 -->
<ul class="banner-wrap" carousel-item=""> <div class="mui-slider index-banner">
<li class="pic-1"><a href="javascript:;"></a></li> <div class="mui-slider-group mui-slider-loop">
<li class="pic-2"><a href="javascript:;"></a></li> <!-- 额外增加的一个节点(循环轮播:第一个节点是最后一张轮播) -->
<li class="pic-3"><a href="javascript:;"></a></li> <div class="mui-slider-item">
</ul> <a href="#" target="_blank">
<img src="./images/banner-3.jpg" alt="">
</a>
</div>
<div class="mui-slider-item">
<a href="#" target="_blank">
<img src="./images/banner-1.jpg" alt="">
</a>
</div>
<div class="mui-slider-item">
<a href="#" target="_blank">
<img src="./images/banner-2.jpg" alt="">
</a>
</div>
<div class="mui-slider-item">
<a href="#" target="_blank">
<img src="./images/banner-3.jpg" alt="">
</a>
</div>
<!-- 额外增加的一个节点(循环轮播:最后一个节点是第一张轮播) -->
<div class="mui-slider-item">
<a href="#" target="_blank">
<img src="./images/banner-1.jpg" alt="">
</a>
</div>
</div>
<div class="mui-slider-indicator">
<div class="mui-indicator mui-active"></div>
<div class="mui-indicator"></div>
<div class="mui-indicator"></div>
</div>
</div> </div>
<div class="index-box1"> <div class="index-box1">
...@@ -107,7 +121,7 @@ ...@@ -107,7 +121,7 @@
</div> </div>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/layui/layui.all.js"></script> <script type="text/javascript" src="./js/mui.min.js"></script>
<!-- <script type="text/javascript" src="./js/index.js"></script> --> <!-- <script type="text/javascript" src="./js/index.js"></script> -->
<script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script> <script>document.write("<script type='text/javascript' src='./js/index.js?v=" + Date.now() + "'><\/script>");</script>
</body> </body>
......
{
"data":
[
{
"brandImg":"./images/product/group_6/1.jpg",
"company":"风华高新科技股份有限公司",
"address":"研发中心:新加坡和中国大陆",
"time":"成立时间:1900年",
"name":"商标名称:",
"img":["./images/product/group_6/1.jpg","./images/product/group_6/2.jpg","./images/product/group_6/3.jpg"],
"introduce":
["风华高科公司自1985年进入电子元器件行业以来,实现了跨越式的发展,已成为国内最大的新型元器件及电子基础材料的科研、生产和出口基地,全球八大片式元器件制造商之一,被列入国家520户重点大型国有企业集团,是全国技术创新试点企业、国家通讯产品国产化配套元件定点企业以及全国36家扩大企业博士后流动站之一。",
"目前,风华集团已经形成三大系列的电子信息基础产品,包括以片式多层陶瓷电容器、片式电阻器、片式电感器、超小型铝电解电容器、片式钽电解电容器、片式二、三极管、厚膜混合集成电路、敏感元器件及传感器件、锂离子电池芯、真空荧光显示器等为主的新型元器件系列产能达1000亿只/年;以电子陶瓷粉体、电子浆料、锂离子电池正负极材料、磁性材料为主的电子材料系列产能达1500吨/年;以片式元器件设备、表面贴装设备为主的电子专用设备系列,在国内电子专用设备行业享有盛名。"]
},
{
"brandImg":"./images/product/group_7/1.jpg",
"company":"国巨(YAGEO)公司",
"address":"总部地址:美国",
"time":"成立时间:1977年",
"name":"商标名称:",
"img":["./images/product/group_7/1.jpg","./images/product/group_7/2.jpg","./images/product/group_7/3.jpg"],
"introduce":
["Yageo目前在芯片电阻器方面排名世界第一,MLCC排名第三,在全球拥有强大的影响力 - 全球有38个销售办事处,19个生产基地,6个JIT物流中心和14个研发中心。",
"Yageo的广泛产品主要针对主要垂直市场,包括移动,平板电脑,工业/电源,替代能源,医疗和汽车等应用。我们服务于多元化的全球领先客户,如EMS,ODM,OEM和分销商。"]
},
{
"brandImg":"./images/product/group_2/1.jpg",
"company":"三星电机株式会社",
"address":"总部地址:韩国京机道水原市曩通区梅滩3洞314",
"time":"成立时间:1973年",
"name":"商标名称:Samsung",
"img":["./images/product/group_2/1.jpg","./images/product/group_2/2.jpg","./images/product/group_2/3.jpg"],
"introduce":
["三星电机成立时,基于生产Audio/Video部件,为韩国部件产品的自主技术奠定坚实的基础,在上世纪80年代将业务领域扩大到材料及计算机部件,在90年代致力于开发芯片元件、移动通信元件、光元件等下一代有望新产品。",
"21世纪以来,以材料、无线高频、电源/精密机械等核心技术为基础谋求战略技术的深层发展及业务的协同效果,以此为中心,集中培养电路板、芯片元件、相机模块、通信模块等业务。三星电机将生产世界最佳的核心产品,通过技术融合继续开发新产品,扩大业务组合范围,提前培养下一代增长业务,发展成为电子部件行业的领先企业。"]
},
{
"brandImg":"./images/product/group_1/1.jpg",
"company":"华新科技有限公司",
"address":"总部地址:台湾桃园县杨梅高狮路566-1号",
"time":"成立时间:1992年",
"name":"商标名称:WALSIN",
"img":["./images/product/group_1/1.jpg","./images/product/group_1/2.jpg","./images/product/group_1/3.jpg"],
"introduce":
["深刻了解技术能力的重要性,华新科技自2001年以来持续以维普营收3%投资于技术研发与创新,并持续关注电子产品应用趋势,以确保产品规格符合客户所需,致力于微型化、成本效益、绿色环保、保护元件及各式特殊产品开发。善用产业价值链的合纵连横,华新科技积极整合粉末供应商信昌陶瓷(PDC)、超微小电阻专家釜屋电机(Kamaya),并与ARROW等区域性大分销合作,共同提升产品规格与服务。8座主要生产基地布局于亚太地区,供货与仓储网络遍布全球。顺应3C产品轻、薄、微型化、多功整合的趋势,华新的元件产品补广泛应用于各式电子产品中,从电脑资讯,通讯设备、消费性电子商品以至于车用及工业应用,早已深入广大消费者的生活于无形,彻底实践「华新,常在您身边」的品牌承诺!",
"台湾证交所上市(2492.TT或WTC),列名于全球前五大及中国大陆第一大MLCC的制造商,华新科技产品线包括积层陶瓷电容器(MLCC)、芯片电阻(Chip Resistors)、感应及控制组件、高频设备及模组等产品。自1992年成立以来,华科持续以年营收3-5%百分比投资于技术研发方面,其产品对数字家电及通讯产业均扮演着不可或缺的重要角色。"]
},
{
"brandImg":"./images/product/group_3/1.jpg",
"company":"厚声电子工业有限公司",
"address":"总部地址:台湾新竹",
"time":"成立时间:1978年",
"name":"商标名称:UniOhm",
"img":["./images/product/group_3/1.jpg","./images/product/group_3/2.jpg","./images/product/group_3/3.jpg"],
"introduce":
["Uniroyal有很多产品,如贴片电阻,网络电阻,DIP涂层电阻,水泥电阻,功率电阻等。与中国,美国,欧洲,俄罗斯,中东,巴基斯坦,印度尼西亚,日本和韩国等国家的客户建立了合作关系。",
"服务质量和有竞争力的价格是公司的主要原则。为确保公司保证无与伦比的质量控制,管理层早在1997年就获得了ISO9002认证,电信用TL9000认证,汽车用TS16949认证和环境保护系统ISO14001认证。"]
},
{
"brandImg":"./images/product/group_4/1.jpg",
"company":"长电科技有限公司",
"address":"研发中心:新加坡和中国大陆",
"time":"成立时间:1972年",
"name":"商标名称:",
"img":["./images/product/group_4/1.jpg","./images/product/group_4/2.jpg","./images/product/group_4/3.jpg"],
"introduce":
["长电科技具有广泛的技术积累和产品解决方案,包括有自主知识产权的Fan-out eWLB、WLCSP、Bump、PoP、fcBGA、SiP、PA等封装技术,另外引线框封装及自主品牌的分立器件也深受客户褒奖。",
"长电科技以“尊重、包容、进取、求是”的价值观塑造员工,推行“同一个企业,同一个团队,同一个梦想”的和睦大家庭文化,以“不求唯一,争做第一”的服务理念竭尽全力让客户满意。"]
},
{
"brandImg":"./images/product/group_5/1.jpg",
"company":"乐山无线电股份有限公司",
"address":"研发中心:新加坡和中国大陆",
"time":"成立时间:1970年",
"name":"商标名称:",
"img":["./images/product/group_5/1.jpg","./images/product/group_5/2.jpg","./images/product/group_5/3.jpg"],
"introduce":
["乐山无线电股份有限公司(简称LRC)位于中国西部大开发中心地带的历史文化名城——四 川乐山,创建于1970年,是以半导体分立器件为主产品的综合性电子企业。在改革开放中,经过多年艰苦奋斗,工厂持续快速发展壮大成为拥有多个独资和合资公司的集团企业。",
"集团获得首届中国市场消费商品质量信誉竞争力评比“同行业十佳品牌”,中国技术监督情报协会“中国质量过硬放心品牌”,中国半导体行业协会“2010年中国十大封装测试企业”,生产线通过ISO9001、ISO/TS16949、ISO14001和QC080000标准体系认证, 产品符合RoHS等有害物资管理法律法规要求。"]
}
]
}
\ No newline at end of file
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
if(clientWidth>=750){
docEl.style.fontSize = '100px';
}else{
docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
}
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
\ No newline at end of file
...@@ -4,20 +4,12 @@ $(function(){ ...@@ -4,20 +4,12 @@ $(function(){
var xinhot = { var xinhot = {
init: function(){ init: function(){
xinhot.carousel();
xinhot.handle(); xinhot.handle();
}, //轮播
carousel: function(){ var gallery = mui('.mui-slider'); //获得slider插件对象
//首页轮播图 gallery.slider({
layui.carousel.render({ interval:3000 //自动轮播周期,若为0则不自动播放,默认为0;
elem: '#banner',
width: '100%',
height:'7.36rem',
arrow: 'hover',
anim:'fade',
interval:4000,
}); });
return this;
}, },
handle: function(){ handle: function(){
//下拉导航 //下拉导航
...@@ -49,11 +41,12 @@ var xinhot = { ...@@ -49,11 +41,12 @@ var xinhot = {
var brandId = $(this).attr("data-brand"); var brandId = $(this).attr("data-brand");
$(".product-mask").show(); $(".product-mask").show();
//屏幕滚动到指定位置 //屏幕滚动到指定位置
var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离 // var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离
$("body,html").animate({scrollTop:(top-50)+"px"},500); // $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"});
$.ajax({ $.ajax({
url:'./js/brandData.json', url:'./json/brandData.json',
methods:'get', methods:'get',
async:false, async:false,
datatype:'json', datatype:'json',
...@@ -68,22 +61,22 @@ var xinhot = { ...@@ -68,22 +61,22 @@ var xinhot = {
$(".product-mask-img .product-img_1").find("img").attr("src",brandData[brandId].img[0]); $(".product-mask-img .product-img_1").find("img").attr("src",brandData[brandId].img[0]);
$(".product-mask-img .product-img_2").find("img").attr("src",brandData[brandId].img[1]); $(".product-mask-img .product-img_2").find("img").attr("src",brandData[brandId].img[1]);
$(".product-mask-img .product-img_3").find("img").attr("src",brandData[brandId].img[2]); $(".product-mask-img .product-img_3").find("img").attr("src",brandData[brandId].img[2]);
$(".introduce-1").text(brandData[brandId].introduce[0]); $(".product-mask-introduce").html(brandData[brandId].introduce);
$(".introduce-2").text(brandData[brandId].introduce[1]);
} }
}) })
}); });
//联系我们 //联系我们
$(".layui-table .job_detail").click(function(){ $(".contact-box2-table .job_detail").click(function(){
var jobId = $(this).attr("data-job"); var jobId = $(this).attr("data-job");
$(".contact-mask").show(); $(".contact-mask").show();
//屏幕滚动到指定位置 //屏幕滚动到指定位置
var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离 // var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离
$("body,html").animate({scrollTop:(top-50)+"px"},500); // $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"});
$.ajax({ $.ajax({
url:'./js/jobData.json', url:'./json/jobData.json',
methods:'get', methods:'get',
async:false, async:false,
datatype:'json', datatype:'json',
...@@ -100,6 +93,7 @@ var xinhot = { ...@@ -100,6 +93,7 @@ var xinhot = {
//关闭弹窗 //关闭弹窗
$(".mask-close").click(function(){ $(".mask-close").click(function(){
$(this).parents(".mask").hide(); $(this).parents(".mask").hide();
$("body,html").css({"overflow":"auto"});
}); });
} }
} }
/** layui-v2.4.5 MIT License By https://www.layui.com */
blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,td,textarea,th,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}html{font:12px 'Helvetica Neue','PingFang SC',STHeitiSC-Light,Helvetica,Arial,sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0)}a{text-decoration:none;background:0 0}a:active,a:hover{outline:0}table{border-collapse:collapse;border-spacing:0}li{list-style:none}b,strong{font-weight:700}h1,h2,h3,h4,h5,h6{font-weight:500}address,cite,dfn,em,var{font-style:normal}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}img{border:0;vertical-align:bottom}.layui-inline,input,label{vertical-align:middle}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;outline:0}button,select{text-transform:none}select{-webkit-appearance:none;border:none}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}@font-face{font-family:layui-icon;src:url(../font/iconfont.eot?v=1.0.7);src:url(../font/iconfont.eot?v=1.0.7#iefix) format('embedded-opentype'),url(../font/iconfont.woff?v=1.0.7) format('woff'),url(../font/iconfont.ttf?v=1.0.7) format('truetype'),url(../font/iconfont.svg?v=1.0.7#iconfont) format('svg')}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-box,.layui-box *{-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}.layui-border-box,.layui-border-box *{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-inline{position:relative;display:inline-block;*display:inline;*zoom:1}.layui-edge,.layui-upload-iframe{position:absolute;width:0;height:0}.layui-edge{border-style:dashed;border-color:transparent;overflow:hidden}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-unselect{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-disabled,.layui-disabled:active{background-color:#d2d2d2!important;color:#fff!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-upload-iframe{border:0;visibility:hidden}.layui-upload-enter{border:1px solid #009E94;background-color:#009E94;color:#fff;-webkit-transform:scale(1.1);transform:scale(1.1)}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}@-webkit-keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-left{-webkit-animation-name:layui-m-anim-left;animation-name:layui-m-anim-left}@-webkit-keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-right{-webkit-animation-name:layui-m-anim-right;animation-name:layui-m-anim-right}@-webkit-keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.layui-m-anim-lout{-webkit-animation-name:layui-m-anim-lout;animation-name:layui-m-anim-lout}@-webkit-keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}.layui-m-anim-rout{-webkit-animation-name:layui-m-anim-rout;animation-name:layui-m-anim-rout}.layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px}
\ No newline at end of file
/** layui-v2.4.5 MIT License By https://www.layui.com */
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
\ No newline at end of file
/** layui-v2.4.5 MIT License By https://www.layui.com */
.laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate-list{box-sizing:border-box}html #layuicss-laydate{display:none;position:absolute;width:1989px}.layui-laydate *{margin:0;padding:0}.layui-laydate{position:absolute;z-index:66666666;margin:5px 0;border-radius:2px;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:laydate-upbit;animation-name:laydate-upbit}.layui-laydate-main{width:272px}.layui-laydate-content td,.layui-laydate-header *,.layui-laydate-list li{transition-duration:.3s;-webkit-transition-duration:.3s}@-webkit-keyframes laydate-upbit{from{-webkit-transform:translate3d(0,20px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes laydate-upbit{from{transform:translate3d(0,20px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-laydate-static{position:relative;z-index:0;display:inline-block;margin:0;-webkit-animation:none;animation:none}.laydate-ym-show .laydate-next-m,.laydate-ym-show .laydate-prev-m{display:none!important}.laydate-ym-show .laydate-next-y,.laydate-ym-show .laydate-prev-y{display:inline-block!important}.laydate-time-show .laydate-set-ym span[lay-type=month],.laydate-time-show .laydate-set-ym span[lay-type=year],.laydate-time-show .layui-laydate-header .layui-icon,.laydate-ym-show .laydate-set-ym span[lay-type=month]{display:none!important}.layui-laydate-header{position:relative;line-height:30px;padding:10px 70px 5px}.laydate-set-ym span,.layui-laydate-header i{padding:0 5px;cursor:pointer}.layui-laydate-header *{display:inline-block;vertical-align:bottom}.layui-laydate-header i{position:absolute;top:10px;color:#999;font-size:18px}.layui-laydate-header i.laydate-prev-y{left:15px}.layui-laydate-header i.laydate-prev-m{left:45px}.layui-laydate-header i.laydate-next-y{right:15px}.layui-laydate-header i.laydate-next-m{right:45px}.laydate-set-ym{width:100%;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate-time-text{cursor:default!important}.layui-laydate-content{position:relative;padding:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-laydate-content table{border-collapse:collapse;border-spacing:0}.layui-laydate-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;content:'';right:2px;top:2px;width:5px;height:5px;border-radius:50%}.layui-laydate-footer{position:relative;height:46px;line-height:26px;padding:10px 20px}.layui-laydate-footer span{margin-right:15px;display:inline-block;cursor:pointer;font-size:12px}.layui-laydate-footer span:hover{color:#5FB878}.laydate-footer-btns{position:absolute;right:10px;top:10px}.laydate-footer-btns span{height:26px;line-height:26px;margin:0 0 0 -1px;padding:0 10px;border:1px solid #C9C9C9;background-color:#fff;white-space:nowrap;vertical-align:top;border-radius:2px}.layui-laydate-list>li,.layui-laydate-range .layui-laydate-main{display:inline-block;vertical-align:middle}.layui-laydate-list{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px;background-color:#fff}.layui-laydate-list>li{position:relative;width:33.3%;height:36px;line-height:36px;margin:3px 0;text-align:center;cursor:pointer}.laydate-month-list>li{width:25%;margin:17px 0}.laydate-time-list>li{height:100%;margin:0;line-height:normal;cursor:default}.laydate-time-list p{position:relative;top:-4px;line-height:29px}.laydate-time-list ol{height:181px;overflow:hidden}.laydate-time-list>li:hover ol{overflow-y:auto}.laydate-time-list ol li{width:130%;padding-left:33px;line-height:30px;text-align:left;cursor:pointer}.layui-laydate-hint{position:absolute;top:115px;left:50%;width:250px;margin-left:-125px;line-height:20px;padding:15px;text-align:center;font-size:12px}.layui-laydate-range{width:546px}.layui-laydate-range .laydate-main-list-0 .laydate-next-m,.layui-laydate-range .laydate-main-list-0 .laydate-next-y,.layui-laydate-range .laydate-main-list-1 .laydate-prev-m,.layui-laydate-range .laydate-main-list-1 .laydate-prev-y{display:none}.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left:1px solid #e2e2e2}.layui-laydate,.layui-laydate-hint{border:1px solid #d2d2d2;box-shadow:0 2px 4px rgba(0,0,0,.12);background-color:#fff;color:#666}.layui-laydate-header{border-bottom:1px solid #e2e2e2}.layui-laydate-header i:hover,.layui-laydate-header span:hover{color:#5FB878}.layui-laydate-content{border-top:none 0;border-bottom:none 0}.layui-laydate-content th{font-weight:400;color:#333}.layui-laydate-content td{color:#666}.layui-laydate-content td.laydate-selected{background-color:#00F7DE}.laydate-selected:hover{background-color:#00F7DE!important}.layui-laydate-content td:hover,.layui-laydate-list li:hover{background-color:#eaeaea;color:#333}.laydate-time-list li ol{margin:0;padding:0;border:1px solid #e2e2e2;border-left-width:0}.laydate-time-list li:first-child ol{border-left-width:1px}.laydate-time-list>li:hover{background:0 0}.layui-laydate-content .laydate-day-next,.layui-laydate-content .laydate-day-prev{color:#d2d2d2}.laydate-selected.laydate-day-next,.laydate-selected.laydate-day-prev{background-color:#f8f8f8!important}.layui-laydate-footer{border-top:1px solid #e2e2e2}.layui-laydate-hint{color:#FF5722}.laydate-day-mark::after{background-color:#5FB878}.layui-laydate-content td.layui-this .laydate-day-mark::after{display:none}.layui-laydate-footer span[lay-type=date]{color:#5FB878}.layui-laydate .layui-this{background-color:#009688!important;color:#fff!important}.layui-laydate .laydate-disabled,.layui-laydate .laydate-disabled:hover{background:0 0!important;color:#d2d2d2!important;cursor:not-allowed!important;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.laydate-theme-molv{border:none}.laydate-theme-molv.layui-laydate-range{width:548px}.laydate-theme-molv .layui-laydate-main{width:274px}.laydate-theme-molv .layui-laydate-header{border:none;background-color:#009688}.laydate-theme-molv .layui-laydate-header i,.laydate-theme-molv .layui-laydate-header span{color:#f6f6f6}.laydate-theme-molv .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li,.laydate-theme-grid .layui-laydate-content td,.laydate-theme-grid .layui-laydate-content thead,.laydate-theme-molv .layui-laydate-footer{border:1px solid #e2e2e2}.laydate-theme-grid .laydate-selected,.laydate-theme-grid .laydate-selected:hover{background-color:#f2f2f2!important;color:#009688!important}.laydate-theme-grid .laydate-selected.laydate-day-next,.laydate-theme-grid .laydate-selected.laydate-day-prev{color:#d2d2d2!important}.laydate-theme-grid .laydate-month-list,.laydate-theme-grid .laydate-year-list{margin:1px 0 0 1px}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li{margin:0 -1px -1px 0}.laydate-theme-grid .laydate-year-list>li{height:43px;line-height:43px}.laydate-theme-grid .laydate-month-list>li{height:71px;line-height:71px}
\ No newline at end of file
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
/** layui-v2.4.5 MIT License By https://www.layui.com */
;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['<button class="layui-icon '+u+'" lay-type="sub">'+("updown"===n.anim?"&#xe619;":"&#xe603;")+"</button>",'<button class="layui-icon '+u+'" lay-type="add">'+("updown"===n.anim?"&#xe61a;":"&#xe602;")+"</button>"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['<div class="'+c+'"><ul>',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("<li"+(n.index===e?' class="layui-this"':"")+"></li>")}),i.join("")}(),"</ul></div>"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a<n.index&&e.slide("sub",n.index-a)})},m.prototype.slide=function(e,i){var n=this,l=n.elemItem,u=n.config,c=u.index,m=u.elem.attr("lay-filter");n.haveSlide||("sub"===e?(n.subIndex(i),l.eq(u.index).addClass(d),setTimeout(function(){l.eq(c).addClass(r),l.eq(u.index).addClass(r)},50)):(n.addIndex(i),l.eq(u.index).addClass(s),setTimeout(function(){l.eq(c).addClass(o),l.eq(u.index).addClass(o)},50)),setTimeout(function(){l.removeClass(a+" "+d+" "+s+" "+o+" "+r),l.eq(u.index).addClass(a),n.haveSlide=!1},300),n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a),n.haveSlide=!0,layui.event.call(this,t,"change("+m+")",{index:u.index,prevIndex:c,item:l.eq(u.index)}))},m.prototype.events=function(){var e=this,i=e.config;i.elem.data("haveEvents")||(i.elem.on("mouseenter",function(){clearInterval(e.timer)}).on("mouseleave",function(){e.autoplay()}),i.elem.data("haveEvents",!0))},n.render=function(e){var i=new m(e);return i},e(t,n)});
\ No newline at end of file
/** layui-v2.4.5 MIT License By https://www.layui.com */
;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;")),c.html('<ol class="layui-code-ol"><li>'+o.replace(/[\r\t\n]+/g,"</li><li>")+"</li></ol>"),c.find(">.layui-code-h3")[0]||c.prepend('<h3 class="layui-code-h3">'+(c.attr("lay-title")||e.title||"code")+(e.about?'<a href="'+l+'" target="_blank">layui.code</a>':"")+"</h3>");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss");
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment