index.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {extend name="public/base_human"/}
  2. {block name="css"}
  3. <style>
  4. .title-box {padding-top:90px;color:white;}
  5. .title {text-align: center;}
  6. .btn-box {width:80%;margin:0 auto;padding-top:20px;}
  7. .btn-box .van-button {margin-top:30px;}
  8. .content-box {height: 100vh;width:100vw;box-sizing: border-box;background-image: url("/static/mobile/images/bg_human.jpg");background-size:cover;background-repeat: no-repeat;}
  9. </style>
  10. {/block}
  11. {block name="body"}
  12. <div class="content-box">
  13. <div class="title-box">
  14. <h3 class="title">福建省(晋江)人力资源服务业发展大会</h3>
  15. <h3 class="title">暨人力资源服务供需对接会</h3>
  16. </div>
  17. <div class="btn-box">
  18. <van-button type="primary" size="large" block @click="toEnterprise">企业报名</van-button>
  19. <van-button type="primary" size="large" block @click="toInstitution">人力服务机构报名</van-button>
  20. <van-button type="primary" size="large" block @click="toDescribe">大会介绍</van-button>
  21. <van-button type="primary" size="large" block @click="toJinjiang">晋江介绍</van-button>
  22. </div>
  23. </div>
  24. {/block}
  25. {block name="script"}
  26. <script>
  27. function v_setup() {
  28. let base = {};
  29. base.toEnterprise = () => {
  30. location.href = "{:url('human/enterpriseForm')}";
  31. };
  32. base.toInstitution = () => {
  33. location.href = "{:url('human/institutionForm')}";
  34. };
  35. base.toDescribe = () => {
  36. location.href = "{:url('human/describe')}";
  37. };
  38. base.toJinjiang = () => {
  39. location.href = "{:url('human/jinjiang')}";
  40. };
  41. return base;
  42. }
  43. </script>
  44. {/block}