Authored by xuqi

good info

@@ -9,6 +9,9 @@ @@ -9,6 +9,9 @@
9 <meta name="keywords" content="{{keywords}}"> 9 <meta name="keywords" content="{{keywords}}">
10 <meta name="description" content="{{description}}"> 10 <meta name="description" content="{{description}}">
11 <title>{{title}}</title> 11 <title>{{title}}</title>
  12 + <!-- [if (gte IE 6)&(lte IE 8)>
  13 + <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  14 + <![endif]-->
12 <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css"> 15 <link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css">
13 </head> 16 </head>
14 <body> 17 <body>
  1 +<div class="good-colors-box">
  2 + {{> product/good}}
  3 + <ul class="colors">
  4 + {{#each colors}}
  5 + <li>
  6 + <a href="{{url}}">
  7 + <img src="{{colorThumb}}">
  8 + </a>
  9 + </li>
  10 + {{/each}}
  11 + </ul>
  12 +</div>
  1 +<div class="good-info" data-skn="{{skn}}">
  2 + <div class="tag-container clearfix">
  3 + {{# tags}}
  4 + {{# isNew}}
  5 + <p class="good-tag new-tag">NEW</p>
  6 + {{/ isNew}}
  7 + {{# isReNew}}
  8 + <p class="good-tag renew-tag">再到着</p>
  9 + {{/ isReNew}}
  10 + {{# isSale}}
  11 + <p class="good-tag sale-tag">SALE</p>
  12 + {{/ isSale}}
  13 + {{# isNewFestival}}
  14 + <p class="good-tag new-festival-tag">新品节</p>
  15 + {{/ isNewFestival}}
  16 + {{# isLimit}}
  17 + <p class="good-tag limit-tag">限量商品</p>
  18 + {{/ isLimit}}
  19 + {{# isYearEndPromotion}}
  20 + <p class="good-tag yep-tag">年终大促</p>
  21 + {{/ isYearEndPromotion}}
  22 + {{# isYearMidPromotion}}
  23 + <p class="good-tag ymp-tag">年中热促</p>
  24 + {{/ isYearMidPromotion}}
  25 + {{/ tags}}
  26 + </div>
  27 + <div class="good-detail-img">
  28 + <a class="good-thumb" href="{{url}}">
  29 + <img class="lazy" src="{{thumb}}">
  30 + </a>
  31 + {{# isFew}}
  32 + <p class="few-tag">即将售罄</p>
  33 + {{/ isFew}}
  34 +
  35 + {{#if showColBtn}}
  36 + <span class="col-btn iconfont{{#if coled}} coled{{/if}}"></span>
  37 + {{/if}}
  38 + </div>
  39 + <div class="good-detail-text">
  40 + <a href="{{url}}">{{name}}</a>
  41 + <p class="price">
  42 + <span class="sale-price{{#unless marketPrice}}prime-cost{{/unless}}">
  43 + ¥{{salePrice}}
  44 + </span>
  45 + {{# marketPrice}}
  46 + <span class="market-price">¥{{.}}</span>
  47 + {{/ marketPrice}}
  48 + </p>
  49 + </div>
  50 +</div>