{extend name="simple_base"} {block name="content"}
搜索方式
商品搜索
{foreach $lists as $v}
商品名称:{$v.name}
商品分类: {$v.category.name|default="未分类"}
店铺名称: {$v.user.shop_name}
供货价格: {$v.proxy_price}元
联系方式: {$v.user.qq}
上架时间: {$v.create_at|date="Y-m-d H:i:s",###}
库存: {if $v->cards_stock_count > 0} {$v->cards_stock_count}张 {else} 断货 {/if}
代理审核: {switch name=":proxyStatus($v->user->id, $_user->id)"} {case value="-2"} {if $v.user.need_check_agent==1} 需要审核 {else/} 免审 {/if} {/case} {case value="-1"}申请拒绝{/case} {case value="0"}申请中{/case} {case value="1"}已通过{/case} {/switch}
{if hasAgentAdd($_user->id, $v->id)==1 }

已对接

{else} 正常对接 快速对接 {/if}
{/foreach}
{/block} {block name="js"} {/block}