Compare commits

..

No commits in common. '89b35b528dfbf4065bd18afaf47533f06e623126' and '57fcff3d784158a7e003d2e3b06f734b318a3b5a' have entirely different histories.

  1. 2
      index.html
  2. 20
      js/index.js

@ -451,7 +451,7 @@
<script src="js/jquery.imgscroll.min.js"></script>
<script src="js/index_slick.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/index.js?v=19"></script>
<script src="js/index.js?v=3"></script>
</body>

@ -83,7 +83,6 @@ $(function(){
}
]
});
$('.electricItem').mouseenter(function(){
$(this).addClass('section3active').parent().siblings().children().removeClass('section3active')
if($(this).children()[1].innerText=='先进材料'){
@ -393,29 +392,14 @@ $(function(){
})
$('.select').append(html)
$('.select').change(function(){
// let oWindow = window.open('', '_blank');
if($(this).val()){
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if(isiOS){
window.location.href = $(this).val()
}else{
window.open($(this).val());
}
if(/android/i.test(navigator.userAgent)){
}
if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)){
}else{
}
// window.open($(this).val());
window.location.href = $(this).val()
}
})
}
})
})
function news01_render(categoryId){
$.ajax({
type: 'post',

Loading…
Cancel
Save