|
@@ -290,7 +290,14 @@
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
- var winResize = function() {
|
|
|
|
|
|
+
|
|
|
|
+ //页面转载完毕后启动
|
|
|
|
+ $(document).ready(function() {
|
|
|
|
+
|
|
|
|
+ BannerList();
|
|
|
|
+ GetNavList();
|
|
|
|
+ About();
|
|
|
|
+ var winResize = function() {
|
|
var width = $(window).width();
|
|
var width = $(window).width();
|
|
var height = $(window).height();
|
|
var height = $(window).height();
|
|
$('.full-height').height(height);
|
|
$('.full-height').height(height);
|
|
@@ -342,105 +349,8 @@
|
|
$('body').removeClass('on-menu');
|
|
$('body').removeClass('on-menu');
|
|
return false;
|
|
return false;
|
|
});
|
|
});
|
|
-// $('.carousel').swipe({
|
|
|
|
-// threshold: 25,
|
|
|
|
-// allowPageScroll: 'vertical',
|
|
|
|
-// swipe: function(event, direction, distance, duration, fingerCount, fingerData) {
|
|
|
|
-// console.log(direction);
|
|
|
|
-// if(direction == 'left') {
|
|
|
|
-// $(this).carousel('next');
|
|
|
|
-// } else {
|
|
|
|
-// $(this).carousel('prev');
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
-// });
|
|
|
|
-
|
|
|
|
-// if(browser == 'ie6' || browser == 'ie7' || browser == 'ie8' || browser == 'ie9') {
|
|
|
|
-//
|
|
|
|
-// } else {
|
|
|
|
-// new WOW({
|
|
|
|
-// callback: function(box) {
|
|
|
|
-//
|
|
|
|
-// }
|
|
|
|
-// }).init();
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// $('#carousel-homebanner').on('slid.bs.carousel', function() {
|
|
|
|
-// var ind = $('#carousel-homebanner .item').index($('#carousel-homebanner .item.active'));
|
|
|
|
-// $('.ui-homebanner .navi a').removeClass('on');
|
|
|
|
-// $('.ui-homebanner .navi a').eq(ind).addClass('on');
|
|
|
|
-// });
|
|
|
|
-// $('.ui-homebanner .navi a').click(function(event) {
|
|
|
|
-// var ind = $('.ui-homebanner .navi a').index($(this));
|
|
|
|
-// $('#carousel-homebanner').carousel(ind);
|
|
|
|
-// return false;
|
|
|
|
-// });
|
|
|
|
-
|
|
|
|
-// $('.lrlist').each(function(index, el) {
|
|
|
|
-// var $this = $(this);
|
|
|
|
-// var $aw = $this.find('.aw');
|
|
|
|
-//
|
|
|
|
-// $aw.click(function(event) {
|
|
|
|
-// if($this.find('ul').is(':animated')) {
|
|
|
|
-// return false;
|
|
|
|
-// }
|
|
|
|
-// var next = true;
|
|
|
|
-// if($(this).hasClass('l')) {
|
|
|
|
-// next = false;
|
|
|
|
-// }
|
|
|
|
-// var $next;
|
|
|
|
-// var w = $this.find('li').width();
|
|
|
|
-// if(next) {
|
|
|
|
-// $next = $this.find('li').first().clone();
|
|
|
|
-// $next.appendTo($this.find('ul'));
|
|
|
|
-// $this.find('ul').animate({
|
|
|
|
-// 'left': -1 * w
|
|
|
|
-// }, 300, function() {
|
|
|
|
-// $this.find('li').first().remove();
|
|
|
|
-// $this.find('ul').css('left', 0);
|
|
|
|
-// });
|
|
|
|
-// } else {
|
|
|
|
-// $next = $this.find('li').last().clone();
|
|
|
|
-// $next.prependTo($this.find('ul'));
|
|
|
|
-// $this.find('ul').css('left', -1 * w);
|
|
|
|
-// $this.find('ul').animate({
|
|
|
|
-// 'left': 0
|
|
|
|
-// }, 300, function() {
|
|
|
|
-// $this.find('li').last().remove();
|
|
|
|
-// });
|
|
|
|
-//
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// clearInterval(t);
|
|
|
|
-// t = setInterval(function() {
|
|
|
|
-// go();
|
|
|
|
-// }, 5000);
|
|
|
|
-//
|
|
|
|
-// $('.ui-prodhead .view >.ct .i').hover(function() {
|
|
|
|
-// $(this).click();
|
|
|
|
-// });
|
|
|
|
-// return false;
|
|
|
|
-// });
|
|
|
|
-//
|
|
|
|
-// var go = function() {
|
|
|
|
-// if($this.hasClass('noauto')) {
|
|
|
|
-// return;
|
|
|
|
-// }
|
|
|
|
-// $aw.filter('.r').click();;
|
|
|
|
-// }
|
|
|
|
-// var t = setInterval(function() {
|
|
|
|
-// go();
|
|
|
|
-// }, 5000);
|
|
|
|
-// });
|
|
|
|
|
|
|
|
});
|
|
});
|
|
- //页面转载完毕后启动
|
|
|
|
- $(document).ready(function() {
|
|
|
|
-
|
|
|
|
- BannerList();
|
|
|
|
- GetNavList();
|
|
|
|
- About();
|
|
|
|
-
|
|
|
|
});
|
|
});
|
|
//左侧栏目
|
|
//左侧栏目
|
|
function GetNavList() {
|
|
function GetNavList() {
|