;(function(){function hSdrop(options){var self=this;self=$.extend(self,{els:'',},options);$(self.els).click(function(e){self.init(this);})} hSdrop.prototype={init:function(el){var kl='' kl+='
' kl+='
' kl+='
' kl+='
' kl+='
取消
' kl+='
确定
' kl+='
' kl+='
' kl+='
' kl+='
' var dob=$(el).next().children();for(var i=0;i'+$(dob[i]).html()+'
'} kl+='
' kl+='
' kl+='
' kl+='
' kl+='' $('body').append(kl);var swipersff=new Swiper('.sw-select',{direction:'vertical',autoHeight:true,slidesPerView:3,centeredSlides:true,observer:true,observeParents:true,observeSlideChildren:true,});$('.sw-select .swiper-wrapper>div').click(function(e){swipersff.slideTo($(this).index(),500,false);});$('.select-moob .cancel,.select-moob-cover').click(function(e){$('.select-moob').remove();});$('.select-moob .determine').click(function(e){$(el).children('input').val($('.sw-select .swiper-slide-active').html());$(el).children('input').attr('value',$('.sw-select .swiper-slide-active').attr('vid'));$('.select-moob').remove();})},} window.hSdrop=hSdrop;}());