locate_view.js 866 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * Created by zhang on 2018/11/16.
  3. */
  4. let locateObject={
  5. init:function () {
  6. let tab_content = $('#locate').parent();
  7. $('#locate_result').height(tab_content.height()*0.6);
  8. $('#locate_sub').height(tab_content.height()*0.4);
  9. },
  10. onshow:function () {
  11. locateObject.init();
  12. console.log('#locate is now visible');
  13. console.log($("#locate").is(':visible'))
  14. }
  15. }
  16. /*
  17. $("input[name='install_setting_radios']").each(function(){
  18. $(this).click(function(){
  19. var settingVal = $(this).val();
  20. let installSetting = projectInfoObj.projectInfo.property.installSetting;
  21. if(installSetting==settingVal){
  22. return;
  23. }
  24. projectObj.project.installation_fee.updateInstallSetting(settingVal);
  25. installationFeeObj.cleanPositionIfNeed(settingVal);
  26. });
  27. });*/