{include file="public/seller_top" /} 
<div class="seller_main w1200">
    {include file="public/seller_left" /}
    <div class="seller_right">
        <div class="seller_items">
            {include file="public/seller_items" /}
        </div>
        
        
        
        
<div class="dssc-flow-layout">
  <div class="dssc-flow-container">
    <div class="title">
      <h3>退款服务</h3>
    </div>
    <div id="saleRefund">
      <div class="dssc-flow-step">
        <dl class="step-first current">
          <dt>买家申请退款</dt>
          <dd class="bg"></dd>
        </dl>
        <dl class="<?php echo $refund['seller_time'] > 0 ? 'current':'';?>">
          <dt>商家处理退款申请</dt>
          <dd class="bg"> </dd>
        </dl>
        <dl class="<?php echo $refund['admin_time'] > 0 ? 'current':'';?>">
          <dt>平台审核，退款完成</dt>
          <dd class="bg"> </dd>
        </dl>
      </div>
    </div>
    <div class="dssc-form-default">
      <h3>买家退款申请</h3>
      <dl>
        <dt>退款编号：</dt>
        <dd><?php echo $refund['refund_sn']; ?></dd>
      </dl>
      <dl>
        <dt>申请人（买家）：</dt>
        <dd><?php echo $refund['buyer_name']; ?></dd>
      </dl>
      <dl>
        <dt>{$Think.lang.refund_buyer_message}{$Think.lang.ds_colon}</dt>
        <dd> <?php echo $refund['reason_info']; ?> </dd>
      </dl>
      <dl>
        <dt>{$Think.lang.refund_order_refund}{$Think.lang.ds_colon}</dt>
        <dd><strong class="red">{$Think.lang.currency}<?php echo $refund['refund_amount']; ?></strong></dd>
      </dl>
      <dl>
        <dt>退款说明：</dt>
        <dd> <?php echo $refund['buyer_message']; ?> </dd>
      </dl>
      <dl>
        <dt>凭证上传：</dt>
        <dd>
          <?php if (is_array($pic_list) && !empty($pic_list)) { ?>
          <ul class="dssc-evidence-pic">
            <?php foreach ($pic_list as $key => $val) { ?>
            <?php if(!empty($val)){ ?>
            <li><a href="<?php echo UPLOAD_SITE_URL.'/'.ATTACH_PATH.'/refund/'.$val;?>" nctype="nyroModal" rel="gal" target="_blank"> <img class="show_image" src="<?php echo UPLOAD_SITE_URL.'/'.ATTACH_PATH.'/refund/'.$val;?>"></a></li>
            <?php } ?>
            <?php } ?>
          </ul>
          <?php } ?>
        </dd>
      </dl>
      <h3>商家处理意见</h3>
      <dl>
        <dt>处理状态{$Think.lang.ds_colon}</dt>
        <dd> <?php echo $state_array[$refund['seller_state']]; ?> </dd>
      </dl>
      <?php if ($refund['seller_time'] > 0) { ?>
      <dl>
        <dt>{$Think.lang.refund_seller_message}{$Think.lang.ds_colon}</dt>
        <dd> <?php echo $refund['seller_message']; ?> </dd>
      </dl>
      <?php } ?>
      <?php if ($refund['seller_state'] == 2) { ?>
      <h3>商城平台退款审核</h3>
      <dl>
        <dt>平台确认{$Think.lang.ds_colon}</dt>
        <dd><?php echo $admin_array[$refund['refund_state']]; ?></dd>
      </dl>
      <?php } ?>
      <?php if ($refund['admin_time'] > 0) { ?>
      <dl>
        <dt>平台备注{$Think.lang.ds_colon}</dt>
        <dd> <?php echo $refund['admin_message']; ?> </dd>
      </dl>
      <?php } ?>
      <div class="bottom">
        <label class=""><a href="javascript:history.go(-1);" class="dssc-btn"><i class="icon-reply"></i>返回列表</a></label>
      </div>
    </div>
  </div>
  {include file="public/seller_refund_right" /}
</div>
        
    </div>
</div>
{include file="public/mall_footer" /}
<script src="{$Think.config.url_domain_root}static/plugins/js/jquery.nyroModal/custom.min.js"></script>
<link href="{$Think.config.url_domain_root}static/plugins/js/jquery.nyroModal/styles/nyroModal.css" rel="stylesheet"
      type="text/css" id="cssfile2"/>

<script>
    $(document).ready(function () {
        $('a[nctype="nyroModal"]').nyroModal();
    });
</script>