js代码
<script src="js/jquery-1.11.1.min.js"></script> <script src="js/bs.js"></script> <script> $(function(){ // 下拉银行卡 $(".hotBank-list-ico").bind('click',function(){ $('#chose_input').val($(this).attr('title')); $('.bank_xl').hide(); $("#chose_bank").parent('div').find('img').addClass('jt_xz'); }); $("#chose_bank").click(function(){ $('.bank_xl').show(); $("#chose_bank").parent('div').find('img').removeClass('jt_xz'); }); // 下拉银行卡 }) </script> <script> if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement('style') msViewportStyle.appendChild( document.createTextNode( '@-ms-viewport{width:auto!important}' ) ) document.querySelector('head').appendChild(msViewportStyle) } </script>