<table>
  <thead>
    <tr>
      <th class="left">
        <span class="cd-ui-checkbox J_ui-checkbox {{if (list.length && isAll===true) }}checked{{/if}}"></span>
        拼购ID
      </th>
      <th>SKU编码</th>
      <th>商品图</th>
      <th style="width:100px;">商品名称</th>
      <th>商品价格</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.activeId}}
      </td>
      <td>{{item.skuId}}</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>
        <p>松果价:{{item.jdPrice === -1 ? '暂无价格' : '￥ '+ item.jdPrice}}</p>
        <p>拼购价:{{item.promoPrice === -1 ? '暂无价格' : '￥ '+ item.promoPrice}}</p>
      </td>
      <td>{{item.tuanMembCount}}人</td>
      <td>{{status1[item.status]}}</td>
    </tr>
    {{/each}}
    {{else}}
    <tr>
      <td colspan="8">暂无数据</td>
    </tr>
    {{/if}}
  </tbody>
</table>
