info.html 5.1 KB
<div class="ibox-content order-info">

    <div class="row">
        <div class="col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    收货信息
                </div>
                <div class="panel-body">
                    <div class="row show-grid">
                        <div class="col-xs-12">用户昵称: {$row.user.nickname}</div>
                        <div class="col-xs-12">收货人: {$row.address.name}</div>
                        <div class="col-xs-12">联系电话: {$row.address.phone}</div>
                        <div class="col-xs-12">收货地址: {$row.address.area}{$row.address.detail}</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    订单信息
                </div>
                <div class="panel-body">
                    <div class="row show-grid">
                        <div class="col-xs-6" >订单编号: {$row.order_no}</div>
                        <div class="col-xs-6" style="color: #8BC34A;">订单状态:
                            {$row['type']['name']}
                        </div>
                        <div class="col-xs-6">商品总价: ¥{$row.total_price}</div>
                        <div class="col-xs-6">支付邮费: ¥{$row.express_price}</div>
                        <div class="col-xs-6">优惠金额: ¥{$row.reduce_price}</div>
                        <div class="col-xs-6">实际支付: ¥{$row.order_price}</div>
                        {if condition="$row['refund_price'] > 0"}
                        <div class="col-xs-6" style="color: #f1a417">退款金额: ¥{$row.refund_price}</div>
                        {/if}
                        {if condition="$row['score'] > 0"}
                        <div class="col-xs-6" style="color: #f1a417">使用积分: {$row.score}</div>
                        {/if}
                        <div class="col-xs-6">创建时间: {$row.createtime|date="Y/m/d H:i",###}</div>
                        {notempty name="row.pay_time"}
                        <div class="col-xs-6">支付时间: {$row.pay_time|date="Y/m/d H:i",###}</div>
                        {/notempty}

                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    商品信息
                </div>
                <div class="panel-body">
                    <div class="row show-grid">
                        {foreach name='row.goods' item="v"}
                        <div class="col-xs-12">
                            <!--商品信息-->
                            <div class="col-xs-6">
                                <img class="img-md" src="{$v.goods_image}">
                                <div class="col-xs-6">
                                    <h4>{$v.goods_name}</h4>
                                    {foreach name="v.goods_style_text" item="val"}
                                    {/foreach}
                                    <p>{$v.goods_attr}</p>
                                    <p>¥{$v.goods_price} * {$v.goods_num}</p>
                                </div>
                            </div>
                            <!--商品定制项-->
                            <div class="col-xs-6">
                                {foreach name="v.goods_style_text" item="val"}
                                <div class="col-xs-6">
                                    <span style="float:left">{$val.style_name}:</span>
                                    <span style="float:left">
                                        {eq name="val.style_type" value="3"}
                                        <img class="img-sm" src="{$val.style_value}"/>
                                        {else/}
                                        {$val.style_value}
                                        {/eq}
                                    </span>
                                </div>
                                {/foreach}
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
        {if condition="$row['delivery_status'] eq '1'"}
        <div class="col-sm-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    物流信息
                </div>
                <div class="panel-body">
                    <div class="row show-grid">
                        <div class="col-xs-6" >快递公司: {$row.express_company}</div>
                        <div class="col-xs-6">快递单号: {$row.express_no} | <button class="kdniao" type="button" data-company="{$row.express_code}" data-code="{$row.express_no}">物流查询</button></div>
                    </div>
                </div>
            </div>
        </div>
        {/if}
    </div>
</div>