netsale-edit.html 5.78 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href="#"><i class="glyphicon glyphicon-home"></i></a></li> 
                <li><a href="#">商品管理</a></li>


                <li>编辑</li>
            </ul>
            <h4>编辑商品信息</h4>
        </div>
    </div>
</div>

<div class="contentpanel" data-type="{{type}}">
    
    <div class="panel panel-danger">
        <div class="panel-heading">
            <div class="panel-btns" style="display: none;">
                <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
            </div>
            <h2 class="panel-title">上架前必填</h2>
        </div>
        
        <div class="panel-body">
            {{> netsale/basic_info}}
            <div class="panel panel-default">
                <form class="form-horizontal form-bordered">
                    <div class="panel-heading">
                        <div class="panel-btns" style="display: none;">
                            <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
                        </div>
                        <h2 class="panel-title">封面设置</h2>
                    </div>
                    <div class="panel-body nopadding">
                        
                        <div class="form-group">
                            <div class="col-sm-1">
                                <div class="goods-img">
                                    {{# goodsImagesList}}
                                    <p>SKC: {{productSkc}}</p>
                                    <p>{{goodsName}}色</p>
                                    {{/ goodsImagesList}}
                                </div>
                                <div class="cover-color height40">颜色封面:</div>
                                <div class="goods-color height40">商品封面:</div>
                            </div>
                            <div class="col-sm-11">
                                <ul class="cover-image-list col-sm-12">
                                    {{# goodsImagesList}}
                                    {{/ goodsImagesList}}
                                    <li class="cover-image-item fileinput-button">
                                        <div class="goods-img">
                                            <a class="fileinput-button-icon" href="javascript:void(0);">+</a>
                                            <input type="file" class="goods-img-upload">
                                        </div>
                                        <div class="cover-color height40">
                                            <a href="javascript:;" class="btn btn-default btn-metro">默认</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">男封</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">女封</a>
                                        </div>
                                        <div class="goods-color height40">
                                            <a href="javascript:;" class="btn btn-default btn-metro">设置默认</a>
                                            <a href="javascript:;" class="btn btn-default btn-metro">调用图片</a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="panel-footer">
                        <button class="btn btn-pass">通过</button>
                        <button class="btn btn-reject">驳回</button>
                    </div>
                </form>
            </div>

            {{> netsale/goods_description}}
            {{> netsale/size_info}}
            {{> netsale/goods_params}}
            {{> netsale/goods_sort}}
        </div>
        
    </div>

    {{> netsale/search_key}}
    
    <div class="panel panel-danger">
        <div class="panel-heading">
            <div class="panel-btns" style="display: none;">
                <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
            </div>
            <h2 class="panel-title">上架后补全信息</h2>
        </div>

        <div class="panel-body">
            {{> netsale/add_info}}
            {{> netsale/editor_recommend}}
            {{> netsale/model}}
            {{> netsale/brand_relation}}
            {{> netsale/close_match}}
            {{> netsale/video}}
        </div>
    </div>
</div>


<script type="text/template" id="picDialogTemp">
    <div class="row">
        <div id="upload-wrapper" class="col-md-3">
            <input id="imgVideo" name="imgVideo" type="file" extend="{extend}" class="btn btn-primary ml10" value="{attachUrl}">
        </div>
        <div class="col-md-9">
            <div class="row">
                <label class="pull-left control-label height40">{name}链接</label>
                <div class="pull-left ml10">
                    <input class="form-control" id="imgVideoText"  type="text" placeholder="{name}链接" value="{attachUrl}">
                </div>
                
            </div>
            <div class="row">
                <label class="pull-left control-label height40">{name}描述</label>
                <div class="pull-left ml10">
                    <input class="form-control" type="text" id="attachName" value="{attachName}" placeholder="{name}描述">
                </div>
            </div>
        </div>
    </div>
</script>