{% extends 'base.html' %} {% load static i18n i18n_tags %} {% block breadcrumb %}{% include 'includes/breadcrumb.html' %}{% endblock %} {% block content %} {% trans '产品分类' %} {% trans '全部产品' %} {% for cat in categories %} {% ml_field cat 'name' %} {% endfor %} {% for product in page_obj %} {% if product.main_image %} {% endif %} {% ml_field product 'name' %} {% if product.model %}{{ product.model }}{% endif %} {% ml_field product 'summary' %} {% trans '查看详情' %} {% empty %} {% trans '暂无产品数据' %} {% endfor %} {% include 'includes/pagination.html' %} {% endblock %}
{% ml_field product 'summary' %}