Commit f2eaef50 by 梁建民

js

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