<!DOCTYPE html>
<html>
<head>
    {%include 'inc/header.html'%}
    <link href="{{static_url('css/index.css')}}" rel="stylesheet"></head>
<body>
    {%include 'inc/menu.html'%}
    <div class="wrapper">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                {% for v in data['focus'] %}
                <div class="swiper-slide"><img src="{{v['pic']}}" width="1000px" height="450px"></div>
                {% end %}
            </div>
            <div class="swiper-pagination"></div>
        </div>
        <div class="block strengths">
            <h2 class="block-title">系统优势</h2>
            <ul>
                {% for v in data['youshi'] %}
                {% if v['link'] %}
                {%set link = v['link'] %}
                {% elif v['content'] %}
                {%set link = '/article?id=' + str(v['id']) %}
                {% else %}
                {%set link = 'javascript:;' %}
                {% end %}
                <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>
                {% end %}
            </ul>
        </div>
        <div class="block mobile-step">
            <h2 class="block-title">手机端管理</h2>
            <img src="{% if data['setting']['web']['mobile'] %}{{data['setting']['web']['mobile']}}{% else %}{{static_url('images/a832b66d.mobile-step.png')}}{% end %}" width="100%">
        </div>
        <div class="block buy">
            <h2 class="block-title">系统购买方式</h2>
            <img src="{% if data['setting']['web']['buy'] %}{{data['setting']['web']['buy']}}{% else %}{{static_url('images/9425c6b7.buy-step.png')}}{% end %}" width="100%">
        </div>
    </div>
    {%include 'inc/footer.html'%}

{%include 'inc/script.html'%}
<script type="text/javascript" src="{{static_url('js/index.js')}}"></script>
</body>
</html>
