|
@@ -249,18 +249,18 @@ $(function () {
|
|
|
}
|
|
|
}
|
|
|
// 数字滚动
|
|
|
- var numberBox = $(".show-number-box")
|
|
|
- if (numberBox) {
|
|
|
- var numberBoxH = numberBox.offset().top
|
|
|
- if ($(window).scrollTop() + $(window).height() >= numberBoxH) {
|
|
|
- if (!numberBox.attr('data-show-an')) {
|
|
|
- numberBox.attr('data-show-an','true')
|
|
|
- filpNumber()
|
|
|
- }
|
|
|
- } else {
|
|
|
- numberBox.removeAttr('data-show-an')
|
|
|
- }
|
|
|
- }
|
|
|
+ // var numberBox = $(".show-number-box")
|
|
|
+ // if (numberBox) {
|
|
|
+ // var numberBoxH = numberBox.offset().top
|
|
|
+ // if ($(window).scrollTop() + $(window).height() >= numberBoxH) {
|
|
|
+ // if (!numberBox.attr('data-show-an')) {
|
|
|
+ // numberBox.attr('data-show-an','true')
|
|
|
+ // filpNumber()
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // numberBox.removeAttr('data-show-an')
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
/******* 获取url参数(正则)********/
|