Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
index 架構
<div class="product-index">
<div class="container">
<!-- 左側:產品列表,佔 8/12 -->
<section class="col-md-8 main">
<% @prodcuts.products.each_with_index do |product, index| %>
<!-- 把產品的內容印出來 -->
<div class="row">
<% end %>
<!-- 右側:廣告欄位,佔 4/12 -->
<section class="col-md-4 side">
<!-- 元氣美女 -->
<section class="coach-box">
<!-- 我是 BosGal -->
<section class="bos-girl-box">
<!-- 活動回顧 -->
<section class="event-box">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.