Commit f2eaef50 by 梁建民

js

parent 52f983bf
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div class="pc-index-nav"> <div class="pc-index-nav">
<div class="pc-nav-wrap page-width"> <div class="pc-nav-wrap page-width">
<ul class="parent lbBox"> <ul class="parent lbBox">
<li class="lineBlock"><a href="javascript:;">首页</a></li> <li class="lineBlock"><a href="index.html">首页</a></li>
<li class="lineBlock"><a href="about.html">关于我们</a></li> <li class="lineBlock"><a href="about.html">关于我们</a></li>
<li class="lineBlock"> <li class="lineBlock">
<a href="product.html">产品展示</a> <a href="product.html">产品展示</a>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div class="pc-index-nav"> <div class="pc-index-nav">
<div class="pc-nav-wrap page-width"> <div class="pc-nav-wrap page-width">
<ul class="parent lbBox"> <ul class="parent lbBox">
<li class="lineBlock"><a href="javascript:;">首页</a></li> <li class="lineBlock"><a href="index.html">首页</a></li>
<li class="lineBlock"><a href="about.html">关于我们</a></li> <li class="lineBlock"><a href="about.html">关于我们</a></li>
<li class="lineBlock"> <li class="lineBlock">
<a href="product.html">产品展示</a> <a href="product.html">产品展示</a>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr" id="wow"> <div class="pc-index-head clr" id="wow">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div class="pc-index-nav"> <div class="pc-index-nav">
<div class="pc-nav-wrap page-width"> <div class="pc-nav-wrap page-width">
<ul class="parent lbBox"> <ul class="parent lbBox">
<li class="lineBlock"><a href="javascript:;">首页</a></li> <li class="lineBlock"><a href="index.html">首页</a></li>
<li class="lineBlock"><a href="about.html">关于我们</a></li> <li class="lineBlock"><a href="about.html">关于我们</a></li>
<li class="lineBlock"> <li class="lineBlock">
<a href="product.html">产品展示</a> <a href="product.html">产品展示</a>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<a class="section-2" href="javascript:;"> <a class="section-2" href="about.html">
<div class="page-width"> <div class="page-width">
<p class="tit"></p> <p class="tit"></p>
</div> </div>
......
...@@ -4,31 +4,35 @@ ...@@ -4,31 +4,35 @@
this.handleBind(this); this.handleBind(this);
}, },
handleBind: function (opt) { handleBind: function (opt) {
var flag=true;
//页面滚动 //页面滚动
if ($("#wow").length > 0) { if ($("#wow").length > 0) {
new WOW().init(); new WOW().init();
} }
//首页轮播图 //首页轮播图
layui.carousel.render({ if ($("#banner").length > 0) {
elem: '#banner', layui.carousel.render({
width: '100%', elem: '#banner',
height: '660px', width: '100%',
arrow: 'hover', height: '660px',
anim: 'fade', arrow: 'hover',
interval: 4000, anim: 'fade',
}); interval: 4000,
});
}
//业务范围 //业务范围
layui.carousel.render({ if ($("#aboutSlide").length > 0) {
elem: '#aboutSlide', layui.carousel.render({
width: '100%', elem: '#aboutSlide',
height: '182px', width: '100%',
arrow: 'always', height: '182px',
anim: 'default', arrow: 'always',
indicator: 'none', anim: 'default',
interval: 4000 indicator: 'none',
}); interval: 4000
});
}
//事件 //事件
layui.carousel.on('change(slide)', function (res) { layui.carousel.on('change(slide)', function (res) {
...@@ -58,7 +62,7 @@ ...@@ -58,7 +62,7 @@
}); });
//招聘详情 //招聘详情
$("#job").find('a').on('click',function () { $("#job").find('a').on('click', function () {
$subMenu = $(this).parent().parent().next().children('td'); $subMenu = $(this).parent().parent().next().children('td');
if ($subMenu.is(':visible')) { if ($subMenu.is(':visible')) {
$subMenu.hide(); $subMenu.hide();
...@@ -67,7 +71,6 @@ ...@@ -67,7 +71,6 @@
} }
}); });
return this; return this;
}, },
}, $(function () { }, $(function () {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<div class="pc-index-nav"> <div class="pc-index-nav">
<div class="pc-nav-wrap page-width"> <div class="pc-nav-wrap page-width">
<ul class="parent lbBox"> <ul class="parent lbBox">
<li class="lineBlock"><a href="javascript:;">首页</a></li> <li class="lineBlock"><a href="index.html">首页</a></li>
<li class="lineBlock"><a href="about.html">关于我们</a></li> <li class="lineBlock"><a href="about.html">关于我们</a></li>
<li class="lineBlock"> <li class="lineBlock">
<a href="product.html">产品展示</a> <a href="product.html">产品展示</a>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pc-index-head clr"> <div class="pc-index-head clr">
<div class="head-wrap page-width"> <div class="head-wrap page-width">
<div class="fl l"> <div class="fl l">
<a href="/" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a> <a href="index.html" class="lineBlock va-m logo"><img src="./images/logo.png" alt=""></a>
<span class="lineBlock va-m">只做原装正品</span> <span class="lineBlock va-m">只做原装正品</span>
<b class="lineBlock emptys"></b> <b class="lineBlock emptys"></b>
</div> </div>
......
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