attr("id","WU_FILE_"+i);
                                                html.addClass("img-item");
                                                html.append($("<div>").addClass("delete"));
                                                html.append($("<img>").addClass("img").attr("src",list[i]));
                                                html.append($("<div>").addClass("wrapper").css("display","none"));
                                                html.append($("<input>").attr("type","hidden").attr("name",'{{$value["name"]}}'+"[]").val(list[i]));


                                                    $("#image_{{$value['name']}}").find(".picker").before(html);


                                            }

                                        </script>
                                    @else
                                        @include($value["model"],$value)
                                    @endif
                                @endforeach


                            </div>

                        </div>
                        <!-- /.box-body -->

                        <div class="box-footer">

                            <input type="hidden" name="_token" value="{{ csrf_token() }}"><div class="col-md-2">
                            </div>

                            <div class="col-md-8">

                                <div class="btn-group pull-right">
                                    <button type="submit" class="btn btn-primary">提交</button>
                                </div>

                                <label class="pull-right" style="margin: 5px 10px 0 0;">
                                    <div class="icheckbox_minimal-blue" aria-checked="false" aria-disabled="false" style="position: relative;"><input type="checkbox" class="after-submit" name="after-save" value="1" style="position: absolute; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div> 继续编辑
                                </label>
                                <label class="pull-right" style="margin: 5px 10px 0 0;">
                                    <div class="icheckbox_minimal-blue" aria-checked="false" aria-disabled="false" style="position: relative;"><input type="checkbox" class="after-submit" name="after-save" value="2" style="position: absolute; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div> 继续创建
                                </label>
                                <label class="pull-right" style="margin: 5px 10px 0 0;">
                                    <div class="icheckbox_minimal-blue" aria-checked="false" aria-disabled="false" style="position: relative;"><input type="checkbox" class="after-submit" name="after-save" value="3" style="position: absolute; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div> 查看
                                </label>

                                <div class="btn-group pull-left">
                                    <button type="reset" class="btn btn-warning">重置</button>
                                </div>
                            </div>
                        </div>


                    </form>
                </div>

            </div></div>

    </section>



    <script type="text/javascript" src="/demo/goods_sku/layer.js"></script>
    @uploader('assets')
    <link rel="stylesheet" href="/demo/goods_sku/skin/default/layer.css" />
    <style>
        a {
            cursor: pointer;
            background: #F5F5F5;
        }

        a:hover {
            border-color: #BBB5B5;
        }

        * {
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

       .sku_btns a {
            background: #1EACEA;
            color: #FFFFFF;
            padding: 5px 10px;
        }

        input {
            outline: none;
        }

        span {
            display: inline-block;
        }

       .clearfix:after {
            content: "";
            display: block;
            height: 0;
            clear: both;
        }
        /****商品规格***/

       .sku_guige {
            margin-top: 20px;
            display: none;
        }

       .sku_modellist_title {
            font-size: 14px;
            margin-top: 20px;
        }
        /**********表格sku************/

       .sku_table {
            margin-top: 15px;
            border: 1px solid #dfdfdf;
            text-align: center;
            min-height: 320px;
            display: none;
        }

       .sku_table input {
            width: 100px;
        }

       .sku_tableHead {
            background: #F5F5F5;
            height: 40px;
            border-bottom: 1px solid #dfdfdf;
        }

       .sku_t_title {
            float: left;
            width: 120px;
            padding: 5px 0;
            margin-top: 7px;
            border-right: 1px solid #dfdfdf;
        }

       .sku_cell {
            border-bottom: 1px solid #DFDFDF;
        }
        /*****弹窗中间部分内容*****/

       .sku_content {
            padding: 25px 20px;
            display: none;
        }

       .sku_add {
            margin-top: 20px;
            height: 36px;
            font-size: 14px;
        }

       .sku_list {
            font-size: 0;
            margin-top: 15px;
        }

       .sku_item {
            margin-top: 20px;
        }

       .sku_list a {
            padding: 7px 20px;
            border: 1px solid #d7d7d7;
            border-radius: 5px;
        }

       .sku_list span {
            position: relative;
            font-size: 16px;
            margin-right: 20px;
        }

       .sku_list.itemactive {
            background: #2AC845;
            color: #fff;
        }

       .sku_list.sku_item_close {
            display: none;
            position: absolute;
            right: -10px;
            top: -15px;
            height: 20px;
            width: 20px;
            background: rgba(0, 0, 0,.5);
            color: #FFF;
            border-radius: 50%;
            text-align: center;
            line-height: 20px;
            font-style: normal;
            cursor: pointer;
        }

       .sku_add input {
            height: 34px;
            padding: 5px;
            width: 210px;
            border: 1px solid #dfdfdf;
            float: left;
            border-right: none;
        }

       .sku_add a {
            background: #F5F5F5;
            height: 34px;
            text-align: center;
            display: inline-block;
            min-width: 80px;
            padding-top: 10px;
            border: 1px solid #DFDFDF;
        }

       .layui-layer-btn.layui-layer-btn0 {
            background: #f1f1f1;
            border-color: #DEDEDE;
            color: #000;
        }

       .layui-layer-btn.layui-layer-btn1 {
            background: #4898d5;
            border-color: #4898d5;
            color: #fff;
        }
    </style>




    <!---弹窗中间内容-->
    <div class="sku_content">
        <div class="sk