|
@@ -30,20 +30,10 @@
|
|
|
|
|
|
|
|
|
<div class="container products-detail">
|
|
|
- <div class="row g-4">
|
|
|
- <!-- 面包屑导航 -->
|
|
|
- <nav class="nav-orange">
|
|
|
- <div class="container">
|
|
|
- <div class="d-flex breadcrumb">
|
|
|
- {% for breadcrumb in breadcrumbs %}
|
|
|
- <a href="{{ breadcrumb.url }}" class="nav-link {% if forloop.last == false %}add-icon{% endif %} ">
|
|
|
- {{ breadcrumb.name }}
|
|
|
- </a>
|
|
|
- {% endfor %}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </nav>
|
|
|
- </div>
|
|
|
+ <div class="breadcrumb">{% for breadcrumb in breadcrumbs %} {%if forloop.last%} <strong>Perguntas frequentes</strong> {%else%} <a href="{{ breadcrumb.url }}" title="Home page">{{ breadcrumb.name }}</a>{% endif %}{% endfor %} </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<!-- 第一行 -->
|
|
|
<div class="row g-4">
|
|
|
<!-- 左侧图片轮播 -->
|
|
@@ -53,9 +43,9 @@
|
|
|
{% if product.images and product.images.size > 0 %}
|
|
|
{% for item in product.images %}
|
|
|
{% assign image_url = item.image_url %}
|
|
|
- <div class="carousel-item {% if forloop.first %}active {% endif %}">
|
|
|
- <img src="{% if image_url contains 'http' %}{{ image_url }}?x-oss-process=image/resize,w_500,m_lfit{% else %}{{ site.image_base_url }}{{ image_url }}?x-oss-process=image/resize,w_500,m_lfit{% endif %}" class="d-block w-100" alt="{{ product.title }}">
|
|
|
- </div>
|
|
|
+ <div class="carousel-item {% if forloop.first %}active {% endif %}">
|
|
|
+ <img src="{% if image_url contains 'http' %}{{ image_url }}?x-oss-process=image/resize,w_500,m_lfit{% else %}{{ site.image_base_url }}{{ image_url }}?x-oss-process=image/resize,w_500,m_lfit{% endif %}" class="d-block w-100" alt="{{ product.title }}">
|
|
|
+ </div>
|
|
|
{% endfor %}
|
|
|
{% else %}
|
|
|
<div class="carousel-item active">
|
|
@@ -82,89 +72,138 @@
|
|
|
|
|
|
<!-- 右侧产品介绍 -->
|
|
|
<div class="col-md-7 top-right">
|
|
|
- <h1 class="mb-4"> {{product.title | strip_html }}</h1>
|
|
|
+ <h1> {{product.title | strip_html }}</h1>
|
|
|
+
|
|
|
+ <div class="sku">{{product.sku | strip_html }}</div>
|
|
|
|
|
|
<div class="product-parameters">
|
|
|
{{ product.seo_description | strip_html }}
|
|
|
</div>
|
|
|
|
|
|
- <div class="contact-form">
|
|
|
- <div class="form-container">
|
|
|
- <h3 class="mb-4" mtb_edit="2">Obter Amostra Gratuita Agora</h3>
|
|
|
-
|
|
|
- <form id="form_contact" data-action="/contact" class="form-default" role="form">
|
|
|
- <input type="hidden" name="consulting_products" value="{{ product.title }}" />
|
|
|
- <!-- 姓名 -->
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label" mtb_edit="2">Nome</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="text" name="customer_name" class="form-control" required>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- 邮箱 -->
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label" mtb_edit="2">E-mail</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="email" name="email" class="form-control" required>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- 公司名称 -->
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label" mtb_edit="2">Empresa</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="text" name="company_name" class="form-control">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- WhatsApp -->
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label" mtb_edit="2">WhatsApp</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="tel" name="whats_app" class="form-control">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- 消息 -->
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label" mtb_edit="2">Mensagem</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <textarea class="form-control" name="content" rows="2"></textarea>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- 提交按钮 -->
|
|
|
- <div class="row">
|
|
|
- <div class="col-md-9 offset-md-3">
|
|
|
- <button type="submit" class="btn btn-custom w-100" mtb_edit="2">Enviar</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- {% comment %}<button class="btn btn-quote" data-bs-toggle="modal" data-bs-target="#quoteModal" style="background-color: #ec6c00; color: white; width: 150px; height: 45px; border: none; margin-top: 20px;">Get a quote</button>{% endcomment %}
|
|
|
+ <div class="features"></div>
|
|
|
+
|
|
|
+
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<div class="contact-form">{% endcomment %}
|
|
|
+ {% comment %}<div class="form-container">{% endcomment %}
|
|
|
+ {% comment %}<h3 class="mb-4" mtb_edit="2">Obter Amostra Gratuita Agora</h3>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<form id="form_contact" data-action="/contact" class="form-default" role="form">{% endcomment %}
|
|
|
+ {% comment %}<input type="hidden" name="consulting_products" value="{{ product.title }}" />{% endcomment %}
|
|
|
+ {% comment %}<!-- 姓名 -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row mb-3 align-items-center">{% endcomment %}
|
|
|
+ {% comment %}<label class="col-md-3 col-form-label" mtb_edit="2">Nome</label>{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9">{% endcomment %}
|
|
|
+ {% comment %}<input type="text" name="customer_name" class="form-control" required>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<!-- 邮箱 -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row mb-3 align-items-center">{% endcomment %}
|
|
|
+ {% comment %}<label class="col-md-3 col-form-label" mtb_edit="2">E-mail</label>{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9">{% endcomment %}
|
|
|
+ {% comment %}<input type="email" name="email" class="form-control" required>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<!-- 公司名称 -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row mb-3 align-items-center">{% endcomment %}
|
|
|
+ {% comment %}<label class="col-md-3 col-form-label" mtb_edit="2">Empresa</label>{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9">{% endcomment %}
|
|
|
+ {% comment %}<input type="text" name="company_name" class="form-control">{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<!-- WhatsApp -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row mb-3 align-items-center">{% endcomment %}
|
|
|
+ {% comment %}<label class="col-md-3 col-form-label" mtb_edit="2">WhatsApp</label>{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9">{% endcomment %}
|
|
|
+ {% comment %}<input type="tel" name="whats_app" class="form-control">{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<!-- 消息 -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row mb-3 align-items-center">{% endcomment %}
|
|
|
+ {% comment %}<label class="col-md-3 col-form-label" mtb_edit="2">Mensagem</label>{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9">{% endcomment %}
|
|
|
+ {% comment %}<textarea class="form-control" name="content" rows="2"></textarea>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}{% endcomment %}
|
|
|
+ {% comment %}<!-- 提交按钮 -->{% endcomment %}
|
|
|
+ {% comment %}<div class="row">{% endcomment %}
|
|
|
+ {% comment %}<div class="col-md-9 offset-md-3">{% endcomment %}
|
|
|
+ {% comment %}<button type="submit" class="btn btn-custom w-100" mtb_edit="2">Enviar</button>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</form>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+
|
|
|
+ <button class="quote btnch" data-bs-toggle="modal" data-bs-target="#quoteModal">Get a quote</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<!-- 第二行 产品详情 -->
|
|
|
+ {% comment %}<div class="row mt-5">{% endcomment %}
|
|
|
+ {% comment %}<div class="col-12">{% endcomment %}
|
|
|
+ {% comment %}<h2 class="mb-4" mtb_edit="2">{% endcomment %}
|
|
|
+ {% comment %}Informações adicionais{% endcomment %}
|
|
|
+ {% comment %}</h2>{% endcomment %}
|
|
|
+ {% comment %}<hr class="w-100 mx-auto mb-5">{% endcomment %}
|
|
|
+ {% comment %}<div class="product-description">{% endcomment %}
|
|
|
+ {% comment %}{{product.content | raw }}{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+ {% comment %}</div>{% endcomment %}
|
|
|
+
|
|
|
<div class="row mt-5">
|
|
|
<div class="col-12">
|
|
|
- <h2 class="mb-4" mtb_edit="2">Informações adicionais
|
|
|
- </h2>
|
|
|
- <hr class="w-100 mx-auto mb-5">
|
|
|
- <div class="product-description">
|
|
|
- {{product.content | raw }}
|
|
|
+ <ul class="nav nav-tabs mb-4" id="myTab" role="tablist">
|
|
|
+ <li class="nav-item" role="presentation">
|
|
|
+ <button class="nav-link active" id="description-tab" data-bs-toggle="tab" data-bs-target="#description" type="button" role="tab" aria-controls="description" aria-selected="true">
|
|
|
+ Descrição
|
|
|
+ </button>
|
|
|
+ </li>
|
|
|
+ <li class="nav-item" role="presentation">
|
|
|
+ <button class="nav-link" id="specification-tab" data-bs-toggle="tab" data-bs-target="#specification" type="button" role="tab" aria-controls="specification" aria-selected="false">
|
|
|
+ Especificação
|
|
|
+ </button>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <div class="tab-content" id="myTabContent">
|
|
|
+ <div class="tab-pane fade show active" id="description" role="tabpanel" aria-labelledby="description-tab">
|
|
|
+ <div class="product-description">
|
|
|
+ {{product.content | raw }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tab-pane fade" id="specification" role="tabpanel" aria-labelledby="specification-tab">
|
|
|
+ <!-- 在这里添加Specification的内容 -->
|
|
|
+ <table class="table table-striped table-hover parameters-table">
|
|
|
+ {% for item in product.parameters %}
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <strong>{{ item.key }}</strong>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{ item.value }}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ {% endfor %}
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<!-- Hidden content -->
|
|
|
-<!--
|
|
|
+
|
|
|
<div class="modal fade" id="quoteModal" tabindex="-1" aria-labelledby="quoteModalLabel" aria-hidden="true">
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
<div class="modal-content">
|
|
@@ -176,57 +215,41 @@
|
|
|
<form id="form_contact" data-action="/contact" class="form-default" role="form">
|
|
|
<input type="hidden" name="consulting_products" value="{{ product.title }}" />
|
|
|
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label">Nome</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="text" name="customer_name" class="form-control" required>
|
|
|
- </div>
|
|
|
+ <!-- 修改为上下布局 -->
|
|
|
+ <div class="mb-3">
|
|
|
+ <label class="form-label">Nome</label>
|
|
|
+ <input type="text" name="customer_name" class="form-control" required>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label">E-mail</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="email" name="email" class="form-control" required>
|
|
|
- </div>
|
|
|
+ <div class="mb-3">
|
|
|
+ <label class="form-label">E-mail</label>
|
|
|
+ <input type="email" name="email" class="form-control" required>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label">Empresa</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="text" name="company_name" class="form-control">
|
|
|
- </div>
|
|
|
+ <div class="mb-3">
|
|
|
+ <label class="form-label">Empresa</label>
|
|
|
+ <input type="text" name="company_name" class="form-control">
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label">WhatsApp</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <input type="tel" name="whats_app" class="form-control">
|
|
|
- </div>
|
|
|
+ <div class="mb-3">
|
|
|
+ <label class="form-label">WhatsApp</label>
|
|
|
+ <input type="tel" name="whats_app" class="form-control">
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
- <div class="row mb-3 align-items-center">
|
|
|
- <label class="col-md-3 col-form-label">Mensagem</label>
|
|
|
- <div class="col-md-9">
|
|
|
- <textarea class="form-control" name="content" rows="4"></textarea>
|
|
|
- </div>
|
|
|
+ <div class="mb-3">
|
|
|
+ <label class="form-label">Mensagem</label>
|
|
|
+ <textarea class="form-control" name="content" rows="4"></textarea>
|
|
|
</div>
|
|
|
|
|
|
- <div class="row">
|
|
|
- <div class="col-md-9 offset-md-3">
|
|
|
- <button type="submit" class="btn btn-custom w-100">Enviar</button>
|
|
|
- </div>
|
|
|
+ <!-- 按钮保持原宽度 -->
|
|
|
+ <div class="d-grid text-center" style="display: grid; justify-content: center;">
|
|
|
+ <button type="submit" class="quote btnch">Enviar</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
-
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
---->
|
|
|
|
|
|
{% include '_footer.liquid' %}
|
|
|
|