choose_register.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>选择注册</title>
  7. <style>
  8. .reg-box {
  9. height: 280px;
  10. border: solid 1px #dadada;
  11. padding: 20px 40px;
  12. text-align: center;
  13. float: left;
  14. }
  15. .reg-box-title {
  16. font-size: 16px;
  17. border-bottom: solid 2px #dadada;
  18. margin-bottom: 30px;
  19. }
  20. .reg-box-info p {
  21. line-height: 2;
  22. margin-bottom: 20px;
  23. }
  24. </style>
  25. </head>
  26. <body layout:fragment="content">
  27. <article class="page-container">
  28. <div class="clearfix" style="width: 820px; margin: 50px auto;">
  29. <div class="reg-box" style="margin-right: 40px;">
  30. <p class="reg-box-title">个人用户注册</p>
  31. <div class="reg-box-info">
  32. <p style="font-size: 16px">平台为个人用户及区外企业<br/>提供活动报名服务</p>
  33. <p>如果您不隶属于公司,或是区外企业,<br/>请选择个人用户注册</p>
  34. </div>
  35. <a type="button" class="btn btn-primary radius"
  36. th:onclick="'javascript:register(\'个人注册\',\'/home/personal\',\'800\',\'500\');'">个人用户注册
  37. </a>
  38. </div>
  39. <div class="reg-box">
  40. <p class="reg-box-title">企业用户注册</p>
  41. <div class="reg-box-info">
  42. <p style="font-size: 16px">平台为高新区内的企业用户提供全方位服务</p>
  43. <p>如果您隶属于高新区内的公司,想使用平台为企业提供的业务功能,<br/>(例,存量用地、项目申报等功能)<br/>请选择企业用户注册</p>
  44. </div>
  45. <a type="button" class="btn btn-primary radius"
  46. th:onclick="'javascript:register(\'企业注册\',\'/home/toRegister\',\'800\',\'500\');'">企业用户注册
  47. </a>
  48. </div>
  49. </div>
  50. </article>
  51. <script th:inline="javascript">
  52. function register(title, url, w, h) {
  53. var index = layer_show(title, pagePath + url, w, h);
  54. console.log("选择页:"+index);
  55. //默认全屏
  56. layer.full(index);
  57. }
  58. function removeIframe() {
  59. parent.layer.closeAll();
  60. }
  61. </script>
  62. </body>
  63. </html>