网站
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

register.js 827 B

4 vuotta sitten
12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Created by Administrator on 2021/4/5.
  3. */
  4. define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, template, Tools, echarts, swiper) {
  5. //数据存储
  6. var module = {
  7. data: {
  8. },
  9. };
  10. var tools = new Tools();
  11. module.init = function (page) {
  12. //背景高度
  13. module.register();
  14. //注册须知按钮跳转
  15. module.goRegister();
  16. };
  17. //背景高度
  18. module.register = function(){
  19. document.getElementById('registerBody').style.height = (document.body.offsetHeight - 112) +'px';
  20. }
  21. //注册须知按钮跳转
  22. module.goRegister = function(){
  23. document.getElementById('agree').addEventListener('click',function(){
  24. window.location.href = 'registerFrom.html';
  25. })
  26. }
  27. return module;
  28. });