#{hook(\App\Consts\Hook::USER_GLOBAL_VIEW_HEADER)} #{hook(\App\Consts\Hook::USER_VIEW_INDEX_HEADER)}
#{if $user}
#{$user.username} #{else}
#{$config.shop_name} #{/if}
#{if $user}
#{$user.balance}
#{else}
登录
#{/if}
购物
查订单
#{if $config.service_url}
在线客服
#{/if} #{foreach hook(\App\Consts\Hook::USER_VIEW_HEADER_NAV) as $item}
#{$item.name}
#{/foreach}