{% extends 'base_m.html.twig' %}
{% block title %}
    {% if item.seo_title is empty %}
        {{ item.title }} - {{ cover('site','title') }}
    {% else %}
        {{ item.seo_title }} - {{ cover('site','title') }}
    {% endif %}
{% endblock %}
{% block keywords %}{{ item.keywords }}{% endblock %}
{% block description %}{{ item.description }}{% endblock %}
{% block container %}
    <nav data-am-widget="menu" class="am-menu  am-menu-default" style="background-color: #f6f6f6;border-bottom: 1px solid #f1f1f1;">
        <a href="javascript: void(0)" class="am-menu-toggle">
            <i class="am-menu-toggle-icon am-icon-bars"></i>
        </a>
        <ul class="am-menu-nav am-avg-sm-4">
            {% for son_cat in cover('category',{'parent_id':current_cat.parent_id,'except':current_cat.id}) %}
                <li><a href="{{ son_cat.url }}">{{ son_cat.title }}</a></li>
            {% endfor %}
        </ul>
    </nav>

    <div class="cv-case-m-box">
        <div><img src="{{ item.cover }}" class="am-img-responsive" /></div>
        <h1 class="title">{{ item.title }}</h1>
    </div>

    <div data-am-widget="titlebar" class="am-titlebar am-titlebar-default" >
        <h2 class="am-titlebar-title ">
            客户介绍
        </h2>
    </div>
    <div class="am-container cs">
        {{ item.description }}
    </div>

    <div data-am-widget="titlebar" class="am-titlebar am-titlebar-default" >
        <h2 class="am-titlebar-title ">项目背景</h2>
        <nav class="am-titlebar-nav"><a href="{{ item.online }}" target="_blank" class="">在线查看 &raquo;</a></nav>
    </div>
    <div class="am-container cs">
        {{ item.background }}
    </div>

    <div data-am-widget="titlebar" class="am-titlebar am-titlebar-default" >
        <h2 class="am-titlebar-title">服务内容</h2>
        <nav class="am-titlebar-nav"><a href="{{ item.online }}" target="_blank" class="">在线查看 &raquo;</a></nav>
    </div>

    <div class="am-container">
        {{ item.full_text|raw }}
    </div>
{% endblock %}