{extend name='base'/}
{block name='style'}
<style>
    .result {
        background-color: white;
        padding: 50px;
    }
    h3.text-danger{
        margin-bottom:30px;
    }
</style>
{/block}
{block name='main'}
<section class="software_banner banner_pad">
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                订单号：{$order->trade_no} <small>订单状态:{$order->statusText['text']}</small>
            </div>
            <div class="panel-body">
                <h3 class="text-danger">商品名:{$order->name}</h3>
                {if $order->goods_type == 0 }
                <div class="alert alert-success" role="alert">
                    你的连接为：{$order->url}
                </div>
                {/if}
                {if $order->goods_type == 1}
                <p>
                    {$order->goods->html|raw}
                </p>
                {/if}
                {if $order->goods_type == 2}
                <ul class="list-group">
                    <li class="list-group-item">卡密：{$order->card->card_no} </li>
                    <!--<li class="list-group-item">卡密：{$order->card->card_pass}</li>-->
                </ul>
                {/if}
            </div>
        </div>
    </div>
</section>
{/block}
