...
|
...
|
@@ -4,36 +4,59 @@ const { |
|
|
|
|
|
module.exports = {
|
|
|
[IOS_PRODUCT_DETAIL]: [
|
|
|
{op: 'YB_LAUNCH_APP', name: '启动app', single: true},
|
|
|
{op: 'YB_PAGE_ENTER', name: '第一次打开页面', equals: { PAGE_ID: 'sy' }},
|
|
|
{op: 'YB_PAGE_ENTER', name: '第一次打开页面2'},
|
|
|
{op: 'YB_PAGE_ENTER'},
|
|
|
{op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY1', types: {YH_AppChannelBlk: Array, 'YH_AppChannelBlk[0].SUBLIST': Array}},
|
|
|
{op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY2'},
|
|
|
{op: 'YB_ENTER_CHOICE'},
|
|
|
{op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY3'},
|
|
|
{op: 'YB_PAGE_EXIT', equals: { PAGE_ID: 'xbxzy' }},
|
|
|
{op: 'YB_PAGE_EXIT'},
|
|
|
{op: 'YB_CATEGORY'},
|
|
|
{op: 'YB_AUTO_TRACK'},
|
|
|
{op: 'YB_PAGE_EXIT', priority: 11},
|
|
|
{op: 'YB_CATEGORY_CLS_TAB', priority: 13},
|
|
|
{op: 'YB_PAGE_ENTER'},
|
|
|
{op: 'YB_SHOW_MAIN_RECOMMEND'},
|
|
|
{op: 'YB_CHOOSE_FOR_YOU'},
|
|
|
{op: 'YB_CATEGORY_CAT_FLR_C', priority: 12},
|
|
|
{op: 'YB_AUTO_TRACK'},
|
|
|
{op: 'YB_GOODS_LIST'},
|
|
|
{op: 'YB_SHOW_GOODS_LIST'},
|
|
|
{op: 'YB_PAGE_EXIT'},
|
|
|
{op: 'YB_PAGE_ENTER'},
|
|
|
{op: 'YB_GOODS_LIST_DT'},
|
|
|
{op: 'YB_AUTO_TRACK'},
|
|
|
{op: 'YB_GDS_DT_INFO'},
|
|
|
{op: 'YB_PAGE_ENTER'},
|
|
|
{op: 'YB_PAGE_EXIT', validate: (log) => {
|
|
|
return log.param.PAGE_ID === 'pl';
|
|
|
}},
|
|
|
{op: 'YB_CHOOSE_FOR_YOU'}
|
|
|
|
|
|
{ op: 'YB_PAGE_ENTER', name: '进入商品详情页', equals: { PAGE_ID: 'spxqy' } },
|
|
|
{
|
|
|
op: 'YB_GDS_DT_INFO', name: '请求商品数据成功', validate: (log) => {
|
|
|
return log.param.PRD_SKN.length > 0;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
op: 'YB_GDS_COLOR_C', name: '点击颜色(可以没有 如果只有一个颜色是不可点击的)', validate: (log) => {
|
|
|
return log.param.PRD_ID.length > 0 && log.param.COLOR.length > 0;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
op: 'YB_GDS_SIZE_C', name: '点击尺码(可以没有 如果只有一个尺码是不可点击的)', validate: (log) => {
|
|
|
return log.param.PRD_ID.length > 0 && log.param.SIZE.length > 0;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
op: 'YB_GDS_DT_SEL', name: '加入购物车', validate: (log) => {
|
|
|
return log.param.PRD_SKU > 0;
|
|
|
}
|
|
|
},
|
|
|
// {op: 'YB_LAUNCH_APP', name: '启动app', single: true},
|
|
|
// {op: 'YB_PAGE_ENTER', name: '第一次打开页面', equals: { PAGE_ID: 'sy' }},
|
|
|
// {op: 'YB_PAGE_ENTER', name: '第一次打开页面2'},
|
|
|
// {op: 'YB_HOME_CHANNEL_TAB_C', name: '自动选择了默认TAB SEGEMENT'},
|
|
|
// {op: 'YB_PAGE_ENTER'},
|
|
|
// {op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY1', types: {YH_AppChannelBlk: Array, 'YH_AppChannelBlk[0].SUBLIST': Array}},
|
|
|
// {op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY2'},
|
|
|
// {op: 'YB_ENTER_CHOICE'},
|
|
|
// {op: 'YB_SHOW_CATEGORY', name: 'YB_SHOW_CATEGORY3'},
|
|
|
// {op: 'YB_PAGE_EXIT', equals: { PAGE_ID: 'xbxzy' }},
|
|
|
// {op: 'YB_PAGE_EXIT'},
|
|
|
// {op: 'YB_CATEGORY'},
|
|
|
// {op: 'YB_AUTO_TRACK'},
|
|
|
// {op: 'YB_PAGE_EXIT', priority: 11},
|
|
|
// {op: 'YB_CATEGORY_CLS_TAB', priority: 13},
|
|
|
// {op: 'YB_PAGE_ENTER'},
|
|
|
// {op: 'YB_SHOW_MAIN_RECOMMEND'},
|
|
|
// {op: 'YB_CHOOSE_FOR_YOU'},
|
|
|
// {op: 'YB_CATEGORY_CAT_FLR_C', priority: 12},
|
|
|
// {op: 'YB_AUTO_TRACK'},
|
|
|
// {op: 'YB_GOODS_LIST'},
|
|
|
// {op: 'YB_SHOW_GOODS_LIST'},
|
|
|
// {op: 'YB_PAGE_EXIT'},
|
|
|
// {op: 'YB_PAGE_ENTER'},
|
|
|
// {op: 'YB_GOODS_LIST_DT'},
|
|
|
// {op: 'YB_AUTO_TRACK'},
|
|
|
// {op: 'YB_GDS_DT_INFO'},
|
|
|
// {op: 'YB_PAGE_ENTER'},
|
|
|
// {op: 'YB_PAGE_EXIT', validate: (log) => {
|
|
|
// return log.param.PAGE_ID === 'pl';
|
|
|
// }},
|
|
|
// {op: 'YB_CHOOSE_FOR_YOU'}
|
|
|
]
|
|
|
}; |
...
|
...
|
|