index.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <title>晋江人力资本有限公司</title>
  7. <link rel="stylesheet" href="__HCSS__/style.css">
  8. <style>
  9. .container {width:1255px;height:605px;background-image:url("__HIMAGES__/index.jpg");background-size:100% 100%;background-repeat:no-repeat;position:relative;}
  10. .inner-box {width:890px;height:546px;position:absolute;left:336px;top:32px;background:white;}
  11. .lw-title {height:40px;position:relative;}
  12. .lw-title .main-title {color:#737373;font-weight:bold;height:22px;line-height:22px;}
  13. .lw-title .main-title .big {font-size:18px;}
  14. .lw-title .main-title .little {font-size:14px;}
  15. .lw-title .sub-title {font-size:12px;color:#E08212;height:12px;line-height:12px;}
  16. .lw-title .more a{color:#1280dd;font-size:14px;position:absolute;right:10px;top:16px;}
  17. .title-review {margin-top:20px;margin-left:22px;}
  18. .review {width:266px;margin-left:8px;}
  19. .review .review-box {width:266px;height:470px;background:#F6F6F6;border:1px solid #FEFEFE;border-radius:20px;padding-top:5px;}
  20. .review-box .img-box {width:224px;margin:5px auto;}
  21. .review-box .img-box .img {width:224px;height:116px;border-radius:20px;background-size:cover;background-position: center;}
  22. .review-box .img-box p {font-size:12px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;height:32px;line-height:16px;}
  23. .right {margin-right:30px;}
  24. .booked-box {width:570px;height:322px;background:#F6F6F6;border:1px solid #FEFEFE;border-radius:20px;overflow:auto;}
  25. .booked-title {margin-top:20px;}
  26. .booked-box table {width:535px;margin-left:20px;font-size:14px;margin-top:10px;}
  27. .booked-box table td{padding-right:5px;}
  28. .booked-box table .thead td{border-bottom:2px solid #9DCAFC;}
  29. .booked-box table .tbody td{border-bottom:1px solid #CFCFCD;vertical-align:top;padding-top:5px;}
  30. .contact-box {width:570px;height:98px;background:#F6F6F6;border:1px solid #FEFEFE;border-radius:20px;display:flex;align-items:flex-end;}
  31. .contact-title {margin-top:10px;}
  32. .contact-box img {width:74px;height:74px;margin-bottom:12px;margin-left:15px;}
  33. .contact-box span {margin-bottom:12px;margin-left:2px;font-size:15px;}
  34. .jucai { position: absolute;right: -20px;bottom: -27px;}
  35. .layui-layer-imgtit a {max-width:100% !important;}
  36. .layui-layer-imgbar {display:block !important;}
  37. </style>
  38. </head>
  39. <body>
  40. <div class="container">
  41. <div class="inner-box">
  42. <div class="review fl">
  43. <div class="lw-title title-review">
  44. <div class="main-title">
  45. <span class="big">往期</span>
  46. <span class="little">回顾</span>
  47. </div>
  48. <div class="sub-title">
  49. ACTIVE REVIEW
  50. </div>
  51. <div class="more fr">
  52. <a href="{:url('previous/index')}">查看更多>></a>
  53. </div>
  54. </div>
  55. <div class="review-box">
  56. {volist name="previous" id="vo"}
  57. <div class="img-box">
  58. <div class="img" data-url="{$vo.image}" data-title="{$vo.title}" style="background-image:url('{$vo.image}')"></div>
  59. <p>{$vo.title}</p>
  60. </div>
  61. {/volist}
  62. </div>
  63. </div>
  64. <div class="right fr">
  65. <div class="booked">
  66. <div class="lw-title booked-title">
  67. <div class="main-title">
  68. <span class="big">已预约</span>
  69. <span class="little">活动</span>
  70. </div>
  71. <div class="sub-title">
  72. BOOKED ACTIVITIES
  73. </div>
  74. </div>
  75. <div class="booked-box">
  76. <table cellpadding="0" cellspacing="0">
  77. <tr class="thead">
  78. <td style="width:111px;">时间</td>
  79. <td style="width:253px">内容</td>
  80. <td style="width:95px">场地</td>
  81. <td style="width:56px;padding-right:0;">参加人数</td>
  82. </tr>
  83. {volist name="reserved" id="vo"}
  84. <tr class="tbody">
  85. <td>{$vo.time}</td>
  86. <td>{$vo.content}</td>
  87. <td>{$vo.address}</td>
  88. <td>{$vo.num}</td>
  89. </tr>
  90. {/volist}
  91. </table>
  92. </div>
  93. </div>
  94. <div class="contact">
  95. <div class="lw-title contact-title">
  96. <div class="main-title">
  97. <span class="big">联系</span>
  98. <span class="little">我们</span>
  99. </div>
  100. <div class="sub-title">
  101. CONTACT US
  102. </div>
  103. </div>
  104. <div class="contact-box">
  105. <img src="__HIMAGES__/qrcode_contact.png" alt="">
  106. <span>扫码添加好友或者拨打19906096782了解详情,预约场地活动。</span>
  107. </div>
  108. </div>
  109. </div>
  110. <img src="__HIMAGES__/jucai.png" class="jucai">
  111. </div>
  112. </div>
  113. <script src="__COMMON_JS__/jquery-1.12.4.min.js"></script>
  114. <script src="__COMMON_JS__/layer/layer.js"></script>
  115. <script>
  116. $('.img').click(function(){
  117. let url = $(this).data('url');
  118. let title = $(this).data('title');
  119. let json = {
  120. "title": title, //相册标题
  121. "id": 1, //相册id
  122. "start": 0, //初始显示的图片序号,默认0
  123. "data": [ //相册包含的图片,数组格式
  124. {
  125. "alt": title,
  126. "pid": 2, //图片id
  127. "src": url, //原图地址
  128. "thumb": "" //缩略图地址
  129. }
  130. ]
  131. };
  132. layer.photos({
  133. photos: json
  134. });
  135. $('.layui-layer-imgbar').show();
  136. });
  137. </script>
  138. </body>
  139. </html>