Authored by weiqingting

网销整理

... ... @@ -145,7 +145,7 @@ $(document).on("click", "#saveAllInfo", function() {
}
});
}
});
... ...
... ... @@ -40,7 +40,36 @@
</div>
{{> netsale/search_key}}
<!-- 搜索关键词 -->
<div class="panel panel-primary">
<div class="panel-heading">
<a class="netsale-position" href="javascript:;" name="position8"></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">
<div class="form-group">
<label class="col-sm-1 control-label height40" for="searchKeys">商品关键词</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="searchKeys" required="required" />
</div>
<div class="height40" style="color: red;">每个关键词请用英文“,”隔开</div>
</div>
<div class="form-group" id="search-key-list">
<label class="col-sm-1 control-label height40">搜索热词:</label>
<div class="col-sm-6" id="search-key">
</div>
</div>
</div>
<div class="panel-footer">
<button class="btn btn-primary" id="save-searchKey">保存</button>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading">
... ... @@ -56,7 +85,6 @@
{{> netsale/add_info}}
{{> netsale/editor_recommend}}
{{> netsale/model}}
<!-- {{> netsale/brand_relation}} -->
{{> netsale/close_match}}
</div>
</div>
... ...
... ... @@ -24,9 +24,6 @@
<script type="text/template" id="basicInfo">
<div class="form-group">
<blockquote>基本信息</blockquote>
</div>
<div class="form-group">
<div class="col-sm-3">店铺:[[shopName]]</div>
<div class="col-sm-3">品牌:[[brandName]]</div>
<div class="col-sm-3">供应商:[[supplierName]]</div>
... ... @@ -97,43 +94,9 @@
</div>
</script>
<!-- <script type="text/template" id="goodsList">
<div class="form-group">
<h5>能否补货</h5>
<table class="table table-bordered">
<thead>
<tr>
<th>SKC(厂家颜色)</th>
<th>SKU(尺码)</th>
<th>能否补货</th>
</tr>
</thead>
<tbody>
[[each goodsList as item index]]
<tr>
<td>[[item.productSkc]]([[item.goodsName]])</td>
<td>
[[each item.goodsSizeList as b index]]
<p>[[b.productSku]]([[b.sizeName]])<br></p>
[[/each]]
</td>
<td>
[[each item.goodsSizeList as b index]]
<p>[[b.isSuppled]]</br></p>
[[/each]]
</td>
</tr>
[[/each]]
</tbody>
</table>
</div>
</script> -->
<script type="text/template" id="productExtBoTemp">
<div class="form-group">
<blockquote>上架必填</blockquote>
</div>
<div class="form-group">
<div class="col-sm-12">
<label>商品短评<i class="red">*</i>:</label>
[[if renderType=='edit']]
... ...
<div class="panel panel-default">
<div class="panel-heading">
<a class="netsale-position" href="javascript:;" name="position11"></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 id="brandWrap" class="panel-body">
<div class="form-group selected-brand" style="min-height: 60px;"></div>
<div id="brand-list" class="form-group brand-list"></div>
</div>
<div class="panel-footer">
<a id="saveBrandRelation" href="javascript:;" class="btn btn-primary">保存</a>
</div>
</div>
<script type="text/template" id="brandTemp">
[[each map as item index]]
<div class="form-group">
<div class="col-sm-1" style="text-align:center;">[[index]]</div>
<div class="col-sm-10">
[[each item as a index]]
<div class="col-sm-2">
<label style="width:80%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;cursor: pointer;">
<input name="brandRelationList" type="checkbox" value="[[a.id]]" data-name="[[a.brandName]]">
[[a.brandName]]
</label>
</div>
[[/each]]
</div>
</div>
[[/each]]
</script>
<script type="text/template" id="brandShowTemp">
<input id="brandRelationList" type="hidden" value="[[brandRelation]]" for="checkbox">
[[each brandRelationList as a index]]
<div class="col-sm-2" data-id="[[a.brandId]]">[[a.brandName]]</div>
[[/each]]
</script>
\ No newline at end of file
<div class="panel panel-primary">
<div class="panel-heading">
<a class="netsale-position" href="javascript:;" name="position8"></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">
<div class="form-group">
<label class="col-sm-1 control-label height40" for="searchKeys">商品关键词</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="searchKeys" required="required" />
</div>
<div class="height40" style="color: red;">每个关键词请用英文“,”隔开</div>
</div>
<div class="form-group" id="search-key-list">
<label class="col-sm-1 control-label height40">搜索热词:</label>
<div class="col-sm-6" id="search-key">
</div>
</div>
</div>
<div class="panel-footer">
<button class="btn btn-primary" id="save-searchKey">保存</button>
</div>
</div>
\ No newline at end of file
<div class="panel panel-default">
<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">
<h4>请上传视频</h4>
<div class="video-file-wrap">
</div>
</div>
<div class="panel-footer">
<a id="saveVideo" href="javascript:;" class="btn btn-primary">保存</a>
</div>
</div>
\ No newline at end of file