zwssjg.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>${siteTitle!}</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
  7. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/sy_sjhtml.css"/>
  8. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/sy_sjbase.css" />
  9. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/cover.css" />
  10. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/pop.css" />
  11. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/list.css" />
  12. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/detail.css" />
  13. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/resume.css" />
  14. <link rel="stylesheet" href="${resPath}/syrc-mobile/images/syrc-gjrc.css" />
  15. <script src="${resPath}/syrc-mobile/images/jquery-2.1.1.min.js"></script>
  16. <script src="${resPath}/syrc-mobile/images/basic.js"></script>
  17. <script src="${resPath}/syrc-mobile/images/zepto.js"></script>
  18. <script src="${resPath}/syrc-mobile/images/syrc-base.js"></script>
  19. <script type="text/javascript">
  20. var _tkd = _tkd || [];
  21. var $_CONFIG = {};
  22. $_CONFIG['domain'] = '//m.51job.com/';
  23. $_CONFIG['imgpath'] = '//img01.51jobcdn.com/im/m';
  24. $_CONFIG['jspath'] = '//js.51jobcdn.com/in/js/h5';
  25. $_CONFIG['template'] = 'resume/myresume';
  26. $_CONFIG['islogin'] = '1';
  27. $_CONFIG['jobarea'] = '030800';
  28. $_CONFIG['jobareaname'] = '东莞';
  29. $_CONFIG['ip'] = '36.48.27.149';
  30. $_CONFIG['guid'] = 'db7398e3a4d3205cf89c37f039c6005f';
  31. function sczw(zw_id){
  32. $.ajax({
  33. url:"${ctxPath}/cms/resume/zwsc", //请求的url地址
  34. dataType:"json", //返回格式为json
  35. data:{zw_id:zw_id}, //参数值
  36. type:"post", //请求方式
  37. success:function(data){
  38. alert(data.message);
  39. }
  40. });
  41. }
  42. function sqzw(zw_id){
  43. $.ajax({
  44. url:"${ctxPath}/cms/resume/wdscsqzw", //请求的url地址
  45. dataType:"json", //返回格式为json
  46. data:{zwId:zw_id}, //参数值
  47. type:"post", //请求方式
  48. success:function(data){
  49. alert(data.message);
  50. }
  51. });
  52. }
  53. </script>
  54. </head>
  55. <body style=" overflow-y:auto;">
  56. <div id="pageWp" class="bb">
  57. <div id="pageTop" >
  58. <!-- top 头部 开始-->
  59. <div class="sy_header">
  60. <span class="location" onclick="shouye();"><font style="font-size: 0.6rem;color: #747474;font-weight: bold">返回首页</font></span>
  61. <img src="${resPath}/syrc-mobile/images/sy_sj_27.png" /> <span class="ss_dz">
  62. @if(session.tbZhInfo_loginSession != null){
  63. @if(session.tbZhInfo_loginSession.zh_sf ==0){
  64. <a href="${ctxPath}/cms/resume/goGrzxForSj">个人中心</a>
  65. @}
  66. @ else if(session.tbZhInfo_loginSession.zh_sf ==1){
  67. <a href="${ctxPath}/qyzx/goToyprclg">企业中心</a>
  68. @}
  69. @else {
  70. <a href="${ctxPath}/system/reception/nologin">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="${ctxPath}/system/reception/gotogrzc">注册</a></span>
  71. @}
  72. @}
  73. @else {
  74. <a href="${ctxPath}/system/reception/nologin">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="${ctxPath}/system/reception/gotogrzc">注册</a></span>
  75. @ }
  76. <script>
  77. function shouye(){
  78. window.location.href="${ctxPath}/syrc/4"
  79. }
  80. </script>
  81. </span> </div>
  82. <!-- top 头部 结束-->
  83. </div>
  84. <div id="pageContent">
  85. <div class="mod">
  86. <div class="t t2">职位搜索</div>
  87. <div class="items">
  88. @for(list in model){
  89. <div class="e eck" >
  90. <h3><a
  91. @if(session.tbZhInfo_loginSession !=null){
  92. href="${ctxPath}/qyzx/gwXq?zw_id=${list.zw_id}" target="on"
  93. @}else {
  94. href="javascript:void(0)" onclick="jinggao('${ctxPath}/qyzx/gwXq?zw_id=${list.zw_id}');"
  95. @}
  96. >${list.zw_zwmc}</a></h3>
  97. <aside>${list.qy_qymc}</aside>
  98. <p class="items_p">
  99. <a class="sqzw"
  100. @if(session.tbZhInfo_loginSession !=null){
  101. href="javascript:void(0)" onclick="sqzw('${list.zw_id}');"
  102. @}else {
  103. href="javascript:void(0)" onclick="jinggao('${ctxPath}/gjss/bysjy');"
  104. @}
  105. >申请职位</a>
  106. <a class="sczw"
  107. @if(session.tbZhInfo_loginSession !=null){
  108. href="javascript:void(0)" onclick="sczw('${list.zw_id}');"
  109. @}else {
  110. href="javascript:void(0)" onclick="jinggao('${ctxPath}/gjss/bysjy');"
  111. @}
  112. >收藏职位</a>
  113. </p>
  114. <i class="adr">${strutil.length(list.qy_xxdz!)>40?strutil.subStringTo(list.qy_xxdz!,0,15)+"...":list.qy_xxdz!} </i>
  115. </div>
  116. @}
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <script type="text/javascript">
  122. function jinggao(url){
  123. alert("对不起!您还未登录,请您先登录");
  124. var test='${ctxPath}/system/reception/nologin';
  125. mypost(test,{"url":url});
  126. }
  127. function mypost(url, params) {
  128. // 创建form
  129. var temp_form = document.createElement("form");
  130. // 设置form
  131. temp_form .action = url;
  132. temp_form .target = "_self";
  133. temp_form .method = "post";
  134. temp_form .style.display = "none";
  135. // 处理需要传递的参数
  136. for (var x in params) {
  137. var opt = document.createElement("textarea");
  138. opt.name = x;
  139. opt.value = params[x];
  140. temp_form .appendChild(opt);
  141. }
  142. document.body.appendChild(temp_form);
  143. // 提交表单
  144. temp_form .submit();
  145. }
  146. </script>
  147. @includeFileTemplate("/www/syrc/include/gjrc-footer.html",{"current":"index"}){}
  148. </body>
  149. </html>