@section('title', '上传应用')

@section('header')
@endsection
<style>
    .flex_row{
    display: flex;
    flex-direction: row;
    }
    .flex_center {
        justify-content: center;
        align-items: center;
    }
    .item-center {
        align-items: center;
    }
    /* 左右对齐，项目之间的间隔都相等 */
    .allAlignment {
        justify-content: space-between;
    }
    /* 每个项目两侧的间隔相等。所以，项目之间的间隔比项目与边框的间隔大一倍 */
    .average {
        justify-content: space-around;
    }
    .btn_img{
        width: 50px;height: 50px;    
    }
    .input_file{
        position: absolute;
        left: 40%;
        top: 60%;
        display: none;
    }
    .up_box{
        width: 100%;
        height: 160px;;
        border:1px dashed #00b5f9; 
    }
    .submit_img{
        margin-left:10%;
        width: 80%;
        height: 30px;
        background: #2ab367;
        border-radius: 5px;
        color: #fff;
    }
</style>
<div class="wrap-container welcome-container">
    <div class="row">
        <div class="welcome-left-container col-lg-9">

            <!--基本信息-->
            <div class="server-panel panel panel-default">
                <div class="panel-header">基础信息</div>
                <hr>
                <div class="panel-body clearfix">

                        <!-- <div class='flex_row'  > -->

                            <form method="post" class action="/apps/file" enctype="multipart/form-data" >
                                <!-- <div class='btn_file'>
                                    <img src="" style="margin-left: 46%;margin-top:15px;width: 50px;height: 50px;">
                                    <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                                    <input type="file" name="picture">
                                </div> -->
                                <div class="up_box flex_center flex_row " >
                                    <input type="file" class="input_file" name="picture"  id="file0"  />
                                    <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                                    <label for="file0" style="margin-bottom: 0;">
                                    <img id="img0" src="/static/admin/images/upload.jpg"  class="btn_img">
                                    </label>
                                </div>
                                <div  style="width:100%;margin-top: 20px">
                                    <button class='submit_img'   type="submit">上传</button>
                                </div>
                            </form>
                            
                        <!-- </div> -->
                    </form>
                </div>
            </div>


    </div>
</div>


@section('js')
@endsection
@extends('common.list')