Authored by xuhongyun

build

... ... @@ -13365,8 +13365,6 @@ webpackJsonp([47],{
//var productParamMap = new StringMap();
var searchKeys = window.NETSALEDATA.productExtBo.searchKeys || "";
$("#searchKeys").val(searchKeys);
/*
* 基本信息value值转换
* @param: basicInfo(请求的要渲染的数据), obj(转换的对象)
... ... @@ -13395,6 +13393,7 @@ webpackJsonp([47],{
basicInfoData.expectArrivalTime =basicInfoData.expectArrivalTime? common.util.__dateFormat(new Date(basicInfoData.expectArrivalTime * 1000), "yyyy-MM-dd hh:mm:ss"):"";
basicInfoData.expectShelfTime =basicInfoData.expectShelfTime? common.util.__dateFormat(new Date(basicInfoData.expectShelfTime * 1000), "yyyy-MM-dd hh:mm:ss"):"";
basicInfoData.renderType = $('.contentpanel').data('type');
basicInfoData.searchKeys = searchKeys;
console.log('basic:' + JSON.stringify(basicInfoData));
... ... @@ -13413,7 +13412,7 @@ webpackJsonp([47],{
$("#isLimited").val(basicInfo.isLimited);
$("#isOutLets2").val(basicInfo.isOutLets);
$("#productName").val(basicInfo.productName);
$('#searchKeySpan').html(searchKeys);
$(":radio[name=seasons]").each(function(){
if(basicInfo.seasons!=null&&basicInfo.seasons!=undefined&&basicInfo.seasons!=''&&
basicInfo.seasons.indexOf($(this).val())>-1){
... ... @@ -13664,7 +13663,7 @@ webpackJsonp([47],{
item.__name = "attributeTable";
//console.log(item);
$('#goodsParamWrap4').append(common.util.__template2($('#template331').html(), item));
$('#productStandardRelationSelected').append(standardVal);
//$('#productStandardRelationSelected').append(standardVal);
return common.util.__template2($("#template33").html(), item);
}
}]),
... ... @@ -13713,6 +13712,7 @@ webpackJsonp([47],{
// -------------------------------搜索关键词start----------------------------------
$("#searchKeys").on('change', function() {
searchKeys = $("#searchKeys").val();
$('#searchKeySpan').html(searchKeys);
});
function saveNetSaleSearchKeys() {
... ... @@ -14908,17 +14908,20 @@ webpackJsonp([47],{
item.required = item.isMust == "Y" ? "required" : "";
var attrs = NETSALEDATA.productStandardRelationBoList;
var standardVal = '';
if (attrs) {
for (var i in attrs) {
if (attrs[i].standardId == item.attributeId) {
item.val = attrs[i].parameterMakeId;
item.__val = attrs[i].parameterMakeId;
standardVal += attrs[i].standardVal + ' - ';
}
}
}
item.__name = "attributeTable";
//console.log(item);
$('#productStandardRelationSelected').append(standardVal);
return common.util.__template2($("#template33").html(), item);
}
}]),
... ...
... ... @@ -57,22 +57,32 @@
</div>
[[if renderType=='edit']]
<div class="col-sm-12" style="color: red;padding: 0 0 0 85px;">建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,如此可增加商品在搜索页的展示。</div>
<div class="col-sm-12" style="padding: 0 0 0 140px;">建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,展示名称用于商品列表页、商品详情页页以及购物车页展示给用户浏览,不影响搜索</div>
[[/if]]
</div>
<div class="form-group">
<label class="col-sm-1">搜索商品名称:</label>
<div class="col-sm-11">
[[brandName]] - [[shopName]] - [[maxSortName]] - [[middleSortName]] - [[smallSortName]] - [[gender]]
<div style="font-size:15px; padding: 0px 0 10px 0px;">
[[brandName]] - [[shopName]] - [[maxSortName]] - [[middleSortName]] - [[smallSortName]] - [[gender]] - <span id="searchKeySpan" style="color:black; font-weight:bold; "></span> -
<span id="productStandardRelationSelected" style="color:black; font-weight:bold; "></span>
</div>
[[if renderType=='edit']]
<input id="searchKeys" class="form-control" placeholder="自定义内容" type="text" value="[[searchKeys]]" required maxlength="100">
[[else]]
<input id="searchKeys" class="form-control" placeholder="自定义内容" type="text" value="[[productExtBo.searchKeys]]" required maxlength="100">
[[/if]]
[[if renderType=='edit']]
<div class="col-sm-12" style="color:red; padding: 10px 0 0px 0px;">搜索名称用于使商品在搜索结果页搜索到,建议完善商品品牌品类以外的内容,提升商品被搜索到的机会</div>
[[/if]]
</div>
[[if renderType=='edit']]
<div class="col-sm-12" style="padding: 10px 0 5px 150px;">提示:禁用品牌品类词<span style="padding: 0 0 0 50px;"></span>示例:吴亦凡同款、明星走秀款、特殊材质工艺</div>
<div class="col-sm-12" style="padding: 0 0 0 150px;">商品标题与实际售卖商品信息一致、真实、规则详情可点击"滥发信息"学习相关规则</div>
<div class="col-sm-12" style="padding: 5px 0 0px 140px;">示例:吴亦凡同款、明星走秀款、特殊材质工艺<span style="padding: 0 0 50px 50px;">内容与实际售卖商品信息</span><span style="color:red; ">一致、真实。</span></div>
[[/if]]
</div>
... ...