<table>
  <thead>
    <tr>
      <th class="left">
        <span class="cd-ui-checkbox J_ui-checkbox {{if (list.length && isAll===true) }}checked{{/if}}"></span>
        SKU ID
      </th>
      <th>商品图</th>
      <th style="width:230px;">商品名称</th>
      <th>价格</th>
      <th>状态</th>
    </tr>
  </thead>
  <tbody>
    {{if list.length}}
    {{each list item index}}
    <tr>
      <td class="left">
        <span class="cd-ui-checkbox J_ui-checkbox {{each skus skuItem skuIndex}}{{if skuItem.id === item.id}}checked{{/if}}{{/each}}"></span>
        {{item.id}}
      </td>
      <td><img src="{{(item.imageurl && item.imageurl.indexOf('360buyimg') > 0) ? item.imageurl : 'http://img10.360buyimg.com/n1/s450x450_'+item.imageurl}}" alt=""></td>
      <td class="left">
          {{item.wname}}
      </td>
       <td>
          {{if dataType === 5}}
              {{item.currentPrice === -1 ? '暂无价格' : '￥ '+ item.currentPrice}}
          {{else}}
              {{item.jdPrice === -1 ? '暂无价格' : '￥ '+ item.jdPrice}}
          {{/if}}
       </td>
      <td>{{item.promoStatus == 2 ? '抢购中' : item.promoStatus == 1 ? '预告中' : '已结束'}}</td>
    </tr>
    {{/each}}
    {{else}}
    <tr>
      <td colspan="5">暂无数据</td>
    </tr>
    {{/if}}
  </tbody>
</table>
