DecorationBLK.html 11.7 KB
<%include '../common/__ui/header'%>

<div class="tabheader">
    <ul class="nav nav-tabs">
        <li data-template="1" class="active"><a href="javascript:">默认模板</a></li>
    </ul>
</div>

<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" style="font-family: 'Microsoft YaHei'">
                <li><a href="javascript:"><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="javascript:">店铺管理</a></li>
                <li>店铺装修管理</li>
            </ul>
            <div style="padding-right: 60px">
                <div class="col-sm-4" style="padding-left: 0; font-family: 'Microsoft YaHei'">
                    <h4 style="line-height: 30px;font-size: 24px;margin-top: 2px">BLK装修模板</h4>
                </div>
                <div class="col-sm-4">
                    <div class="platformView" style="text-align: center">
                        <label class="radio-inline"><input type="radio" name="Platform" value="pc" checked>PC端</label>
                        <label class="radio-inline" style="margin-left: 30px;"><input type="radio" name="Platform" value="app">APP端</label>
                    </div>
                </div>
                <div id="operations" class="col-sm-4">
                    <div id="decorationBack" style="display: none; text-align: right; margin-top: -10px">
                        <input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/shop/decoration'">
                    </div>
                    <div id="decorationSubmite" style="display: none; text-align: right; margin-top: -10px">
                        <input id="saveDecoration" type="button" class="btn btn-success delay-btn" value="暂存">
                        <input id="submitDecoration" type="button" class="btn btn-primary delay-btn" value="提交审核">
                        <input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/shop/decoration'">
                    </div>
                    <div id="decorationCheck" style="display: none; text-align: right; margin-top: -10px">
                        <input id="checkOk" type="button" class="btn btn-primary delay-btn" value="审核通过">
                        <input id="checkNo" type="button" class="btn btn-danger delay-btn" value="驳回">
                        <input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/check/index'">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="main" class="contentpanel"></div>

<!--BLK店铺pc端-->
<script type="text/template" id="1-pc">
    <div id="decorationTemplate_blk_pc">
        <div class="shopBanner canEdit" data-dialogid="shopTopBanner">
            <img src="[[resources.shopTopBanner.data.shopSrc]]">
            [[if resources.shopTopBanner.data.isShowShopName == "Y"]]
            <h1>[[shopName]]</h1>
            [[/if]]
        </div>

        <div class="nav canEdit" data-dialogid="navigationBar">
            <ul>
                <li><a href="javascript:">店铺首页</a></li>
                <li><a href="javascript:">全部商品</a></li>
                <li><a href="javascript:">新品上架</a></li>
                <li><a href="javascript:">人气商品</a></li>
                [[each resources.navigationBar.data as item _index]]
                [[if item.name]]
                <li><a href="javascript:">[[item.name]]</a></li>
                [[/if]]
                [[/each]]
            </ul>
        </div>

        <div class="resourceImg">
            <div class="largeSlideImg canEdit" data-dialogid="largeSlideImg">
                <ul>
                    <li><img src="[[resources.largeSlideImg.data[0].src]]"></li>
                    <li><img src="[[resources.largeSlideImg.data[1].src]]"></li>
                    <div class="clearfix"></div>
                </ul>
            </div>

            <div class="oneRowTwoColImages canEdit" data-dialogid="oneRowTwoColImages">
                <ul>
                    <li><img src="[[resources.oneRowTwoColImages.data[0].src]]"></li>
                    <li><img src="[[resources.oneRowTwoColImages.data[1].src]]"></li>
                </ul>
            </div>
            <div class="clearfix"></div>
        </div>

        <div class="newProducts">
            <div class="title">
                <h1>NEW ARRIVALS</h1>
                <em>最新上架</em>
                <a class="more" href="javascript:">MORE</a>
            </div>
            <div class="productList canEdit" data-dialogid="newProducts">
                <ul>
                    [[if resources.newProducts.data.length > 0]]
                    [[each resources.newProducts.data as item _index]]
                    <li>
                        <img src="[[item.src]]">
                        <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div>
                    </li>
                    [[/each]]
                    [[else]]
                    <li>
                        <img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png">
                        <div class="productInfo"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div>
                    </li>
                    [[/if]]
                    <div class="clearfix"></div>
                </ul>
            </div>
        </div>

        <div class="hotProducts">
            <div class="title">
                <h1>HOTS</h1>
                <em>人气单品</em>
                <a class="more" href="javascript:">MORE</a>
            </div>
            <div class="productList canEdit" data-dialogid="hotProducts">
                <ul>
                    [[if resources.hotProducts.data.length > 0]]
                    [[each resources.hotProducts.data as item _index]]
                    [[if _index < 6]]
                    <li>
                        <img src="[[item.src]]">
                        <div class="shadow"></div>
                        <div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div>
                    </li>
                    [[/if]]
                    [[/each]]
                    [[else]]
                    <li>
                        <img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png">
                        <div class="shadow"></div>
                        <div class="productInfo"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div>
                    </li>
                    [[/if]]
                    <div class="clearfix"></div>
                </ul>
            </div>
        </div>
    </div>
