Authored by 王水玲

分期埋点修改

{{#if this}} {{!-- 剔除值为false的项 --}}
<div class="good-info {{#if @root.saleViplogin}}sale-vip{{/if}}" data-id="{{productSkn}}" data-bp-id="guang_goodList_{{productName}}_false">
<div class="good-info {{#if @root.saleViplogin}}sale-vip{{/if}}" data-good-id="{{productId}}" data-id="{{productSkn}}" data-bp-id="guang_goodList_{{productName}}_false">
<div class="tag-container clearfix">
{{# tags}}
{{# isNew}}
... ...
... ... @@ -184,7 +184,7 @@ gulp.task('webpack-dev-server', () => {
new WebpackDevServer(webpack(devConfig), {
contentBase: '.',
publicPath: '//localhost:5001/',
publicPath: 'http://localhost:5001/',
hot: true,
stats: {
colors: true
... ...
... ... @@ -21,7 +21,7 @@ function countGoodsId() {
idStr += ',';
}
idStr += $(item).data('id');
idStr += $(item).data('goodId');
});
return idStr;
... ...