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,12 +4,13 @@ ...@@ -4,12 +4,13 @@
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();
} }
//首页轮播图 //首页轮播图
if ($("#banner").length > 0) {
layui.carousel.render({ layui.carousel.render({
elem: '#banner', elem: '#banner',
width: '100%', width: '100%',
...@@ -18,8 +19,10 @@ ...@@ -18,8 +19,10 @@
anim: 'fade', anim: 'fade',
interval: 4000, interval: 4000,
}); });
}
//业务范围 //业务范围
if ($("#aboutSlide").length > 0) {
layui.carousel.render({ layui.carousel.render({
elem: '#aboutSlide', elem: '#aboutSlide',
width: '100%', width: '100%',
...@@ -29,6 +32,7 @@ ...@@ -29,6 +32,7 @@
indicator: 'none', indicator: 'none',
interval: 4000 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