Last active
June 16, 2017 07:41
-
-
Save anndoko/16995a0d680a117e69386106618de3f4 to your computer and use it in GitHub Desktop.
index 架構
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> | |
</div> | |
<% end %> | |
</section> | |
<!-- 右側:廣告欄位,佔 4/12 --> | |
<section class="col-md-4 side"> | |
<!-- 元氣美女 --> | |
<section class="coach-box"> | |
</section> | |
<!-- 我是 BosGal --> | |
<section class="bos-girl-box"> | |
</section> | |
<!-- 活動回顧 --> | |
<section class="event-box"> | |
</section> | |
</section> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment