function _success(data){ var tpl_right = '' isLoad = true; if (pageType == 2){ tpl_right = '<div class="sel-city-tr-ok">确定</div>' } var _data = lang.extend(data,{ head2:{ title : '选择城市', right : tpl_right }, pageType : pageType }) $root.html(tpl.render(tpl_head2+tpl_sel_city,_data)); $scroll_sel_box = $root.find('.scroll-sel-box'); selList = new scroll_sel($root.find('.scroll-sel-root')); $scroll_sel_root = $root.find('.scroll-sel-root'); ui.center($scroll_sel_root); }
setTimeout(function(){ ui.center($root.find('#prp-imgs-box .company-ad-btns'),{ top:'88%' }); },100)