Authored by yyq

change tab id-review by huangtao

... ... @@ -71,7 +71,7 @@ class ResourceShowYasRpter {
let tabParams = {};
tabParams.TAB_NAME = $('.guess-like-tab-active').parent().data('tab-name') || $('.guess-tab-active').parent().data('tab-name');
tabParams.TAB_ID = $('.guess-like-tab-active').parent().data('item-idx') + 1 || $('.guess-tab-active').parent().data('item-idx') + 1;
tabParams.TAB_ID = $('.guess-like-tab-active').parent().data('item-idx') || $('.guess-tab-active').parent().data('item-idx');
tabParams.P_PARAM = $('.guess-like-tab-active').parent().data('code') || $('.guess-tab-active').parent().data('code');
$('.templates').each((floorIndex, theFloor) => {
... ...
... ... @@ -380,7 +380,7 @@ class Group extends Page {
let tabName = $this.data('tab-name');
let params = {
TAB_ID: itemIdx + 1,
TAB_ID: itemIdx,
TAB_NAME: tabName || '',
...custom_params
};
... ... @@ -406,7 +406,7 @@ class Group extends Page {
F_INDEX: indexIdx + 1,
I_INDEX: itemIdx + 1,
ACTION_URL: '', // 拼团不传
TAB_ID: this.tabId + 1,
TAB_ID: this.tabId,
TAB_NAME: this.tabName,
P_PARAM: this.contentCode,
...custom_params
... ...