Authored by uedxwg

views update

1 <!-- 相关品牌 --> 1 <!-- 相关品牌 -->
2 - <div class="newBrand">  
3 - <div class="newBrandTite tag-box">相关品牌</div>  
4 - <ul>  
5 - <li>  
6 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/M.WORL.jpg" alt="">  
7 - <p>Front Row Shop</p>  
8 - </li>  
9 - <li>  
10 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/MANGO.jpg" alt="">  
11 - <p>MOUSSY</p>  
12 - </li>  
13 - <li>  
14 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/MOUSSY.jpg" alt="">  
15 - <p>M.WORL</p>  
16 - </li>  
17 - <li>  
18 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/M.WORL.jpg" alt="">  
19 - <p>MANGO</p>  
20 - </li>  
21 - <li>  
22 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/MOUSSY.jpg" alt="">  
23 - <p>MANGO</p>  
24 - </li>  
25 - </ul>  
26 - </div>  
  2 + {{#if brand}}
  3 +<div class="newBrand">
  4 + <div class="newBrandTite tag-box">相关品牌</div>
  5 + <ul>
  6 + {{#each brand}}
  7 + <li>
  8 + <a href="{{link}}">
  9 + <img src="{{ img}}" alt="{{ name}}">
  10 + <p>{{ name}}</p>
  11 + </a>
  12 + </li>
  13 + {{/each}}
  14 + </ul>
  15 +</div>
  16 +{{/if}}
1 <!-- 相关推荐 --> 1 <!-- 相关推荐 -->
  2 +{{#if group}}
2 <div class="newGood"> 3 <div class="newGood">
3 <div class="newGoodTitle tag-box">推荐商品</div> 4 <div class="newGoodTitle tag-box">推荐商品</div>
4 <div class="newGoodbody"> 5 <div class="newGoodbody">
  6 + {{#each group}}
5 <ul> 7 <ul>
  8 + {{#each goods}}
6 <li> 9 <li>
7 - <span class="red">SALE</span>  
8 - <span class="green">NEW</span>  
9 - <div class="newImg">  
10 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
11 - <span>即将售罄</span>  
12 - </div>  
13 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
14 - <p><i>¥222</i><i>¥999</i></p> 10 + <a href="{{ link}}">
  11 + {{# top}}
  12 + {{# is_sale}}
  13 + <span class="SALE">SALE</span>
  14 + {{/ is_sale}}
  15 + {{# is_new}}
  16 + <span class="NEW">NEW</span>
  17 + {{/ is_new}}
  18 + {{/ top}}
  19 + <div class="newImg">
  20 + <img src="{{ img}}" alt="{{ name}}">
  21 + {{# bottom}}
  22 + <span>即将售罄</span>
  23 + {{/ bottom}}
  24 + </div>
  25 + <p>{{ name}}</p>
  26 + <p><i>{{ price}}</i><i>{{ salePrice}}</i></p>
  27 + </a>
15 </li> 28 </li>
16 - <li>  
17 - <span class="red">SALE</span>  
18 - <span class="green">NEW</span>  
19 - <div class="newImg">  
20 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
21 - <span>即将售罄</span>  
22 - </div>  
23 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
24 - <p><i>¥222</i><i>¥999</i></p>  
25 - </li>  
26 - <li>  
27 - <span class="red">SALE</span>  
28 - <span class="green">NEW</span>  
29 - <div class="newImg">  
30 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
31 - <span>即将售罄</span>  
32 - </div>  
33 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
34 - <p><i>¥222</i><i>¥999</i></p>  
35 - </li>  
36 - </ul>  
37 - <ul>  
38 - <li>  
39 - <span class="red">SALE</span>  
40 - <span class="green">NEW</span>  
41 - <div class="newImg">  
42 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
43 - <span>即将售罄</span>  
44 - </div>  
45 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
46 - <p><i>¥222</i><i>¥999</i></p>  
47 - </li>  
48 - <li>  
49 - <span class="red">SALE</span>  
50 - <span class="green">NEW</span>  
51 - <div class="newImg">  
52 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
53 - <span>即将售罄</span>  
54 - </div>  
55 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
56 - <p><i>¥222</i><i>¥999</i></p>  
57 - </li>  
58 - <li>  
59 - <span class="red">SALE</span>  
60 - <span class="green">NEW</span>  
61 - <div class="newImg">  
62 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
63 - <span>即将售罄</span>  
64 - </div>  
65 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
66 - <p><i>¥222</i><i>¥999</i></p>  
67 - </li>  
68 - <li>  
69 - <span class="red">SALE</span>  
70 - <span class="green">NEW</span>  
71 - <div class="newImg">  
72 - <img src="http://cmsres.dev.yoho.cn/res/new/boys/images/detail/good.jpg" alt="">  
73 - <span>即将售罄</span>  
74 - </div>  
75 - <p>TAKA ORIGINAL 印花毛呢大衣</p>  
76 - <p><i>¥222</i><i>¥999</i></p>  
77 - </li>  
78 - </ul> 29 + {{/each}}
  30 + </ul>
  31 + {{/each}}
79 </div> 32 </div>
80 -</div>  
  33 +</div>
  34 +{{/if}}