Authored by 徐祁xuqi

classify data

... ... @@ -216,7 +216,7 @@ function reMarginFooter(fixedElement) {
jsonData = {
page: bpIdArr[0],
floor: bpIdArr[1],
data: bpIdArr.slice(2).join('_') //防止值字符串中有_导致的问题
data: /_[1|0]$/.test(bpIdArr.join('_')) ? bpIdArr[2] : bpIdArr.slice(2).join('_') //防止值字符串中有_导致的问题
};
if (window._yas.sendCustomInfo) {
window._yas.sendCustomInfo(jsonData, Boolean(parseInt(bpIdArr[3]) || 1));
... ...
... ... @@ -3,8 +3,8 @@
<div class="filter-body">
<ul class="classify">
{{#each classify}}
<li class="buriedpoint classify-item{{#if @first}} active{{/if}}" data-bp-id="filter_classify_{{name}}_1">
<p class="shower{{#if default}} default{{/if}}">
<li class="classify-item{{#if @first}} active{{/if}}">
<p class="buriedpoint shower{{#if default}} default{{/if}}" data-bp-id="filter_classify_{{name}}_1">
<span class="title">{{title}}:</span>
{{name}}
</p>
... ...