123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <style type='text/css'>
- .goods-list a {
- position: relative;
- }
- .goods-list span {
- float:right;margin-right:20px;
-
- }
- </style>
-
- {php $totals = m('goods')->getTotals()}
- {ifp 'goods'}
- <div class='menu-header'>商品管理</div>
- <ul class='goods-list'>
- <li {if $_GPC['goodsfrom'] == 'sale'} class="active" {/if}><a href="{php echo webUrl('goods',array('goodsfrom'=>'sale'))}">出售中<span>{$totals['sale']}</span></a></li>
- <li {if $_GPC['goodsfrom'] == 'out'} class="active" {/if}><a href="{php echo webUrl('goods',array('goodsfrom'=>'out'))}">已售罄<span class='text-danger'>{$totals['out']}</span></a></li>
- <li {if $_GPC['goodsfrom'] == 'stock'} class="active" {/if}><a href="{php echo webUrl('goods',array('goodsfrom'=>'stock'))}">仓库中<span>{$totals['stock']}</span></a></li>
- <li {if $_GPC['goodsfrom'] == 'cycle'} class="active" {/if}><a href="{php echo webUrl('goods',array('goodsfrom'=>'cycle'))}">回收站<span class='text-default'>{$totals['cycle']}</span></a></li>
-
- {if p('merch')}
- <li {if $_GPC['goodsfrom'] == 'verify'} class="active" {/if}><a href="{php echo webUrl('goods',array('goodsfrom'=>'verify'))}">待审核<span class='text-default'>{$totals['verify']}</span></a></li>
- {/if}
- {ifp 'goods.category'}<li {if $_W['action'] == 'goods.category'} class="active" {/if}><a href="{php echo webUrl('goods/category')}">商品分类</a></li>{/if}
- {ifp 'goods.group'}<li {if $_GPC['r'] == 'goods.group' || $_GPC['r'] == 'goods.group.edit'}class="active" {/if}><a href="{php echo webUrl('goods/group')}">商品组</a></li>{/if}
- <li {if $_W['action'] == 'goods.label'} class="active" {/if}><a href="{php echo webUrl('goods/label')}">标签管理</a></li>
- </ul>
- {/if}
-
-
- {if com('virtual')}
- {ifp 'goods.virtual.temp|goods.virtual.category|goods.virtual.data'}
- <div class='menu-header'>虚拟卡密</div>
- <ul>
- {ifp 'goods.virtual.temp'}<li {if $_W['action'] == 'goods.virtual.temp' ||$_W['action'] == 'goods.virtual.data'} class="active" {/if}><a href="{php echo webUrl('goods/virtual/temp')}">虚拟卡密</a></li>{/if}
- {ifp 'goods.virtual.category'}<li {if $_W['action'] == 'goods.virtual.category'} class="active" {/if}><a href="{php echo webUrl('goods/virtual/category')}">卡密分类</a></li> {/if}
- {ifp 'goods.virtual.set'}<li {if $_W['action'] == 'goods.virtual.set'} class="active" {/if}><a href="{php echo webUrl('goods/virtual/set')}">设置</a></li> {/if}
- </ul>
- {/if}
- {/if}
-
-
|