<commit_before><% content_for :head do %>
  <script type="text/javascript">
    $(function(){
      var a = $('.product-listing li')
      for (var i=3; i<a.length; i=i+4){
        $(a[i]).addClass('last');
      }
    });
  </script>
<% end %>


<%
paginated_products = @searcher.products if params.key?(:keywords)
paginated_products ||= products
%>
<% if products.empty? %>
  <%= t(:no_products_found) %>
<% elsif params.key?(:keywords) %>
  <h3><%= t(:search_results, :keywords => h(params[:keywords])) %></h3>
<% end %>

<% if products.any? %>
<ul class="product-listing">
  <% products.each do |product| %>
    <% if Spree::Config[:show_zero_stock_products] || product.has_stock? %>
      <li id="product_<%= product.id %>">
        <%= link_to small_image(product), product %>
        <%= link_to product.name, product %>
        上市时间：<%= product.list_date %><br />
      </li>
    <% end %>
      <% end %>
  </ul>
<% end %>
<commit_msg>update products and merge master<commit_after><% content_for :head do %>
  <script type="text/javascript">
    $(function(){
      var a = $('.product-listing li')
      for (var i=3; i<a.length; i=i+4){
        $(a[i]).addClass('last');
      }
    });
  </script>
<% end %>


<%
paginated_products = @searcher.products if params.key?(:keywords)
paginated_products ||= products
%>
<% if products.empty? %>
  <%= t(:no_products_found) %>
<% elsif params.key?(:keywords) %>
  <h3><%= t(:search_results, :keywords => h(params[:keywords])) %></h3>
<% end %>

<% if products.any? %>
  <ul class="product-listing">
    <% products.each do |product| %>
      <% if Spree::Config[:show_zero_stock_products] || product.has_stock? %>
        <li id="product_<%= product.id %>">
          <%= link_to small_image(product), product %>
          <div class="info">
            <%= link_to product.name, product %>
            <p>上市时间：<%= product.property('上市时间') %></p>
            <!--制式：<%= product.taxon_val('制式') %>-->
          </div>
        </li>
      <% end %>
    <% end %>
  </ul>
<% end %>

{'fraction_non_alphanumeric': 0.22123893805309736, 'fraction_numerical': 0.003933136676499509, 'mean_word_length': 2.9901960784313726, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2996745', 'n_tokens_mistral': 780, 'n_tokens_neox': 701, 'n_words': 135}