template_setmeal.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <title>Document</title>
  8. </head>
  9. <body>
  10. <div th:fragment="setmeal" class="zskk-setmeal">
  11. <div class="zskk-content">
  12. <section class="zskk-title">
  13. <span class="zskk-info" th:each="sysLabel: ${sysLabels}" th:text="${sysLabel.name}"></span>
  14. <ul>
  15. <li th:each="sysLabel: ${sysLabels}">
  16. <a th:href="@{/shop(headkey=3, label=${sysLabel.id})}" th:text="${sysLabel.name}"></a>
  17. </li>
  18. <li >
  19. <a href="/shop?headkey=3" >更多...</a>
  20. </li>
  21. </ul>
  22. </section>
  23. <section class="zskk-list" th:each="sysLabel: ${sysLabels}">
  24. <a class="zskk-oneInfo" th:each="good: ${sysLabel.goods}" th:attr="href='/good/detail/' + ${good.gid}">
  25. <img th:attr="src=${good.icon}" alt="" />
  26. <div class="zskk-name" th:text="${good.name}"></div>
  27. <div class="zskk-price">
  28. <div class="zskk-prices">
  29. <span class="zskk-now-prices" th:text="'¥' + ${good.price.price}"></span>
  30. <span class="zskk-original-prices" th:text="'¥' + ${good.price.discountPrice}"></span>
  31. </div>
  32. <div class="zskk-discount">
  33. <span th:text="${good.price.discount} + '折'"></span>
  34. </div>
  35. </div>
  36. </a>
  37. </section>
  38. </div>
  39. </div>
  40. </body>
  41. </html>