index.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {%include 'inc/header.html'%}
  5. <link href="{{static_url('css/index.css')}}" rel="stylesheet"></head>
  6. <body>
  7. {%include 'inc/menu.html'%}
  8. <div class="wrapper">
  9. <div class="swiper-container">
  10. <div class="swiper-wrapper">
  11. {% for v in data['focus'] %}
  12. <div class="swiper-slide"><img src="{{v['pic']}}" width="1000px" height="450px"></div>
  13. {% end %}
  14. </div>
  15. <div class="swiper-pagination"></div>
  16. </div>
  17. <div class="block strengths">
  18. <h2 class="block-title">系统优势</h2>
  19. <ul>
  20. {% for v in data['youshi'] %}
  21. {% if v['link'] %}
  22. {%set link = v['link'] %}
  23. {% elif v['content'] %}
  24. {%set link = '/article?id=' + str(v['id']) %}
  25. {% else %}
  26. {%set link = 'javascript:;' %}
  27. {% end %}
  28. <li><a href="{{link}}"><img src="{% if v['pic'] %}{{v['pic']}}{% else %}{{static_url('images/6e3eb1ca.banner.jpg')}}{% end %}" width="235px" height="156px"><p>{{v['name']}}</p></a></li>
  29. {% end %}
  30. </ul>
  31. </div>
  32. <div class="block mobile-step">
  33. <h2 class="block-title">手机端管理</h2>
  34. <img src="{% if data['setting']['web']['mobile'] %}{{data['setting']['web']['mobile']}}{% else %}{{static_url('images/a832b66d.mobile-step.png')}}{% end %}" width="100%">
  35. </div>
  36. <div class="block buy">
  37. <h2 class="block-title">系统购买方式</h2>
  38. <img src="{% if data['setting']['web']['buy'] %}{{data['setting']['web']['buy']}}{% else %}{{static_url('images/9425c6b7.buy-step.png')}}{% end %}" width="100%">
  39. </div>
  40. </div>
  41. {%include 'inc/footer.html'%}
  42. {%include 'inc/script.html'%}
  43. <script type="text/javascript" src="{{static_url('js/index.js')}}"></script>
  44. </body>
  45. </html>