js代码
<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/tether.js"></script> <script src="dist/js/select.js"></script> <script> $('select.drop-select').each(function(){ new Select({ el: this, selectLikeAlignment: $(this).attr('data-select-like-alignement') || 'auto', className: 'select-theme-dark' }); }); </script>