{extend name="$base" /} {block name="resources"} {/block} {block name="main"} {php} $address_default = api('System.Member.defaultAddress'); $address_default = $address_default['data']; $winning['gift_id'] = request()->get("gift_id", ""); // 赠品id $winning['record_id'] = request()->get("record_id", ""); // 中奖记录id if (!empty($winning['gift_id'])) { $_SESSION["winning"]["gift_id"] = $winning['gift_id']; $_SESSION["winning"]["record_id"] = $winning['record_id']; } if (empty($winning['gift_id']) && isset($_SESSION["winning"])) { $winning['gift_id'] = $_SESSION["winning"]["gift_id"]; $winning['record_id'] = $_SESSION["winning"]["record_id"]; } $gift_detail = api('System.Promotion.promotionGiftDetail', ['id' => $winning['gift_id']]); $gift_detail = $gift_detail['data']; {/php} {notempty name="$gift_detail['gift_goods']"} {if $gift_detail['gift_goods']['is_virtual'] neq 1} {if condition="$address_default.id neq ''"}
{:lang('member_consignee')}：{$address_default.consigner} {$address_default.mobile} {:lang('member_delivery_address')}：{$address_default.address_info}-{$address_default.address}
{else /}
{:lang('member_new_delivery_address')}
{/if} {/if}
￥{$gift_detail.gift_goods.price}
{$gift_detail.gift_goods.goods_name} {notempty name="$gift_detail.gift_goods.sku_name"} {$gift_detail.gift_goods.sku_name} {/notempty}
×1
{if $gift_detail['gift_goods']['is_virtual'] eq 1}
手机号码
{/if}
{:lang('member_buyer_message')}
{/notempty} {/block} {block name="footer"}{/block} {block name="script"}
{/block}