查询商品销售量和销售额,默认排序为销售额从高到低
总数: {$total}
| 排行 | 商品名称 | 销售量 | 销售额 |
|---|---|---|---|
| {if ($pindex -1)* $psize + $key + 1<=3}
|
|
{$row['sl']} | {$row['price']} |
{template 'public/header'} {template 'public/comhead'} {if !empty($storeid)} {php echo $this -> set_tabbar($action, $storeid);} {else}
{/if} {php include $this->template('web/_common');} {if $operation == 'display'}| 排行 | 商品名称 | 销售量 | 销售额 |
|---|---|---|---|
| {if ($pindex -1)* $psize + $key + 1<=3}
|
|
{$row['sl']} | {$row['price']} |