Authored by QC-L

资源位上报

... ... @@ -3,12 +3,12 @@
<div class="guess-scroll">
{{#each data}}
{{#ifcond @index '==' 0}}
<div id="tab-{{@index}}" class="guess-tab first" data-query="{{queryString}}">
<div id="tab-{{@index}}" data-template-name="{{../template_name}}" data-tab-name="{{tab_name}}" data-template-id="{{../template_id}}" data-index="{{@index}}" data-index-idx="{{@../index}}" data-item-idx="{{@index}}" class="guess-tab first" data-query="{{queryString}}">
<img class="guess-img" src="{{image2 src w=200 h=160 q=60 mode=3}}" />
<div class=""></div>
</div>
{{^}}
<div id="tab-{{@index}}" data-index="{{@index}}" class="guess-tab" data-query="{{queryString}}">
<div id="tab-{{@index}}" data-template-name="{{../template_name}}" data-tab-name="{{tab_name}}" data-template-id="{{../template_id}}" data-index="{{@index}}" data-index-idx="{{@../index}}" data-item-idx="{{@index}}" class="guess-tab" data-query="{{queryString}}">
<img class="guess-img" src="{{image2 src w=200 h=160 q=60 mode=3}}" />
<div></div>
</div>
... ...
... ... @@ -230,7 +230,7 @@ class Group extends Page {
let params = {
F_ID: templateId,
F_NAME: templateName,
F_INDEX: indexIdx,
F_INDEX: indexIdx + 1,
I_INDEX: itemIdx + 1,
ACTION_URL: '', // 拼团不传
TAB_ID: '',
... ... @@ -271,6 +271,28 @@ class Group extends Page {
let queryObject = {};
let newNavType = this.judgeNavType(this.newFilterTab);
let newNav = this.newNavInfo[newNavType];
let templateName = $this.data('template-name');
let templateId = $this.data('template-id');
let itemIdx = $this.data('item-idx');
let indexIdx = $this.data('index-idx');
let tabName = $this.data('tab-name');
let params = {
F_ID: templateId,
F_NAME: templateName,
F_INDEX: indexIdx + 1,
I_INDEX: itemIdx + 1,
ACTION_URL: '', // 拼团不传
TAB_ID: '',
TAB_NAME: tabName || '',
};
window._yas && window._yas.sendCustomInfo && window._yas.sendCustomInfo({
op: 'YB_GROUP_FLR_C',
appop: 'YB_GROUP_FLR_C',
param: JSON.stringify(params)
}, true);
query.forEach(item => {
queryObject = Object.assign(queryObject, item);
... ...