1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- @extends('admin/master')
- @section('content')
- <body>
- @if(count($errors) > 0)
- <div class="Huialert Huialert-info" id="error">
- @foreach($errors->all() as $error)
- <li>{{$error}}</li>
- @endforeach
- </div>
- @endif
- @if(session('info'))
- <div class="Huialert Huialert-info" onclick="$(this).remove()" id="info">
- {{session('info')}}
- </div>
- @endif
- <div class="page-container">
- <form action="/admin/admin/uploadQrcode" method="post" class="form form-horizontal" enctype="multipart/form-data">
- <input type="hidden" name="_token" value="{{ csrf_token() }}" />
- <input type="hidden" name="id" value="{{$id}}" />
-
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">
- 微信二维码图片:</label>
- <div class="formControls col-xs-6 col-sm-6">
- <div>
- <img width="100" src="{{$qrcode?$qrcode:'/empty.png'}}"/>
- <span style="margin-left:10%;"></span>示意图:<img width="100" src="http://imgs.726p.com/tbk/upload/seafoodPic2019-10-21/172942/kx-5dad7a86880ad.jpg"/>(请上传带二维码的正方形图片)
- </div>
- <br>
- <span class="btn-upload">
- <input class="input-text upload-url radius" type="text" name="uploadfile-1" id="uploadfile-1" readonly><a href="javascript:void();" class="btn btn-primary radius"><i class="Hui-iconfont"></i> 上传图片</a>
- <input type="file" multiple name="img" class="input-file">
- </span><br>
- 文件类型支持:jpg ,png ,ico ,文件大小不能超过1M
- </div>
- </div>
- <div class="row cl">
- <div class="col-9 col-offset-2">
- <button class="btn btn-primary radius" type="submit" value=" 提交 "> 保存 </button>
- </div>
- </div>
- </form>
- </div>
- <!--_footer 作为公共模版分离出去-->
- <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
- <!--/_footer 作为公共模版分离出去-->
- <!--请在下方写此页面业务相关的脚本-->
- <script type="text/javascript">
- $(function(){
- setTimeout("$('#error').hide()",3000);
- setTimeout("$('#info').hide()",2000);
- });
- /*返回*/
- function return_index(){
- location.href='/admin/admin/index';
- }
- //全局变量
-
- </script>
- </body>
- @endsection
|