<link rel="stylesheet" type="text/css" href="/plugins/plupload/css/style.css">
<script type="text/javascript" src="/plugins/plupload/js/plupload.min.js"></script>

<div class="layui-form" style="margin-top: 15px; padding-right: 15px;">
<form class="layui-form" id="detail_form" method="post">
  <div class="layui-form-item">
    <label class="layui-form-label">网站LOGO</label>
    <div class="layui-input-block">
      <div id="filelist">您的浏览器不支持 Flash, Silverlight 或者 HTML5，请升级浏览器</div>
      <div id="uploadcontainer">
          <a id="pickfiles" href="javascript:;" class='layui-btn layui-btn-primary'><i class="layui-icon layui-icon-add-circle"></i>  选择文件</a> 
          <a id="uploadfiles" href="javascript:;" class='layui-btn' style="display: none;">开始上传</a>
          <span id="logopreview"><?php if(!empty($config->logo)){ ?><img src="<?php echo $config->logo; ?>" style="max-width: 400px; max-height: 50px; background-color: #245c95; padding: 2px;"><?php } ?></span>
      </div>
      <pre id="console" style="display: none;"></pre>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-block">
      <div>为了便于查看效果，图片已经加上与导航栏一样的背景颜色。</div>
    </div>
  </div>
</form>
</div>

<script src="/public/modules/glconfig/logo/index.js"></script>