my_activity_detail.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. .line {
  9. display: block;
  10. text-align: left;
  11. background-color: #fff;
  12. color: #333;
  13. border-bottom: 1px solid #0a6999;
  14. border-color: #fff;
  15. border-bottom: 1px solid #0a6999;
  16. margin-top: 10px;
  17. vertical-align: middle;
  18. padding: 4px 12px;
  19. height: 31px;
  20. line-height: 31px;
  21. font-size: 14px;
  22. font-weight: bold;
  23. }
  24. .star-bar-show.size-M{width:120px;height:24px}
  25. .star-bar-show.size-M,.star-bar-show.size-M .star{background-size:24px}
  26. .star-bar-show.size-M .star{ height:24px}
  27. .star-bar-show.size-S .star{ height:16px}
  28. </style>
  29. </head>
  30. <body layout:fragment="content">
  31. <article class="page-container">
  32. <div class="line">企业基本情况</div>
  33. <div class="row cl">
  34. <div class="row cl">
  35. <label class="form-label col-xs-4 col-sm-2" style="text-align: right"> 活动名称:</label>
  36. <div class="formControls col-xs-8 col-sm-4">
  37. <span>[[${detail.activity_title}]]</span>
  38. </div>
  39. <label class="form-label col-xs-4 col-sm-2" style="text-align: right"> 活动状态:</label>
  40. <div class="formControls col-xs-8 col-sm-4">
  41. <span>[[${detail.activity_status_str}]]</span>
  42. </div>
  43. </div>
  44. <div class="row cl">
  45. <label class="form-label col-xs-4 col-sm-2" style="text-align: right"> 活动时间:</label>
  46. <div class="formControls col-xs-8 col-sm-4">
  47. <span>[[${detail.activity_starttime}]]</span>
  48. </div>
  49. <label class="form-label col-xs-4 col-sm-2" style="text-align: right"> 活动地点:</label>
  50. <div class="formControls col-xs-8 col-sm-4">
  51. <span>[[${detail.activity_location}]]</span>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="line">报名信息</div>
  56. <table class="table table-border table-bordered table-bg table-hover" style="table-layout: fixed;width:100%;">
  57. <thead>
  58. <tr class="text-c">
  59. <!--<th width="25"><input type="checkbox"></th>-->
  60. <th>姓名</th>
  61. <th>手机</th>
  62. <th>邮箱</th>
  63. <th>职位</th>
  64. <th width="160">报名时间</th>
  65. <th>状态</th>
  66. </tr>
  67. </thead>
  68. <tbody>
  69. <tr class="text-c" th:each="m,iterStat:${registration.list}">
  70. <!--<td><input type="checkbox"></td>-->
  71. <td class="title" th:text="${m.name}" th:title="${m.name}"></td>
  72. <td th:text="${m.phone}"></td>
  73. <td th:text="${m.mail}"></td>
  74. <td th:text="${m.position}"></td>
  75. <td th:text="${#dates.format(m.registration_time,'yyyy-MM-dd HH:mm:ss')}"></td>
  76. <td th:text="${m.review_state}"></td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. <div th:replace="admin/common/page :: page"></div>
  81. <div class="line" th:if="${feedback.feedback_type != null}">反馈信息</div>
  82. <div class="row cl" th:if="${feedback.feedback_type != null}">
  83. <div class="row cl">
  84. <div class="clearfix">
  85. <label class="form-label col-xs-4 col-sm-2" style="text-align: right">活动评分:</label>
  86. <div class="star-bar star-bar-show size-M f-l va-m mr-10">
  87. <span class="star" id="star"></span>
  88. </div>
  89. <strong class="f-l f-14 va-m">您的评分是[[${feedback.feedback_type}]] 分</strong>
  90. </div>
  91. </div>
  92. <div class="row cl" style="padding: 20px 0;">
  93. <label class="form-label col-xs-4 col-sm-2" style="text-align: right">反馈内容:</label>
  94. <div class="formControls col-xs-8 col-sm-9">
  95. <textarea style="width: 100%; height: 200px; padding: 10px;"
  96. name="content" id="content" th:utext="${feedback.content}"></textarea>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="row cl" style="text-align: center">
  101. <a onclick="removeIframe();" class="btn btn-default radius">返回</a>
  102. </div>
  103. </article>
  104. <script th:inline="javascript">
  105. /**
  106. * 取消
  107. */
  108. function removeIframe() {
  109. var index = parent.layer.getFrameIndex(window.name);
  110. parent.layer.close(index);
  111. }
  112. var feedback_type = [[${feedback.feedback_type}]];
  113. if (feedback_type != null){
  114. $("#star").attr("style","width:"+20*feedback_type+"%");
  115. }
  116. </script>
  117. </body>
  118. </html>