Authored by xuhongyun

build

... ... @@ -254,10 +254,10 @@ webpackJsonp([46],[
if (item.maxSortName) {
sortName = item.maxSortName+"/"+sortName;
}
html += '<p><strong>名称:</strong><a target="_blank" href="' + item.productUrl + '">' + productName + '</a></p>';
html += '<p><strong>品牌:</strong>' + brandName + '</p>';
html += '<p><strong>类目:</strong>' + sortName + '</p>';
html += '<p><strong>店铺:</strong>' + item.shopName + '</p>';
html += '<strong>名称:</strong><a target="_blank" href="' + item.productUrl + '">' + productName + '</a></br>';
html += '<strong>品牌:</strong>' + brandName + '</br>';
html += '<strong>类目:</strong>' + sortName + '</br>';
html += '<strong>店铺:</strong>' + item.shopName + '</br>';
html += '<strong>经营模式:</strong>' + (item.sellType ? item.sellType : '');
return html;
}
... ... @@ -268,14 +268,14 @@ webpackJsonp([46],[
retailPrice = item.retailPrice ? item.retailPrice : '',
salesPrice = item.salesPrice ? item.salesPrice : '';
var html = '<p><strong>吊牌价:</strong>' + retailPrice + '</p>' +
'<p><strong>销售价:</strong>' + salesPrice + '</p>' +
'<p><strong>是否VIP:</strong>' + vip + '</p>';
var html = '<strong>吊牌价:</strong>' + retailPrice + '</br>' +
'<strong>销售价:</strong>' + salesPrice + '</br>' +
'<strong>是否VIP:</strong>' + vip + '</br>';
if (item.returnCoinMoney) {
html += "<p><strong>返yoho币金额:</strong>" + item.returnCoinMoney + "</p>";
html += "<strong>返yoho币金额:</strong>" + item.returnCoinMoney;
} else {
html += "<p><strong>返yoho币金额:</strong>0</p>";
html += "<strong>返yoho币金额:</strong>0";
}
return html;
}
... ... @@ -984,6 +984,10 @@ webpackJsonp([46],[
var dataObj = {}
dataObj.productSknList = JSON.stringify(SknList);
if ($('div[flag=true]').length > 0) {
return; // 如果已经加载,不能重复加载
}
common.util.__ajax({
url: '/basegoods/queryProductLabels',
data: dataObj
... ... @@ -992,10 +996,10 @@ webpackJsonp([46],[
$.each(res.data, function (i, value) {
var itemObj = $("div[data-skn=" + value.productSkn + "]");
if (ENUM.suppledFlag["" + value.suppledFlag]) {
itemObj.append(ENUM.suppledFlag["" + value.suppledFlag] + "</br>");
itemObj.append(ENUM.suppledFlag["" + value.suppledFlag]);
}
if (ENUM.traderFlag["" + value.traderFlag]) {
itemObj.append(ENUM.traderFlag["" + value.traderFlag] + "</br>");
itemObj.append("</br><div flag='true'>" + ENUM.traderFlag["" + value.traderFlag] + "</div>");
}// 量贩/非量贩 traderFlag 1 或者 0
// 支持货到付款/不支持货到付款 specialFlag
... ...