|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
<a class="netsale-position" href="javascript:;" name="position3"></a>
|
|
|
<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" id="fenmianWrap">
|
|
|
|
|
|
|
|
|
</div>
|
|
|
<div class="panel-footer">
|
|
|
<button class="btn btn-primary" id="fenMainSave">保存</button>
|
|
|
<div class="panel-heading">
|
|
|
<a class="netsale-position" href="javascript:;" name="position3"></a>
|
|
|
<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" id="fenmianWrap">
|
|
|
|
|
|
|
|
|
</div>
|
|
|
<div class="panel-footer">
|
|
|
<button class="btn btn-primary" id="fenMainSave">保存</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<script type="text/template" id="fenmianTemp">
|
|
|
[[each goodsList as item index]]
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-2">
|
|
|
<div class="goods-img">
|
|
|
<div class="fm-side col-sm-2">
|
|
|
<div class="goods-img">
|
|
|
<p>SKC: [[item.productSkc]]</p>
|
|
|
<p>[[item.goodsName]]:</p>
|
|
|
<p>[[item.factoryGoodsName]]</p>
|
|
|
<p>[[item.factoryGoodsName || '']]</p>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="col-sm-10">
|
|
|
<ul class="cover-image-list col-sm-12" data-index=[[index]]>
|
|
|
[[each item.goodsImagesList as _item _index]]
|
|
|
<li class="cover-image-item fileinput-button" data-index=[[_index]]>
|
|
|
<div class="goods-img">
|
|
|
<a class="fileinput-button-icon" href="javascript:void(0);"><img src="[[_item.imageUrl]]"></a>
|
|
|
</div>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
<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 fenmianfile" name="fenmianfile" data-index=[[index]]>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="cover-color">颜色封面:</div>
|
|
|
</div>
|
|
|
<ul class="cover-image-list col-sm-10" style="padding: 0;margin: 0;" data-index=[[index]]>
|
|
|
[[each item.goodsImagesList as _item _index]]
|
|
|
<li class="cover-image-item fileinput-button" data-index=[[_index]]>
|
|
|
<div class="goods-img">
|
|
|
<a class="fileinput-button-icon" href="javascript:void(0);"><img src="[[_item.imageUrl]]"></a>
|
|
|
<i class="remove-item-btn glyphicon glyphicon-remove-circle"></i>
|
|
|
</div>
|
|
|
<div class="cover-color">
|
|
|
[[if _item.isDefault=="Y"]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info">默认</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">默认</a>
|
|
|
[[/if]]
|
|
|
|
|
|
[[if _item.genderCover==1]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info">男封</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">男封</a>
|
|
|
[[/if]]
|
|
|
|
|
|
[[if _item.genderCover==2]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info">女封</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">女封</a>
|
|
|
[[/if]]
|
|
|
</div>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
<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 fenmianfile" name="fenmianfile" data-index=[[index]]>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<!-- <div class="form-group">
|
|
|
<div class="col-sm-2">
|
|
|
<div class="height40">颜色封面:</div>
|
|
|
</div>
|
...
|
...
|
@@ -56,55 +75,53 @@ |
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">默认</a>
|
|
|
[[/if]]
|
|
|
|
|
|
|
|
|
[[if _item.genderCover==1]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info">男封</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">男封</a>
|
|
|
[[/if]]
|
|
|
|
|
|
|
|
|
[[if _item.genderCover==2]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info">女封</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro">女封</a>
|
|
|
[[/if]]
|
|
|
</div>
|
|
|
[[/each]]
|
|
|
|
|
|
|
|
|
[[/each]]
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div> -->
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-2">
|
|
|
<div class="goods-color height40">商品封面:</div>
|
|
|
</div>
|
|
|
<div class="col-sm-10">
|
|
|
<div class="goods-color">
|
|
|
<div class="fm-side col-sm-2">商品封面:</div>
|
|
|
<div class="cover-goods col-sm-10">
|
|
|
[[if item.isDefault=="Y"]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info" data-index=[[index]]>设置默认</a>
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro info" data-index=[[index]]>设置默认</a>
|
|
|
[[else]]
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro" data-index=[[index]]>设置默认</a>
|
|
|
<a href="javascript:;" class="btn btn-default btn-metro" data-index=[[index]]>设置默认</a>
|
|
|
[[/if]]
|
|
|
<!-- <a href="javascript:;" class="btn btn-default btn-metro">调用图片</a> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
[[/each]]
|
|
|
|
|
|
</script>
|
|
|
<script type="text/template" id="fenmianImgTemp">
|
|
|
<li class="cover-image-item fileinput-button" data-index=[[__index]]>
|
|
|
<li class="cover-image-item fileinput-button" data-index=[[_index]]>
|
|
|
<div class="goods-img">
|
|
|
<a class="fileinput-button-icon" href="javascript:void(0);"><img src="[[imageUrl]]"></a>
|
|
|
<a class="fileinput-button-icon" href="javascript:void(0);"><img src="[[imageUrl]]"></a>
|
|
|
<i class="remove-item-btn glyphicon glyphicon-remove-circle"></i>
|
|
|
</div>
|
|
|
<div class="cover-color">
|
|
|
<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>
|
|
|
</li>
|
|
|
</script>
|
|
|
|
|
|
<script type="text/template" id="colorCoverTemp">
|
|
|
<!-- <script type="text/template" id="colorCoverTemp">
|
|
|
<div class="cover-color-box 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>
|
|
|
</script> |
|
|
\ No newline at end of file |
|
|
</script> --> |
|
|
\ No newline at end of file |
...
|
...
|
|