</script>

<!--BLK店铺app端-->
<script type="text/template" id="1-app">
    <div id="decorationTemplate_blk_app">
        <div class="shopBanner canEdit" data-dialogid="shopTopBanner_app">
            <img src="[[resources.shopTopBanner_app.data.shopSrc]]">
        </div>
    </div>
</script>

<!--pc端banner-->
<script type="text/template" id="shopTopBanner">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>PC端店铺banner图片</th>
                <th>PC端是否展示店铺名称</th>
                <th>PC端商品详情页banner图片</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <input type="file" fileType='14' name='shopBannerImg' class="observe" value="[[data.shopSrc]]" data-field="shopSrc" >
                </td>
                <td>
                    <lable>
                        <input type='radio' name='isShowShopName' class="observe" value='Y' [[data.isShowShopName=='Y'?'checked':'']] data-field="isShowShopName">
                        &nbsp;&nbsp;显示店铺名称
                    </lable><br>
                    <lable>
                        <input type='radio' name='isShowShopName' class="observe" value='N' [[data.isShowShopName=='N'?'checked':'']] data-field="isShowShopName">
                        &nbsp;&nbsp;不显示店铺名称
                    </lable>
                </td>
                <td>
                    <input type="file" fileType='15' name='DetailbannerImage' class="observe" value="[[data.detailSrc]]" data-field="detailSrc" >
                </td>
            </tr>
        </tbody>
    </table>
</script>

<!--app端banner-->
<script type="text/template" id="shopTopBanner_app">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>APP端店铺banner图片</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <input type="file" fileType='18' name='shopBannerAppImg' class="observe" value="[[data.shopSrc]]" data-field="shopSrc" >
                </td>
            </tr>
        </tbody>
    </table>
</script>

<!--pc端nav-->
<script type="text/template" id="navigationBar">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>编号</th>
            <th>导航名称</th>
            <th>链接</th>
        </tr>
        </thead>
        <tbody>
        [[each data as item _index]]
        <tr>
            <td>[[_index+1]]</td>
            <td><input type="text" class="form-control observe" name="name" value="[[item.name]]" data-field="[[_index]].name" maxlength="5"></td>
            <td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
        </tr>
        [[/each]]
        </tbody>
    </table>
</script>

<!--pc端大图资源位-->
<script type="text/template" id="largeImg">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>图片</th>
            <th>链接</th>
        </tr>
        </thead>
        <tbody>
        [[each data as item _index]]
        <tr>
            <td><input type="file" fileType='16' name='resourceImage' class="observe" value="[[item.src]]" data-field="[[_index]].src"></td>
            <td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
        </tr>
        [[/each]]
        </tbody>
    </table>
</script>

<!--pc端小图资源位-->
<script type="text/template" id="smallImg">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>图片</th>
            <th>链接</th>
        </tr>
        </thead>
        <tbody>
        [[each data as item _index]]
        <tr>
            <td><input type="file" fileType='17' name='resourceImage' class="observe" value="[[item.src]]" data-field="[[_index]].src"></td>
            <td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
        </tr>
        [[/each]]
        </tbody>
    </table>
</script>

<!--新品,热门商品-->
<script type="text/template" id="products">
    <div class="tabheader productsTabs">
        <ul class="nav nav-tabs">
            <li class="active"><a href="javascript:">全部商品</a></li>
            <li><a href="javascript:">已选&nbsp;(<b class="selectedProductsNum"></b>)</a></li>
        </ul>
    </div>
    <div class="filter" style="margin-top: 20px; display: none">
        <input type="text" id="selectSkn" class="form-control" value="" placeholder="SKN查询" style="display: inline-block;width: 200px;margin-right: 10px">
        <a id="filterSkn" href="javascript:;" class="btn btn-info">筛选</a>
    </div>
    <div class="productTable" style="margin-top: 20px"></div>
</script>

<%include '../common/__ui/footer'%>