12345678910111213141516171819202122232425262728293031323334353637383940 |
- <table class="table">
- <thead>
- <th>商品名称</th>
- <th style="width: 100px">商品价格</th>
- {if !empty($live)}
- <th style="width: 100px">直播价格</th>
- {/if}
- <th style="width: 85px">操作</th>
- </thead>
- </table>
- <div style='max-height:500px;overflow:auto;min-width:850px;'>
- <table class="table table-hover" style="min-width:850px;">
- <tbody>
- {loop $ds $row}
- <tr>
- <td><img src="{php echo tomedia($row['thumb'])}" style="width:30px;height:30px;padding1px; border:1px solid #ccc" /> {$row['title']}</td>
- <td style="width: 100px">¥{$row['minprice']}</td>
- {if !empty($live)}
- <td style="width: 100px">
- {if !empty($row['islive']) && $row['liveprice']<$row['minprice']}
- ¥{$row['liveprice']}
- {else}
- -
- {/if}
- </td>
- {/if}
- <td style="width:80px;">
- <a href="javascript:;"onclick='biz.selector.set(this, {php echo json_encode($row);})'>选择</a>
- </td>
- </tr>
- {/loop}
- {if count($ds)<=0}
- <tr>
- <td colspan='5' align='center'>未找到商品</td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
|